[Aptitude-devel] Bug#497968: purge ~apurge must be written purge $(aptitude -F %p search ~apurge)

Nicolas Le Cam niko.lecam at gmail.com
Mon Jun 18 22:29:31 BST 2012


Package: aptitude
Version: 0.6.7-1
Followup-For: Bug #497968

Dear Maintainer,

Same goes for remove ~aremove and purge ~aremove :

$ aptitude search ~aremove
id  libnetpbm10                     - Graphics conversion tools shared libraries
id  netpbm                          - Graphics conversion tools between image fo
id  ufraw-batch                     - batch importer for raw camera images

$ sudo aptitude remove ~aremove
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
                                         
$ sudo aptitude purge ~aremove
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

$ sudo aptitude purge $(aptitude -F%p search ~aremove)
The following packages will be REMOVED:  
  libnetpbm10{p} netpbm{p} ufraw-batch{p} 
0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 4680 kB will be freed.
Do you want to continue? [Y/n/?] 
(Reading database ... 169589 files and directories currently installed.)
Removing netpbm ...
Removing libnetpbm10 ...
Purging configuration files for libnetpbm10 ...
Removing ufraw-batch ...
Processing triggers for man-db ...

--
Nicolas Le Cam

-- Package-specific info:
Terminal: xterm
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.6.7 compiled at May  5 2012 02:05:03
Compiler: g++ 4.6.3
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-vdso.so.1 =>  (0x00007fff33cd2000)
	libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007fc2f5fda000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007fc2f5daa000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fc2f5b80000)
	libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007fc2f597b000)
	libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007fc2f567b000)
	libept.so.1.0.5.4.12 => /usr/lib/libept.so.1.0.5.4.12 (0x00007fc2f5428000)
	libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007fc2f5042000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc2f4e2b000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fc2f4b7f000)
	libboost_iostreams.so.1.49.0 => /usr/lib/libboost_iostreams.so.1.49.0 (0x00007fc2f4966000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc2f474a000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc2f4442000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc2f41c0000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc2f3faa000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc2f3c22000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fc2f3a1f000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc2f381b000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fc2f360a000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fc2f3405000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc2f31fc000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc2f6969000)

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  libapt-pkg4.12            0.9.6
ii  libboost-iostreams1.49.0  1.49.0-3
ii  libc6                     2.13-33
ii  libcwidget3               0.5.16-3.3
ii  libept1.4.12              1.0.6.1
ii  libgcc1                   1:4.7.0-8
ii  libncursesw5              5.9-8
ii  libsigc++-2.0-0c2a        2.2.10-0.1
ii  libsqlite3-0              3.7.12.1-1
ii  libstdc++6                4.7.0-8
ii  libtinfo5                 5.9-8
ii  libxapian22               1.2.10-2
ii  zlib1g                    1:1.2.7.dfsg-11

Versions of packages aptitude recommends:
ii  apt-xapian-index                0.45
ii  aptitude-doc-en [aptitude-doc]  0.6.7-1
ii  aptitude-doc-fr [aptitude-doc]  0.6.7-1
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.7

Versions of packages aptitude suggests:
pn  debtags  <none>
ii  tasksel  3.09

-- no debconf information





More information about the Aptitude-devel mailing list