On Mon, Jun 16, 2014 at 05:59:20AM +1200, Chris Bannister wrote:
> Hi,
> 
> Does this seem necessary?
> 
> root@tal:~# apt-get clean
> root@tal:~# df -h
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/sda5        36G   34G  266M 100% /
> [...]
> root@tal:~# apt-get update
> Hit http://ftp.debian.org jessie InRelease
> Hit http://security.debian.org jessie/updates InRelease
> Hit http://ftp.debian.org jessie/main i386 Packages/DiffIndex
> Hit http://security.debian.org jessie/updates/main i386 Packages
> Hit http://ftp.debian.org jessie/contrib i386 Packages/DiffIndex
> Hit http://security.debian.org jessie/updates/contrib i386 Packages
> Hit http://ftp.debian.org jessie/non-free i386 Packages/DiffIndex
> Hit http://security.debian.org jessie/updates/non-free i386 Packages
> Hit http://ftp.debian.org jessie/contrib Translation-en/DiffIndex
> Hit http://security.debian.org jessie/updates/contrib Translation-en
> Hit http://ftp.debian.org jessie/main Translation-en/DiffIndex
> Hit http://security.debian.org jessie/updates/main Translation-en
> Hit http://security.debian.org jessie/updates/non-free Translation-en
> Hit http://ftp.debian.org jessie/non-free Translation-en/DiffIndex
> Reading package lists... Done
> root@tal:~# df -h
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/sda5        36G   34G  226M 100% /
> 
> BTW, an 'apt-get clean' followed by an 'apt-get upgrade' works fine.

Correction!, that is once the 'apt-get upgrade' has completed, and a
dist-upgrade is required:

root@tal:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer
required:
  libwxbase2.8-0 libwxgtk2.8-0
Use 'apt-get autoremove' to remove them.
  cclive dictionaries-common iceweasel libav-tools libavresample1
  libcurl3-gnutls libgnutls-openssl27 libldb1 libqt5core5a libqt5dbus5
  libqt5gui5 libqt5network5 libqt5widgets5 libquvi7 libsmbclient libssh2-1
  libswscale2 mpv mupdf mupdf-tools pokerth ruby ruby-debian ruby-xmlparser
  samba-libs wget
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
root@tal:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda5        36G   34G  226M 100% /
[...]
root@tal:~# apt-get clean
root@tal:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda5        36G   34G  266M 100% /

And yet the 'apt-get dist-upgrade' still proceeds Ok despite the
'apt-get clean'.

I suppose I shouldn't question the package management specifics, but it
seems as though it is storing info which isn't really required --
perhaps it is a safety net?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140615185037.GE13269@tal

Reply via email to