[Aptitude-devel] Bug#689238: aptitude calls localepurge even if the invocation installed no package(s)
Mark Caglienzi
mark.caglienzi at gmail.com
Sun Sep 30 18:55:41 BST 2012
Package: aptitude
Version: 0.6.8.1-2
Severity: normal
Dear Maintainer,
I have localepurge installed, and when I do something like:
# aptitude install $package
and the package name is misspelled, or if the package is already installed and
not upgradable (i.e. the installed version is the same as the repository
version), aptitude calls localepurge, which seems like a waste of time.
For example, assuming that python-sqlite is already installed:
# aptitude install python-sqlite
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB
Total disk space freed by localepurge: 0 KiB
I'm not 100% sure that it's a bug in aptitude instead of localepurge,
please excuse me if I'm pointing in the wrong direction.
If I use apt-get instead of aptitude, the behaviour is different: no
localepurge invocation.
Best regards,
Mark
-- Package-specific info:
Terminal: rxvt-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.6.8.1 compiled at Sep 25 2012 15:27:00
Compiler: g++ 4.7.1
Compiled against:
apt version 4.12.0
NCurses version 5.9
libsigc++ version: 2.2.10
Ept support enabled.
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 5.9.20110404
cwidget version: 0.5.16
Apt version: 4.12.0
aptitude linkage:
linux-gate.so.1 => (0xb7796000)
libapt-pkg.so.4.12 => /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12 (0xb7213000)
libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb71e0000)
libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb71bf000)
libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xb71ba000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb70ba000)
libept.so.1.aptpkg4.12 => /usr/lib/libept.so.1.aptpkg4.12 (0xb7027000)
libxapian.so.22 => /usr/lib/sse2/libxapian.so.22 (0xb6e3e000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6e24000)
libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb6d73000)
libboost_iostreams.so.1.49.0 => /usr/lib/libboost_iostreams.so.1.49.0 (0xb6d5b000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6d42000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6c56000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6c2f000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6c12000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb6ab5000)
libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xb6ab1000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb6aad000)
libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb6a9b000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb6a95000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb6a8c000)
/lib/ld-linux.so.2 (0xb7797000)
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii aptitude-common 0.6.8.1-2
ii libapt-pkg4.12 0.9.7.4
ii libboost-iostreams1.49.0 1.49.0-3.1
ii libc6 2.13-35
ii libcwidget3 0.5.16-3.4
ii libept1.4.12 1.0.9
ii libgcc1 1:4.7.1-7
ii libncursesw5 5.9-10
ii libsigc++-2.0-0c2a 2.2.10-0.2
ii libsqlite3-0 3.7.13-1
ii libstdc++6 4.7.1-7
ii libtinfo5 5.9-10
ii libxapian22 1.2.12-1
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages aptitude recommends:
ii apt-xapian-index 0.45
pn aptitude-doc-en | aptitude-doc <none>
ii libparse-debianchangelog-perl 1.2.0-1
ii sensible-utils 0.0.7
Versions of packages aptitude suggests:
ii debtags 1.10.1
ii tasksel 3.12
-- no debconf information
--
. ''`. | GPG Public Key : 0xCD542422 - Download it from http://is.gd/fOa7Vm
: :' : | GPG Fingerprint : 0823 A40D F31B 67A8 5621 AD32 E293 A2EB CD54 2422
`. `'` | Powered by Debian GNU/Linux, http://www.debian.org
`- | Try not. Do, or do not. There is no try. - Master Yoda, TESB.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20120930/e88236eb/attachment.pgp>
More information about the Aptitude-devel
mailing list