The Following User Says Thank You to arne.anka For This Useful Post: | ||
|
2010-05-10
, 21:16
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#52
|
check if /var/lib/apt/lists/ exists and if so, recreate the lock file:
touch /var/lib/apt/lists/lock
df -h /
The Following User Says Thank You to Rob1n For This Useful Post: | ||
|
2010-05-11
, 01:46
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#53
|
check if /var/lib/apt/lists/ exists and if so, recreate the lock file:
touch /var/lib/apt/lists/lock
|
2010-05-11
, 01:50
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#54
|
$ df -h / Filesystem Size Used Available Use% Mounted On rootfs 227.9M 205.2M 18.4M 92% /
|
2010-05-11
, 12:32
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#55
|
Thanks for your input, Rob1n.....
Here's what I get:
Is this too little available space and could cause problems?Code:$ df -h / Filesystem Size Used Available Use% Mounted On rootfs 227.9M 205.2M 18.4M 92% /
Should I free up some space?
Thanks!
The Following User Says Thank You to Rob1n For This Useful Post: | ||
|
2010-05-11
, 13:41
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#56
|
That depends on what repositories you have enabled - for the default ones it should be okay, but with extras-testing and extras-devel I suspect it'll be rather low.
Anyway, from your other message, it appears you're missing the /var/lib/apt/lists/ directory, so I'd try just creating that (as root - "mkdir /var/lib/apt/lists") and seeing whether that fixes your issue or not. If it works okay, then just double-check the free rootfs space again after updating. Otherwise you'll most likely need to look into freeing up some space.
# apt-get update E: Lists directory /var/lib/apt/lists/partial is missing. E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
|
2010-05-11
, 14:19
|
|
Posts: 128 |
Thanked: 46 times |
Joined on Mar 2010
@ Switzerland
|
#57
|
The Following User Says Thank You to manvik60 For This Useful Post: | ||
|
2010-05-11
, 17:31
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#58
|
If the /var/lib/apt/lists/partial does not exits, try recreating it as root
mkdir -p /var/lib/apt/lists/partial
and then
apt-get update
|
2010-05-12
, 00:10
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#59
|
List of big and rarely used files
You can't just delete these files, this is just a list with ideas! You have to know what you are going to do with them (optify, backup+remove, etc.).
/usr/lib/locale/locale-archive (28 MB)
/usr/share/locale (10 MB, but you have to keep at least the one language you use)
/usr/share/themes/alpha and /beta (they use 5-6 MB each, keep the one you use)
/usr/share/fonts/arabic and /chinese (2,5 MB less for people who don't speak those two languages)
memr_ni_application_closed_no_resources
# dpkg-reconfigure locales
|
2010-06-03
, 02:58
|
Posts: 110 |
Thanked: 38 times |
Joined on Apr 2010
|
#60
|
The Following User Says Thank You to ceevee For This Useful Post: | ||
touch /var/lib/apt/lists/lock