Celejar wrote:
On Sat, 21 Feb 2009 17:34:09 -0800
"Michael M. Moore" <mich...@writemoore.net> wrote:

I thought I had this down by now, but I'm lost.

I am in the process of removing much of GNOME, so I removed gnome-desktop-environment, which also removed gnome-core, and a whole bunch of other things. I also removed evolution.

But I'm still left with a whole slew of automatically installed packages I don't want anymore, and I can't figure out how to identify why they are still installed. I thought the gconf2 package might be keeping them installed, but when I selected that for removal, several packages I want to keep (for example, quodlibet, which is not marked as automatically installed and does not depend gconf2) were also marked for deletion. I don't understand why that would be.

Maybe there is no "magic package" that is keeping these things installed and I just need to selectively remove them one-by-one, along with the packages that will break but that I don't want anymore. I just thought I might be missing something obvious about the best way to take care of getting rid of a bunch of automatically installed packages relatively quickly.

Any advice?

Try 'aptitude why some-package', and follow it up the chain of
packages.  If there's indeed one package keeping in a bunch of others,
you should encounter it fairly quickly.

Thanks. I haven't quite figured out what's going on, but this at least helps me find why I'm confused. Here's an example:

mcu...@debdesk:~$ aptitude why nautilus
i gdm Depends gnome-session | x-session-manager | x-window-manager | x-terminal-emulator i A gnome-session Recommends nautilus

So, if I'm understanding correctly, aptitude is telling me that nautilus is automatically installed because of gdm and gnome-session.

But here is what aptitude shows for nautilus:

mcu...@debdesk:~$ aptitude show nautilus
Package: nautilus
State: installed
Automatically installed: yes
Version: 2.20.0-7
Priority: optional
Section: gnome
Maintainer: Josselin Mouette <j...@debian.org>
Uncompressed Size: 1507k
Depends: libart-2.0-2 (>= 2.3.18), libatk1.0-0 (>= 1.20.0), libbonobo2-0 (>= 2.15.0), libc6 (>= 2.7-1), libcairo2 (>= 1.2.4), libeel2-2.20, libesd0 (>= 0.2.35) | libesd-alsa0 (>= 0.2.35), libexempi3, libexif12, libgail-common (>= 1.10.1), libgail18 (>= 1.10.1), libgconf2-4 (>= 2.13.5), libglade2-0 (>= 1:2.6.1), libglib2.0-0 (>= 2.16.0), libgnome-desktop-2 (>= 2.22.0), libgnome2-0 (>= 2.17.3), libgnomecanvas2-0 (>= 2.11.1), libgnomeui-0 (>= 2.17.1), libgnomevfs2-0 (>= 1:2.17.90), libgtk2.0-0 (>= 2.12.0), libnautilus-extension1 (>= 2.17.90), liborbit2 (>= 1:2.14.10), libpango1.0-0 (>= 1.20.3), librsvg2-2 (>= 2.18.1), libselinux1 (>= 2.0.59), libstartup-notification0 (>= 0.8-1), libtrackerclient0 (>= 0.6.2), libx11-6, libxml2 (>= 2.6.27), nautilus-data (>= 2.20), nautilus-data (< 2.21), shared-mime-info, gnome-control-center (>= 2.6), desktop-file-utils (>= 0.7) Recommends: desktop-base (>= 0.2), eject, nautilus-cd-burner (>= 2.6), librsvg2-common, libgnomevfs2-extra,
            app-install-data, synaptic
Suggests: eog, evince | pdf-viewer, totem | mp3-decoder, tracker, fam
Conflicts: libnautilus2-2, libnautilus2-dev
Replaces: libnautilus2-2
Provides: nautilus-extensions-1.0
Description: file manager and graphical shell for GNOME

No gdm, no gnome-session | x-session-manager | x-window-manager | x-terminal-emulator.

Here's gdm:

mcu...@debdesk:~$ aptitude show gdm
Package: gdm
State: installed
Automatically installed: no
Version: 2.20.7-4
Priority: optional
Section: gnome
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintain...@lists.alioth.debian.org>
Uncompressed Size: 15.4M
Depends: libart-2.0-2 (>= 2.3.18), libatk1.0-0 (>= 1.20.0), libattr1 (>= 2.4.41-1), libc6 (>= 2.7-1), libcairo2 (>= 1.2.4), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.71), libdmx1, libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libglade2-0 (>= 1:2.6.1), libglib2.0-0 (>= 2.16.0), libgnomecanvas2-0 (>= 2.11.1), libgtk2.0-0 (>= 2.12.0), libpam0g (>= 0.99.7.1), libpango1.0-0 (>= 1.20.3), librsvg2-2 (>= 2.18.1), libselinux1 (>= 2.0.59), libwrap0 (>= 7.6-4~), libx11-6, libxau6, libxdmcp6, libxext6, libxi6, libxinerama1, libxml2 (>= 2.6.27), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0, adduser, libpam-modules (>= 0.72-1), libpam-runtime (>= 0.76-13.1), gnome-session | x-session-manager | x-window-manager | x-terminal-emulator, gksu (>= 1.0.7),
         lsb-base (>= 3.2-14), librsvg2-common
Recommends: whiptail | dialog, zenity, gdm-themes, xserver-xephyr | xnest, xserver-xorg
Suggests: locales, pm-utils, libpam-gnome-keyring
Conflicts: fast-user-switch-applet (< 2.17.4), gnome-panel (< 2.19.2), gnome-screensaver (< 2.17.7), gnome-session (<
           2.19.2)
Provides: x-display-manager
Description: GNOME Display Manager

No nautilus.

If I try to remove nautilus:

mcu...@debdesk:~$ sudo aptitude -s purge nautilus
[sudo] password for mcubed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
  nautilus-cd-burner
The following packages will be REMOVED:
  nautilus{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 1507kB will be freed.
The following packages have unmet dependencies:
  nautilus-cd-burner: Depends: nautilus but it is not installable
The following actions will resolve these dependencies:

Remove the following packages:
nautilus-cd-burner

Leave the following dependencies unresolved:
gnome-session recommends nautilus
nautilus-data recommends nautilus
Score is -641

Accept this solution? [Y/n/q/?]
The following packages will be REMOVED:
  nautilus{p} nautilus-cd-burner{a}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 4502kB will be freed.

If I try to remove gnome-session:

mcu...@debdesk:~$ sudo aptitude -s purge gnome-session
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REMOVED:
  gnome-session{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 2105kB will be freed.
Do you want to continue? [Y/n/?] y
Would download/install/remove packages.

If I try to remove gdm:

mcu...@debdesk:~$ sudo aptitude -s purge gdm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REMOVED:
alacarte{u} app-install-data{u} bzip2{u} capplets-data{u} cdrdao{u} deskbar-applet{u} desktop-file-utils{u} evolution-data-server{u} evolution-data-server-common{u} gdm{p} gdm-themes{u} gnome-about{u} gnome-applets{u} gnome-applets-data{u} gnome-control-center{u} gnome-desktop-data{u} gnome-menus{u} gnome-netstatus-applet{u} gnome-panel{u} gnome-panel-data{u} gnome-session{u} gnome-settings-daemon{u} gnome-system-monitor{u} gnome-user-guide{u} gnome-utils{u} libao2{u} libapm1{u} libdmx1{u} libedata-book1.2-2{u} libedata-cal1.2-6{u} libedataserverui1.2-8{u} libegroupwise1.2-13{u} libexempi3{u} libgdata-google1.2-1{u} libgdata1.2-1{u} libgnome-window-settings1{u} libgnomekbd-common{u} libgnomekbd2{u} libgnomekbdui2{u} libgucharmap6{u} libgweather-common{u} libgweather1{u} libhtml-parser-perl{u} libhtml-tagset-perl{u} libhtml-tree-perl{u} libnet-dbus-perl{u} liboobs-1-4{u} libslab0{u} libtrackerclient0{u} liburi-perl{u} libwww-perl{u} libxklavier12{u} libxml-parser-perl{u} libxml-twig-perl{u} metacity{u} nautilus{u} nautilus-cd-burner{u}
  nautilus-data{u} python-gmenu{u} system-tools-backends{u} zenity{u}
0 packages upgraded, 0 newly installed, 61 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 214MB will be freed.
Do you want to continue? [Y/n/?]
Would download/install/remove packages.

Ok, so removing gdm would take care of nautilus and many other packages I would like to remove. including all the gnome packages, evolution-data-server, metacity, and so on. So why doesn't 'aptitude show nautilus' list gdm as a dependency? Or, if nautilus is not a dependency of gdm, then why is it automatically installed because of gdm? I still feel like I'm missing something.

The thing is I was planning on keeping gdm, though I guess I could switch to xdm, or do without a display manager. But gdm, according to aptitude, shouldn't require nautilus. It shouldn't even require gnome-session, just one of gnome-session | x-session-manager | x-window-manager | x-terminal-emulator. I have Openbox and xterm installed, so I should be covered there, right?

I guess gdm is the closest thing I can find to my "magic package." It just happens to be one I wasn't going to remove.

--
Michael M.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to