Bug#769758: aptitude: autoclean reports zero cleaned size on armel
Control: reassign -1 src:apt Hello Alexander, APT deities, 2014-11-16 07:22 Alexander Galanin: Package: aptitude Version: 0.6.8.2-1 Severity: minor Steps to reproduce: # du -hs /var/cache/apt/archives/ 484M/var/cache/apt/archives # aptitude autoclean Del tzdata 2013i-0wheezy1 [0 B] Del dpkg-dev 1.16.13 [0 B] Del apache2.2-common 2.2.22-13+deb7u1 [0 B] [...]Del libdbus-1-dev 1.6.8-1+deb7u1 [0 B] Del multiarch-support 2.13-38+deb7u1 [0 B] Freed 0 B of disk space # du -hs /var/cache/apt/archives/ 219M/var/cache/apt/archives Directory size is decreased to 265M, but aptitude reports that 0 B was freed. The same version of aptitude on amd64 machine works well. aptitude autoclean uses SizeToStr() from apt's strutl.h file and the same basic code at least for a decade (the same for all architectures), so I am reassigning the bug report for their consideration, in the case that they know if there is/was some known problem under this architecture to explain that behaviour (please reassign back if you confirm that all is well within apt). I tried to reproduce it in an armel machine but was unable to set it up properly (do not own root on it). For reference, the relevant code from cmdline_clean.cc is: === class LogCleaner : public pkgArchiveCleaner { ... protected: virtual void Erase(const char *File,string Pkg,string Ver,struct stat St) { printf(_(Del %s %s [%sB]\n), Pkg.c_str(), Ver.c_str(), SizeToStr(St.st_size).c_str()); ... === Cheers. -- Manuel A. Fernandez Montecelo manuel.montez...@gmail.com
Bug#769758: aptitude: autoclean reports zero cleaned size on armel
Package: aptitude Version: 0.6.8.2-1 Severity: minor Steps to reproduce: # du -hs /var/cache/apt/archives/ 484M/var/cache/apt/archives # aptitude autoclean Del tzdata 2013i-0wheezy1 [0 B] Del dpkg-dev 1.16.13 [0 B] Del apache2.2-common 2.2.22-13+deb7u1 [0 B] Del libc6-dev 2.13-38+deb7u3 [0 B] Del libavutil51 6:0.8.15-1 [0 B] Del curl 7.26.0-1+wheezy8 [0 B] Del libcups2 1.5.3-5+deb7u1 [0 B] Del base-files 7.1wheezy5 [0 B] Del libgnutlsxx27 2.12.20-7 [0 B] Del cups-common 1.7.5-4 [0 B] Del libssl1.0.0 1.0.1e-2+deb7u11 [0 B] Del cups-common 1.7.4-4 [0 B] Del cups-server-common 1.7.1-5 [0 B] Del libavutil51 6:0.8.13-1 [0 B] Del apt 0.9.7.9+deb7u5 [0 B] Del libqpdf13 5.1.1-1 [0 B] Del wireshark-common 1.8.2-5wheezy10 [0 B] Del libdpkg-perl 1.16.13 [0 B] Del linux-image-3.2.0-4-kirkwood 3.2.57-3 [0 B] Del cups-common 1.7.1-7 [0 B] Del libcupscgi1 1.6.4-2 [0 B] Del cups-common 1.7.1-4 [0 B] Del dbus 1.6.8-1+deb7u3 [0 B] Del cups-server-common 1.7.4-1 [0 B] Del linux-libc-dev 3.2.60-1+deb7u3 [0 B] Del linux-libc-dev 3.2.57-3 [0 B] Del openssl 1.0.1e-2+deb7u4 [0 B] Del cups-common 1.6.4-2 [0 B] Del ddclient 3.8.1-1.1 [0 B] Del libcups2 1.7.1-2 [0 B] Del cups-bsd 1.7.1-12 [0 B] Del libdpkg-perl 1.16.14 [0 B] Del libfontembed1 1.0.34-3+b1 [0 B] Del libcupsimage2 1.7.1-12 [0 B] Del libssl1.0.0 1.0.1e-2+deb7u4 [0 B] Del libcups2 1.6.4-2 [0 B] Del libcupsppdc1 1.7.1-12 [0 B] Del libcupsmime1 1.7.1-4 [0 B] Del libmagic1 5.11-2+deb7u4 [0 B] Del apt-utils 0.9.7.9+deb7u4 [0 B] Del linux-image-3.2.0-4-kirkwood 3.2.57-3+deb7u2 [0 B] Del curl 7.26.0-1+wheezy9 [0 B] Del libcupsppdc1 1.7.1-10 [0 B] Del cups-server-common 1.7.1-7 [0 B] Del apt-utils 0.9.7.9+deb7u3 [0 B] Del libgnutls-dev 2.12.20-7 [0 B] Del libavutil51 6:0.8.10-1 [0 B] Del cups-common 1.7.2-1 [0 B] Del libcurl3 7.26.0-1+wheezy8 [0 B] Del tcllib 1.15-dfsg-2 [0 B] Del linux-libc-dev 3.2.57-3+deb7u2 [0 B] Del dpkg 1.16.14 [0 B] Del cups-common 1.7.4-1 [0 B] Del cups-common 1.7.5-5 [0 B] Del libcupsppdc1 1.6.4-2 [0 B] Del libapt-inst1.5 0.9.7.9+deb7u2 [0 B] Del libcups2 1.7.1-4 [0 B] Del libssl1.0.0 1.0.1e-2+deb7u1 [0 B] Del cups-server-common 1.7.1-10 [0 B] Del libcupsimage2 1.7.1-7 [0 B] Del cups-common 1.7.2-3 [0 B] Del apt 0.9.7.9+deb7u4 [0 B] Del libc6 2.13-38+deb7u3 [0 B] Del openssl 1.0.1e-2+deb7u6 [0 B] Del gpgv 1.4.12-7+deb7u4 [0 B] Del libdbus-1-3 1.6.8-1+deb7u3 [0 B] Del libcupscgi1 1.7.1-10 [0 B] Del cups-bsd 1.7.1-10 [0 B] Del locales 2.13-38+deb7u1 [0 B] Del libcupscgi1 1.7.1-5 [0 B] Del cups-common 1.7.1-12 [0 B] Del cups-bsd 1.6.4-2 [0 B] Del libcupsmime1 1.7.1-5 [0 B] Del locales 2.13-38+deb7u3 [0 B] Del libjbig-dev 2.0-2 [0 B] Del file 5.11-2+deb7u2 [0 B] Del libapt-inst1.5 0.9.7.9+deb7u4 [0 B] Del apache2-mpm-worker 2.2.22-13+deb7u2 [0 B] Del cups-server-common 1.7.3-6 [0 B] Del cups-server-common 1.7.1-2 [0 B] Del libcupscgi1 1.7.1-12 [0 B] Del libgnutls26 2.12.20-8 [0 B] Del libcupsmime1 1.7.1-7 [0 B] Del apt 0.9.7.9+deb7u2 [0 B] Del radicale 0.8-2 [0 B] Del libapt-inst1.5 0.9.7.9+deb7u3 [0 B] Del liblcms2-dev 2.2+git20110628-2.2 [0 B] Del cups-client 1.7.1-10 [0 B] Del mysql-common 5.5.35+dfsg-0+wheezy1 [0 B] Del libssl1.0.0 1.0.1e-2+deb7u3 [0 B] Del apache2-mpm-worker 2.2.22-13+deb7u1 [0 B] Del libapt-pkg4.12 0.9.7.9+deb7u4 [0 B] Del libkrb5-dev 1.10.1+dfsg-5+deb7u1 [0 B] Del libmagic1 5.11-2+deb7u1 [0 B] Del libavformat53 6:0.8.12-1 [0 B] Del libc-bin 2.13-38+deb7u1 [0 B] Del cups-client 1.7.1-7 [0 B] Del apache2-utils 2.2.22-13+deb7u1 [0 B] Del cups-server-common 1.7.1-12 [0 B] Del smbclient 2:3.6.6-6+deb7u3 [0 B] Del cups-common 1.7.1-5 [0 B] Del cups-bsd 1.7.1-2 [0 B] Del dpkg-dev 1.16.14 [0 B] Del libapt-pkg4.12 0.9.7.9+deb7u2 [0 B] Del cups-client 1.7.1-2 [0 B] Del cups-bsd 1.7.1-4 [0 B] Del libcupsimage2 1.6.4-2 [0 B] Del libcupsppdc1 1.7.1-4 [0 B] Del libavcodec53 6:0.8.13-1 [0 B] Del cups-bsd 1.7.1-7 [0 B] Del openssl 1.0.1e-2+deb7u7 [0 B] Del samba-tools 2:3.6.6-6+deb7u3 [0 B] Del file 5.11-2+deb7u1 [0 B] Del linux-libc-dev 3.2.57-3+deb7u1 [0 B] Del libcupsppdc1 1.7.1-7 [0 B] Del libcupsimage2-dev 1.5.3-5+deb7u1 [0 B] Del cups-server-common 1.7.2-1 [0 B] Del base-files 7.1wheezy6 [0 B] Del dpkg 1.16.13 [0 B] Del libapt-pkg4.12 0.9.7.9+deb7u5 [0 B] Del cups-common 1.7.3-6 [0 B] Del libavformat53 6:0.8.13-1 [0 B] Del libcurl3-gnutls 7.26.0-1+wheezy9 [0 B] Del libmagic1 5.11-2+deb7u2 [0 B] Del libmysqlclient18 5.5.37-0+wheezy1 [0 B] Del cups-common 1.7.5-1 [0 B] Del libjpeg62-turbo 1:1.3.1-8 [0 B] Del cups-client 1.6.4-2 [0 B] Del samba 2:3.6.6-6+deb7u3 [0 B] Del openssl 1.0.1e-2+deb7u11 [0 B] Del apt-utils 0.9.7.9+deb7u2 [0 B] Del libcupsimage2 1.7.1-4 [0 B] Del cups-server-common 1.7.5-4 [0 B] Del libcups2-dev 1.5.3-5+deb7u1 [0 B] Del cups-client 1.7.1-12 [0 B] Del libc6-dev 2.13-38+deb7u1 [0 B] Del cups-server-common 1.7.2-3 [0 B] Del base-files 7.1wheezy4 [0 B] Del libssl1.0.0 1.0.1e-2+deb7u10 [0 B] Del libcupsimage2 1.7.1-2 [0 B] Del mysql-common 5.5.37-0+wheezy1 [0 B] Del libcupsppdc1 1.7.1-5 [0 B] Del file