![]() |
2010-02-16
, 15:22
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#2
|
Hi, I was trying to free some space in rootfs, so I followed this page of the wiki, and finally ran the script I copied/pasted in my N900.
I got this :
Can anyone help me understand what I did wrong, or/and how to fix that ? My first guess would be to reflash the N900, but maybe someone has a cleaner way.Code:/home/user # ./move.sh cp: cannot create directory '/home/opt/var/cache/apt/archives': No such file or directory cp: cannot create directory '/home/opt/var/cache/apt/pkgcache.bin': Path does not exist cp: cannot create directory '/home/opt/var/cache/apt/srcpkgcache.bin': Path does not exist /home/user # apt-get update E: Archive directory /var/cache/apt/archives/partial is missing. /home/user # apt-get clean E: Could not open lock file /var/cache/apt/archives/lock - open (2 No such file or directory) E: Unable to lock the download directory
mkdir -p /home/opt/var/cache/apt/archives/partial touch /var/cache/apt/archives/lock apt-get update
The Following User Says Thank You to Rob1n For This Useful Post: | ||
![]() |
2010-02-16
, 15:35
|
Posts: 139 |
Thanked: 32 times |
Joined on May 2008
@ France
|
#3
|
![]() |
2010-02-16
, 15:42
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#4
|
The Following 4 Users Say Thank You to Rob1n For This Useful Post: | ||
![]() |
2010-02-16
, 17:27
|
Posts: 41 |
Thanked: 23 times |
Joined on Jan 2010
|
#5
|
E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory)
E: Unable to lock the list directory
![]() |
2010-02-16
, 18:26
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#6
|
daaaamn
i did something wrong... i did the same thing with choubbi. even after i followed Rob1n's code, i have the following problem:
ls -l /var/lib /var/lib/apt /var/lib/apt/lists /home/opt/var/lib/apt
The Following User Says Thank You to Rob1n For This Useful Post: | ||
![]() |
2010-02-18
, 19:01
|
Posts: 20 |
Thanked: 2 times |
Joined on Feb 2010
@ UK, Birmingham
|
#7
|
![]() |
2010-02-18
, 19:03
|
Posts: 20 |
Thanked: 2 times |
Joined on Feb 2010
@ UK, Birmingham
|
#8
|
![]() |
2010-02-18
, 19:07
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#9
|
Hey Rob1n thanks for the script. It worked for me but somehow did not free any rootfs space. Any idea on why that could be?
Also I've been looking around on other ways to free some space and it looks like some D-level apps are the problem. I couldn't find one but Is there any page available that shows a list of programs, which use a lot of rootfs space so I could just remove them?
The Following User Says Thank You to Rob1n For This Useful Post: | ||
![]() |
2010-02-18
, 19:24
|
Posts: 20 |
Thanked: 2 times |
Joined on Feb 2010
@ UK, Birmingham
|
#10
|
I got this :
DON'T RUN THIS SCRIPT, IT IS WRONG
Last edited by choubbi; 2010-02-16 at 16:17. Reason: title edition