[Aptitude-devel] Bug#661188: Bug#661188: aptitude purge <package> recursively REMOVES BUT DOES NOT PURGE the unneeded dependencies of <package>

Georgiy Treyvus georgiytreyvus at gmail.com
Tue Feb 28 04:26:09 UTC 2012


@Shirish:
Maybe I'm just stupid, but I don't quite understand what you're trying to
say here. I realize English is not your native language but can you explain
your point more clearly?

@Daniel:

One thing I think that can be done is to modify the documentation to be
clearer about these things so that there are no surprises.

As for the issue of "aptitude purge evolution" lopping off half the system
yes I understand the price of the convenience of metapackages. The
documentation should warn people about that issue so there are no
surprises. So long as people know that the desktop components were
installed via the gnome package they'll understand what's safe and unsafe
to do. But frankly this behavior is also good in the sense that it lets you
cleanly install and remove and jump between entire desktop environments
instead of painfully removing and installing a bunch of components. If you
do want specific pieces of a desktop install simply install/remove those
components. Once you know the deal it's all good.

Things can however be made more flexible/convenient with package groups.
Just out of curiosity does APT have the notion of package groups because I
know that Pacman does? Read this to help clarify if needed.
https://wiki.archlinux.org/index.php/KDE_Packages

Maybe adding the concept of package groups to APT would help people.

Another thing is that maybe in the tasksel portion of the installer people
should be asked whether they want the desktop as a metapackage or a package
group? In all fairness this shouldn't be present in the automated install
so as not to confuse n00bs but perhaps in the normal/advanced install it
should be present. I have plenty of disk space but I'd love a clean
headache free way of removing evolution, epiphany, etc...

Speaking of the automated install it should not be in the advanced section
of the installation disk and should be more visible to n00bs...

Also though I understand your reasoning for the behavior of "aptitude
remove <package>" and "aptitude purge <package>" I really think remove
should remove recursively and purge should purge recursively. That's how it
works in Pacman when you add the -n or --nosave option.
http://www.archlinux.org/pacman/pacman.8.html

Also further experimentation has shown that
"aptitude remove <package>" == "apt-get remove <package> && apt-get
autoremove"
"aptitude purge <package>" == "apt-get purge <package> && apt-get
autoremove"

This equivalence is exact for say you have package A depending on B and C.
Say you have package D depending on E and F. Say you go:

aptitude install A D
apt-get remove A

B and C are still installed. Now say you go:

aptitude remove d

Not only are E and F removed as is expected by aptitude's recursive nature
but B and C are also. This unlike pacman's "pacman -Rs d" which will remove
e and f, but leave b and c untouched unless they are:
1. explicitly removed with "pacman -R B C"
2. removed by "pacman -Rs A" which will still work in spite of A being gone
3. by having "pacman -Ru" invoked. The -u option tells pacman to remove
orphaned packages making "pacman -Ru" the exact equivalent of "apt-get
autoremove". -Run == autopurge.

This isn't just a theory. I wrote the testAptitude.sh script that's
attached and redirected the output to the testAptitudeOutput.txt. The
latter is verbose but very illuminating in terms of proving what I said.

It would be nice if APT had a clean way of removing, removing recursively,
purging, purging recursively, any given package. And of course a separate
pacman -Ru type thing for cleaning up any messes which may possibly be left
over.

APT is not bad especially in comparison to the disgrace we call yum.
However there is room for more consistent predictable behavior and
pacmanesque improvements.


2012/2/27 shirish शिरीष <shirishag75 at gmail.com>

> some additions :-
>
> 2012/2/27 shirish शिरीष <shirishag75 at gmail.com>:
> > I too have been bitten by this in the past and do think what Daniel
> > has given as an answer is okish (although there should be some sort of
> > better way.) For my exchange see [0] . One of the things which I
> > didn't know to figure out how to produce a listing of such packages
> > using aptitude [1] which was shared by Daniel as well. As I have
>    purged all the packages which were removed haven't been able to test
>   out if dpkg -L (2) works on such packages as well or not.  George if you
> > have some packages whose configuration files are still it would be
> > nice if you could produce a listing of what you get. If you do get the
> > location of those files then a user could attempt at least to know
> > what they contain and perhaps judge (or not) whether it could be
> > useful now or latter.
> >
> > Another point to be kept at back of mind as well is over a period of
> > time a package could merge other packages in it or be split in one or
> > more packages, in the former the config files remaining the same
> > (while binary is removed) while at the latter more config files would
> > perhaps be added.
> >
> > I have a very vague sense of how aptitude does things so I might be
> > right (or not).
> >
> > I do hope however that my $0.02 does prove to be useful to you
> > otherwise simply disregard it.
> >
> > 0 -
> http://lists.alioth.debian.org/pipermail/aptitude-devel/2012-February/001945.html
> > 1 - aptitude search ?config-files
> > 2 - dpkg -L = -L|--listfiles <package> ...     List files `owned' by
> package(s).
> >
> > A healthy package displays something like this , a random e.g. :-
> >
> > $ dpkg -L fonts-gubbi
> > /.
> > /etc
> > /etc/fonts
> > /etc/fonts/conf.avail
> > /etc/fonts/conf.avail/65-0-fonts-gubbi.conf
> > /etc/fonts/conf.d
> > /usr
> > /usr/share
> > /usr/share/doc
> > /usr/share/doc/fonts-gubbi
> > /usr/share/doc/fonts-gubbi/changelog.gz
> > /usr/share/doc/fonts-gubbi/changelog.Debian.gz
> > /usr/share/doc/fonts-gubbi/copyright
> > /usr/share/fonts
> > /usr/share/fonts/truetype
> > /usr/share/fonts/truetype/Gubbi
> > /usr/share/fonts/truetype/Gubbi/Gubbi.ttf
> > /etc/fonts/conf.d/65-0-fonts-gubbi.conf
> >
>
>
> I did try it just now with a library which I know is no longer needed
> (although aptitude hasn't removed/purged it). This is on a Debian sid
> machine.
>
> $ aptitude search libgs?
> p   libgs-dev                                           - interpreter
> for the PostScript language and for PDF - Develop
> v   libgs-esp-dev                                       -
> i   libgs8                                              - The
> Ghostscript PostScript/PDF interpreter Library
> i A libgs9                                              - interpreter
> for the PostScript language and for PDF - Library
> i A libgs9-common                                       - interpreter
> for the PostScript language and for PDF - common
>
> Just extracted partial listing. It seems aptitude doesn't respect the
> wildcard '?' as it produces a whole listing but that I guess is
> another issue.
>
> See libgs8 :-
>
> $ aptitude show libgs8
> Package: libgs8
> State: installed
> Version: 8.71~dfsg2-9
> Priority: optional
> Section: libs
> Maintainer: Debian Printing Team <debian-printing at lists.debian.org>
> Uncompressed Size: 16.2 M
> Depends: libc6 (>= 2.7), libcomerr2 (>= 1.01), libcups2 (>= 1.4.0),
> libcupsimage2 (>= 1.4.0), libfontconfig1 (>=
>         2.8.0), libgcrypt11 (>= 1.4.2), libgnutls26 (>= 2.7.14-0),
> libgssapi-krb5-2 (>= 1.6.dfsg.2), libjasper1 (>=
>         1.900.1), libjbig2dec0, libjpeg62 (>= 6b1), libk5crypto3 (>=
> 1.6.dfsg.2), libkrb5-3 (>= 1.6.dfsg.2),
>         libpaper1, libpng12-0 (>= 1.2.13-4), libstdc++6 (>= 4.1.1),
> libtiff4, zlib1g (>= 1:1.1.4)
> Breaks: ghostscript (< 8.71~dfsg2-7)
> Replaces: ghostscript (< 8.71~dfsg2-7)
> Description: The Ghostscript PostScript/PDF interpreter Library
>  Ghostscript is used for PostScript/PDF preview and printing.  Usually
> as a back-end to a program such as ghostview, it
>  can display PostScript and PDF documents in an X11 environment.
>
>  This package provides the Ghostscript library which makes the
> facilities of Ghostscript available to applications.
> Homepage: http://www.ghostscript.com/
>
> Tags: implemented-in::c, role::shared-lib, use::printing,
> use::viewing, works-with-format::pdf,
>      works-with-format::postscript
>
> Looking at libgs9 now :-
>
> $ aptitude show libgs9
> Package: libgs9
> State: installed
> Automatically installed: yes
> Version: 9.05~dfsg-2
> Priority: optional
> Section: libs
> Maintainer: Debian Printing Team <debian-printing at lists.debian.org>
> Uncompressed Size: 10.4 M
> Depends: libc6 (>= 2.7), libcomerr2 (>= 1.01), libcups2 (>= 1.4.0),
> libcupsimage2 (>= 1.4.0), libfontconfig1 (>=
>         2.8.0), libfreetype6 (>= 2.2.1), libgcrypt11 (>= 1.4.5),
> libgnutls26 (>= 2.12.6.1-0), libgssapi-krb5-2 (>=
>         1.6.dfsg.2), libidn11 (>= 1.13), libijs-0.35 (>= 0.35),
> libjasper1, libjbig2dec0, libjpeg8 (>= 8c),
>         libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.6.dfsg.2),
> liblcms2-2, libpaper1, libpng12-0 (>= 1.2.13-4),
>         libstdc++6 (>= 4.1.1), libtiff4, zlib1g (>= 1:1.1.4),
> gs-cjk-resource, libgs9-common (= 9.05~dfsg-2)
> Description: interpreter for the PostScript language and for PDF - Library
>  GPL Ghostscript is used for PostScript/PDF preview and printing.
> Usually as a back-end to a program such as ghostview,
>  it can display PostScript and PDF documents in an X11 environment.
>
>  This package provides the Ghostscript library which makes the
> facilities of GPL Ghostscript available to applications.
> Homepage: http://www.ghostscript.com/
>
> Tags: role::shared-lib
>
> As can be seen both libraries seem to have the same function .
>
> $ sudo aptitude remove libgs8
> [sudo] password for shirish:
> The following packages will be REMOVED:
>   libgs8
> 0 packages upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
> Need to get 0 B of archives. After unpacking 16.2 MB will be freed.
> D000001: deferred_remove package libgs8
> D000001: checking dependencies for remove `libgs8'
> (Reading database ... 381580 files and directories currently installed.)
> Removing libgs8 ...
> D000001: removal_bulk package libgs8
> D000001: removal_bulk cleaning info directory
> D000001: removal_bulk purging? foundpostrm=1
> D000001: removal done
>
> Then I tried to see if any listing is/was possible :-
>
> $ dpkg -L libgs8
> Package `libgs8' does not contain any files (!)
>
> $ sudo aptitude purge libgs8
> The following packages will be REMOVED:
>   libgs8{p}
> 0 packages upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
> Need to get 0 B of archives. After unpacking 0 B will be used.
> Do you want to continue? [Y/n/?] Y
> D000001: deferred_remove package libgs8
> D000001: checking dependencies for remove `libgs8'
> (Reading database ... 381265 files and directories currently installed.)
> Removing libgs8 ...
> D000001: removal_bulk package libgs8
> D000001: removal_bulk purging? foundpostrm=1
> Purging configuration files for libgs8 ...
> D000001: removal_bulk purge done, removing list
> `/var/lib/dpkg/info/libgs8.list'
> D000001: removal_bulk purge done, removing postrm
> `/var/lib/dpkg/info/libgs8.postrm'
> D000001: removal done
>
> It seems there is/are configuration files which do get removed when
> you purged but it seems those are either not known by dpkg or there is
> some other way to find those out.
>
> As said before as well, sorry for the noise :)
> --
>           Regards,
>           Shirish Agarwal  शिरीष अग्रवाल
>   My quotes in this email licensed under CC 3.0
> http://creativecommons.org/licenses/by-nc/3.0/
> http://flossexperiences.wordpress.com
> 065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20120227/d64e134e/attachment.html>
-------------- next part --------------
Running: aptitude install --assume-yes byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following NEW packages will be installed:
  byobu python-newt{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/150 kB of archives. After unpacking 995 kB will be used.
Writing extended state information...
Preconfiguring packages ...
Selecting previously deselected package python-newt.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159067 files and directories currently installed.)
Unpacking python-newt (from .../python-newt_0.52.11-1_amd64.deb) ...
Selecting previously deselected package byobu.
Unpacking byobu (from .../byobu_2.80-1+squeeze1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up python-newt (0.52.11-1) ...
Processing triggers for python-central ...
Setting up byobu (2.80-1+squeeze1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude remove --assume-yes byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following packages will be REMOVED:
  byobu python-newt{u} 
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 995 kB will be freed.
Writing extended state information...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159189 files and directories currently installed.)
Removing byobu ...
Removing python-newt ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude install --assume-yes byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following NEW packages will be installed:
  byobu python-newt{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/150 kB of archives. After unpacking 995 kB will be used.
Writing extended state information...
Preconfiguring packages ...
Selecting previously deselected package python-newt.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159070 files and directories currently installed.)
Unpacking python-newt (from .../python-newt_0.52.11-1_amd64.deb) ...
Selecting previously deselected package byobu.
Unpacking byobu (from .../byobu_2.80-1+squeeze1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up python-newt (0.52.11-1) ...
Processing triggers for python-central ...
Setting up byobu (2.80-1+squeeze1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude remove --assume-yes --purge byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following packages will be REMOVED:
  byobu python-newt{pu} 
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 995 kB will be freed.
Writing extended state information...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159189 files and directories currently installed.)
Removing byobu ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159082 files and directories currently installed.)
Removing python-newt ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude install --assume-yes byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following NEW packages will be installed:
  byobu python-newt{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/150 kB of archives. After unpacking 995 kB will be used.
Writing extended state information...
Preconfiguring packages ...
Selecting previously deselected package python-newt.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159070 files and directories currently installed.)
Unpacking python-newt (from .../python-newt_0.52.11-1_amd64.deb) ...
Selecting previously deselected package byobu.
Unpacking byobu (from .../byobu_2.80-1+squeeze1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up python-newt (0.52.11-1) ...
Processing triggers for python-central ...
Setting up byobu (2.80-1+squeeze1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude purge --assume-yes byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following packages will be REMOVED:
  byobu{p} python-newt{u} 
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 995 kB will be freed.
Writing extended state information...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159189 files and directories currently installed.)
Removing byobu ...
Purging configuration files for byobu ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159079 files and directories currently installed.)
Removing python-newt ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude install --assume-yes byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following NEW packages will be installed:
  byobu python-newt{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/150 kB of archives. After unpacking 995 kB will be used.
Writing extended state information...
Preconfiguring packages ...
Selecting previously deselected package python-newt.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159067 files and directories currently installed.)
Unpacking python-newt (from .../python-newt_0.52.11-1_amd64.deb) ...
Selecting previously deselected package byobu.
Unpacking byobu (from .../byobu_2.80-1+squeeze1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up python-newt (0.52.11-1) ...
Processing triggers for python-central ...
Setting up byobu (2.80-1+squeeze1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude purge --assume-yes --purge byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following packages will be REMOVED:
  byobu{p} python-newt{pu} 
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 995 kB will be freed.
Writing extended state information...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159189 files and directories currently installed.)
Removing byobu ...
Purging configuration files for byobu ...
Removing python-newt ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude install --assume-yes ruby-full

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following NEW packages will be installed:
  libtcltk-ruby{a} libtcltk-ruby1.8{a} ri{a} ri1.8{a} ruby-elisp{a} 
  ruby-full ruby1.8-dev{a} ruby1.8-elisp{a} tk8.4{a} 
0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5,707 kB of archives. After unpacking 61.6 MB will be used.
Writing extended state information...
Selecting previously deselected package tk8.4.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 159067 files and directories currently installed.)
Unpacking tk8.4 (from .../tk8.4_8.4.19-4_amd64.deb) ...
Selecting previously deselected package libtcltk-ruby1.8.
Unpacking libtcltk-ruby1.8 (from .../libtcltk-ruby1.8_1.8.7.302-2squeeze1_amd64.deb) ...
Selecting previously deselected package libtcltk-ruby.
Unpacking libtcltk-ruby (from .../libtcltk-ruby_4.5_all.deb) ...
Selecting previously deselected package ri1.8.
Unpacking ri1.8 (from .../ri1.8_1.8.7.302-2squeeze1_all.deb) ...
Selecting previously deselected package ri.
Unpacking ri (from .../apt/archives/ri_4.5_all.deb) ...
Selecting previously deselected package ruby1.8-elisp.
Unpacking ruby1.8-elisp (from .../ruby1.8-elisp_1.8.7.302-2squeeze1_all.deb) ...
Selecting previously deselected package ruby-elisp.
Unpacking ruby-elisp (from .../ruby-elisp_4.5_all.deb) ...
Selecting previously deselected package ruby1.8-dev.
Unpacking ruby1.8-dev (from .../ruby1.8-dev_1.8.7.302-2squeeze1_amd64.deb) ...
Selecting previously deselected package ruby-full.
Unpacking ruby-full (from .../archives/ruby-full_4.5_all.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up tk8.4 (8.4.19-4) ...
update-alternatives: using /usr/bin/wish8.4 to provide /usr/bin/wish (wish) in auto mode.
Setting up libtcltk-ruby1.8 (1.8.7.302-2squeeze1) ...
Setting up libtcltk-ruby (4.5) ...
Setting up ri1.8 (1.8.7.302-2squeeze1) ...
Setting up ri (4.5) ...
Setting up ruby1.8-elisp (1.8.7.302-2squeeze1) ...
install/ruby1.8-elisp: Handling install for emacsen flavor emacs23
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50git-core.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...
Loading /etc/emacs/site-start.d/50ruby1.8-elisp.el (source)...
Wrote /usr/share/emacs23/site-lisp/ruby1.8-elisp/inf-ruby.elc
Wrote /usr/share/emacs23/site-lisp/ruby1.8-elisp/ruby-electric.elc
Wrote /usr/share/emacs23/site-lisp/ruby1.8-elisp/ruby-mode.elc
Wrote /usr/share/emacs23/site-lisp/ruby1.8-elisp/ruby-style.elc
Wrote /usr/share/emacs23/site-lisp/ruby1.8-elisp/rubydb2x.elc
Wrote /usr/share/emacs23/site-lisp/ruby1.8-elisp/rubydb3x.elc
Setting up ruby-elisp (4.5) ...
Setting up ruby1.8-dev (1.8.7.302-2squeeze1) ...
Setting up ruby-full (4.5) ...
Processing triggers for menu ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: aptitude install --assume-yes byobu

Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following NEW packages will be installed:
  byobu python-newt{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/150 kB of archives. After unpacking 995 kB will be used.
Writing extended state information...
Preconfiguring packages ...
Selecting previously deselected package python-newt.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 171764 files and directories currently installed.)
Unpacking python-newt (from .../python-newt_0.52.11-1_amd64.deb) ...
Selecting previously deselected package byobu.
Unpacking byobu (from .../byobu_2.80-1+squeeze1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up python-newt (0.52.11-1) ...
Processing triggers for python-central ...
Setting up byobu (2.80-1+squeeze1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...


Running: apt-get purge --assume-yes ruby-full

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ruby1.8-dev ruby-elisp libtcltk-ruby ri libtcltk-ruby1.8 ruby1.8-elisp tk8.4
  ri1.8
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  ruby-full*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 32.8 kB disk space will be freed.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 171886 files and directories currently installed.)
Removing ruby-full ...


Running: aptitude purge --assume-yes byobu
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...
The following packages will be REMOVED:
  byobu{p} libtcltk-ruby{u} libtcltk-ruby1.8{u} python-newt{u} ri{u} 
  ri1.8{u} ruby-elisp{u} ruby1.8-dev{u} ruby1.8-elisp{u} tk8.4{u} 
0 packages upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 62.5 MB will be freed.
Writing extended state information...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 171883 files and directories currently installed.)
Removing byobu ...
Purging configuration files for byobu ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 171773 files and directories currently installed.)
Removing libtcltk-ruby ...
Removing libtcltk-ruby1.8 ...
Removing python-newt ...
Removing ri ...
Removing ri1.8 ...
Removing ruby-elisp ...
Removing ruby1.8-dev ...
Removing ruby1.8-elisp ...
remove/ruby1.8-elisp: purging byte-compiled files for emacs23
Removing tk8.4 ...
update-alternatives: using /usr/bin/wish8.5 to provide /usr/bin/wish (wish) in auto mode.
Processing triggers for man-db ...
Processing triggers for menu ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Reading task descriptions...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testAptitude.sh
Type: application/x-sh
Size: 1243 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20120227/d64e134e/attachment.sh>


More information about the Aptitude-devel mailing list