![]() |
2010-01-08
, 00:56
|
Posts: 236 |
Thanked: 223 times |
Joined on Oct 2009
@ NE UK
|
#2
|
# du -sh /var/lib/dpkg/info/
23.6M /var/lib/dpkg/info
~# du -sh /var/lib/apt/lists/
15.5M /var/lib/apt/lists
~#
![]() |
2010-01-08
, 01:08
|
Posts: 207 |
Thanked: 119 times |
Joined on Nov 2009
@ Pittsburgh, PA, USA
|
#3
|
1. install "rootsh"
2. open x-term
3. type "sudo gainroot"
4. "mkdir /opt/var"
5. "mkdir /opt/var/lib"
6. "cd /var/lib"
7. "cp -a apt /opt/var/lib/"
8. "cp -a dpkg /opt/var/lib/"
9. "rm -R apt"
10. "rm -R dpkg"
11. "ln -s /opt/var/lib/apt apt"
12. "ln -s /opt/var/lib/dpkg dpkg"
![]() |
2010-01-08
, 01:27
|
Posts: 236 |
Thanked: 223 times |
Joined on Oct 2009
@ NE UK
|
#4
|
~# ls -ld /var/lib/dpkg /var/lib/apt
lrwxrwxrwx 1 root root 25 Dec 14 23:28 /var/lib/apt -> /home/reclaim/var/lib/apt
lrwxrwxrwx 1 root root 26 Dec 14 23:29 /var/lib/dpkg -> /home/reclaim/var/lib/dpkg
~# cp -a /usr/lib/python2.5 /home/reclaim/usr/lib/python2.5
~# mv /usr/lib/python2.5 /usr/lib/python2.5_reclaimed \
&& ln -s /home/reclaim/usr/lib/python2.5/ /usr/lib/python2.5
<test something>
~# rm -rf /usr/lib/python2.5_reclaimed/
Anyone else noticed that just the process of enabling the Extras-Testing and Extras-Devel repositories takes up 14MB of their root file system space?
If I disable these two repositories I find my free space is 72MB - just simply enable these in the application manager and free space drops down to 58MB.
I assume that there is some sort of cache being enabled in the application manager but it would seem strange that this is not neing done in the 2GB partition.