aptitude install removed the gdm package. Why?

If none of the more specific forums is the right place to ask

aptitude install removed the gdm package. Why?

Postby bgoodr » 2008-10-04 18:22

I used the aptitude command to install development packages with the intent of compiling Emacs from source. I used an aptitude command as documented at Emacs Xft Prerequisites, which reads:
A GNOME emacs from cvs for Debian:

$ sudo aptitude install build-essential gnome-dev libxpm-dev libgif-dev libtiff-dev libjpeg-dev libgtk2.0-dev

I had to change "gnome-dev" to "gnome-devel" because gnome-dev does not exist. There were a whole slew of packages that aptitude thought it had to remove. There were so many that I didn't see that the gdm package was one of them. Kinda hard to start X without GDM or some replacement for it. ;)

But I want to know why aptitude thought it had to remove gdm and a bunch of other Gnome packages.

Below is the contents of the /var/log/aptitude.1.gz file as of yesterday when I made the above "mistake". What does "NOT USED" mean? Of course I use gdm everyday to login:
Code: Select all
Aptitude 0.4.11.8: log report
Fri, Oct  3 2008 18:39:56 -0700

IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.

Will install 166 packages, and remove 95 packages.
42.5MB of disk space will be used
===============================================================================
[REMOVE, NOT USED] cupsys-common
[REMOVE, NOT USED] discover1-data
[REMOVE, NOT USED] dmz-cursor-theme
[REMOVE, NOT USED] eog
[REMOVE, NOT USED] esound
[REMOVE, NOT USED] file-roller
[REMOVE, NOT USED] gcalctool
[REMOVE, NOT USED] gcc-3.4-base
[REMOVE, NOT USED] gconf-editor
[REMOVE, NOT USED] gdm
[REMOVE, NOT USED] gedit
[REMOVE, NOT USED] gedit-common
[REMOVE, NOT USED] ggzcore-bin
[REMOVE, NOT USED] gnome-backgrounds
[REMOVE, NOT USED] gnome-cards-data
[REMOVE, NOT USED] gnome-games
[REMOVE, NOT USED] gnome-games-data
[REMOVE, NOT USED] gnome-keyring-manager
[REMOVE, NOT USED] gnome-nettool
[REMOVE, NOT USED] gnome-system-tools
[REMOVE, NOT USED] gnome-themes
[REMOVE, NOT USED] gnuchess
[REMOVE, NOT USED] gnuchess-book
[REMOVE, NOT USED] gs-common
[REMOVE, NOT USED] gtkhtml3.8
[REMOVE, NOT USED] gucharmap
[REMOVE, NOT USED] guile-1.8-libs
[REMOVE, NOT USED] industrial-cursor-theme
[REMOVE, NOT USED] iputils-arping
[REMOVE, NOT USED] libavahi-core4
[REMOVE, NOT USED] libavcodec0d
[REMOVE, NOT USED] libcamel1.2-8
[REMOVE, NOT USED] libcdio6
[REMOVE, NOT USED] libcurl3
[REMOVE, NOT USED] libdirectfb-0.9-25
[REMOVE, NOT USED] libdmx1
[REMOVE, NOT USED] libebook1.2-5
[REMOVE, NOT USED] libecal1.2-6
[REMOVE, NOT USED] libedata-cal1.2-5
[REMOVE, NOT USED] libedataserver1.2-7
[REMOVE, NOT USED] libedataserverui1.2-6
[REMOVE, NOT USED] libeel2-2.14
[REMOVE, NOT USED] libegroupwise1.2-10
[REMOVE, NOT USED] libflac7
[REMOVE, NOT USED] libgail17
[REMOVE, NOT USED] libgda2-3
[REMOVE, NOT USED] libgda2-common
[REMOVE, NOT USED] libggz2
[REMOVE, NOT USED] libggzcore9
[REMOVE, NOT USED] libggzmod4
[REMOVE, NOT USED] libgksu1.2-0
[REMOVE, NOT USED] libgksuui1.0-1
[REMOVE, NOT USED] libgnomevfs2-bin
[REMOVE, NOT USED] libgpod0
[REMOVE, NOT USED] libgtkhtml3.8-15
[REMOVE, NOT USED] libgucharmap4
[REMOVE, NOT USED] libgutenprintui2-1
[REMOVE, NOT USED] libicu36
[REMOVE, NOT USED] libiw28
[REMOVE, NOT USED] libmdbtools
[REMOVE, NOT USED] libmozjs0d
[REMOVE, NOT USED] libmyspell3c2
[REMOVE, NOT USED] libnautilus-burn3
[REMOVE, NOT USED] libneon25
[REMOVE, NOT USED] libnss3-0d
[REMOVE, NOT USED] libparted1.7-1
[REMOVE, NOT USED] libpisync0
[REMOVE, NOT USED] libpoppler0c2
[REMOVE, NOT USED] libpoppler0c2-glib
[REMOVE, NOT USED] libportaudio0
[REMOVE, NOT USED] libpostproc0d
[REMOVE, NOT USED] libservlet2.3-java
[REMOVE, NOT USED] libsnmp9
[REMOVE, NOT USED] libsoup2.2-8
[REMOVE, NOT USED] libstlport4.6c2
[REMOVE, NOT USED] libtotem-plparser1
[REMOVE, NOT USED] libwnck18
[REMOVE, NOT USED] libxklavier10
[REMOVE, NOT USED] libxt-java
[REMOVE, NOT USED] libxul-common
[REMOVE, NOT USED] libxul0d
[REMOVE, NOT USED] liferea-xulrunner
[REMOVE, NOT USED] mkisofs
[REMOVE, NOT USED] ncompress
[REMOVE, NOT USED] python2.4
[REMOVE, NOT USED] python2.4-minimal
[REMOVE, NOT USED] refblas3
[REMOVE, NOT USED] ttf-opensymbol
[REMOVE, NOT USED] type-handling
[REMOVE, NOT USED] unace
[REMOVE, NOT USED] vino
[REMOVE, NOT USED] xserver-xephyr
[REMOVE, NOT USED] xulrunner-gnome-support
[REMOVE, NOT USED] zenity
[REMOVE, NOT USED] zip
[INSTALL, DEPENDENCIES] accerciser
[INSTALL, DEPENDENCIES] anjuta
[INSTALL, DEPENDENCIES] anjuta-common
[INSTALL, DEPENDENCIES] at-spi
[INSTALL, DEPENDENCIES] autoconf
[INSTALL, DEPENDENCIES] autogen
[INSTALL, DEPENDENCIES] automake
[INSTALL, DEPENDENCIES] autotools-dev
[INSTALL, DEPENDENCIES] check
[INSTALL, DEPENDENCIES] devhelp
[INSTALL, DEPENDENCIES] devhelp-common
[INSTALL, DEPENDENCIES] docbook
[INSTALL, DEPENDENCIES] docbook-dsssl
[INSTALL, DEPENDENCIES] docbook-to-man
[INSTALL, DEPENDENCIES] docbook-xsl
[INSTALL, DEPENDENCIES] docbook-xsl-doc-html
[INSTALL, DEPENDENCIES] espeak
[INSTALL, DEPENDENCIES] espeak-data
[INSTALL, DEPENDENCIES] exuberant-ctags
[INSTALL, DEPENDENCIES] festival
[INSTALL, DEPENDENCIES] festlex-cmu
[INSTALL, DEPENDENCIES] festlex-poslex
[INSTALL, DEPENDENCIES] festvox-kallpc16k
[INSTALL, DEPENDENCIES] glade
[INSTALL, DEPENDENCIES] glade-gnome
[INSTALL, DEPENDENCIES] gnome-common
[INSTALL, DEPENDENCIES] gnome-core-devel
[INSTALL, DEPENDENCIES] gnome-devel-docs
[INSTALL, DEPENDENCIES] gtk-doc-tools
[INSTALL, DEPENDENCIES] gtranslator
[INSTALL, DEPENDENCIES] indent
[INSTALL, DEPENDENCIES] intltool
[INSTALL, DEPENDENCIES] ipython
[INSTALL, DEPENDENCIES] jade
[INSTALL, DEPENDENCIES] libart-2.0-dev
[INSTALL, DEPENDENCIES] libatk1.0-dev
[INSTALL, DEPENDENCIES] libatk1.0-doc
[INSTALL, DEPENDENCIES] libatspi-dev
[INSTALL, DEPENDENCIES] libaudiofile-dev
[INSTALL, DEPENDENCIES] libavahi-client-dev
[INSTALL, DEPENDENCIES] libavahi-common-dev
[INSTALL, DEPENDENCIES] libavahi-glib-dev
[INSTALL, DEPENDENCIES] libbonobo2-dev
[INSTALL, DEPENDENCIES] libbonoboui2-dev
[INSTALL, DEPENDENCIES] libcairo2-dev
[INSTALL, DEPENDENCIES] libcamel1.2-dev
[INSTALL, DEPENDENCIES] libdbus-1-dev
[INSTALL, DEPENDENCIES] libdbus-glib-1-dev
[INSTALL, DEPENDENCIES] libdevhelp-1-0
[INSTALL, DEPENDENCIES] libedataserver1.2-dev
[INSTALL, DEPENDENCIES] libeel2-dev
[INSTALL, DEPENDENCIES] libesd0-dev
[INSTALL, DEPENDENCIES] libespeak1
[INSTALL, DEPENDENCIES] libestools1.2
[INSTALL, DEPENDENCIES] libexpat1-dev
[INSTALL, DEPENDENCIES] libffi-dev
[INSTALL, DEPENDENCIES] libfontconfig1-dev
[INSTALL, DEPENDENCIES] libfreetype6-dev
[INSTALL, DEPENDENCIES] libgail-dev
[INSTALL, DEPENDENCIES] libgail-gnome-dev
[INSTALL, DEPENDENCIES] libgbf-1-1
[INSTALL, DEPENDENCIES] libgbf-1-common
[INSTALL, DEPENDENCIES] libgbf-1-dev
[INSTALL, DEPENDENCIES] libgconf2-dev
[INSTALL, DEPENDENCIES] libgcrypt11-dev
[INSTALL, DEPENDENCIES] libgdl-1-dev
[INSTALL, DEPENDENCIES] libglade2-dev
[INSTALL, DEPENDENCIES] libgladeui-1-7
[INSTALL, DEPENDENCIES] libglib2.0-dev
[INSTALL, DEPENDENCIES] libglib2.0-doc
[INSTALL, DEPENDENCIES] libgnome-desktop-dev
[INSTALL, DEPENDENCIES] libgnome-keyring-dev
[INSTALL, DEPENDENCIES] libgnome-menu-dev
[INSTALL, DEPENDENCIES] libgnome-speech-dev
[INSTALL, DEPENDENCIES] libgnome-speech7
[INSTALL, DEPENDENCIES] libgnome2-dev
[INSTALL, DEPENDENCIES] libgnomecanvas2-dev
[INSTALL, DEPENDENCIES] libgnomekbd-dev
[INSTALL, DEPENDENCIES] libgnomekbdui-dev
[INSTALL, DEPENDENCIES] libgnomeprint2.2-dev
[INSTALL, DEPENDENCIES] libgnomeprintui2.2-dev
[INSTALL, DEPENDENCIES] libgnomeui-dev
[INSTALL, DEPENDENCIES] libgnomevfs2-dev
[INSTALL, DEPENDENCIES] libgnutls-dev
[INSTALL, DEPENDENCIES] libgpg-error-dev
[INSTALL, DEPENDENCIES] libgstreamer-plugins-base0.10-dev
[INSTALL, DEPENDENCIES] libgstreamer0.10-dev
[INSTALL, DEPENDENCIES] libgtk2.0-doc
[INSTALL, DEPENDENCIES] libgtkhtml3.14-dev
[INSTALL, DEPENDENCIES] libgtksourceview2.0-dev
[INSTALL, DEPENDENCIES] libgtop2-dev
[INSTALL, DEPENDENCIES] libgweather-dev
[INSTALL, DEPENDENCIES] libidl-dev
[INSTALL, DEPENDENCIES] libltdl3-dev
[INSTALL, DEPENDENCIES] libnautilus-extension-dev
[INSTALL, DEPENDENCIES] libncurses5-dev
[INSTALL, DEPENDENCIES] libnspr4-dev
[INSTALL, DEPENDENCIES] liboobs-1-dev
[INSTALL, DEPENDENCIES] libopts25
[INSTALL, DEPENDENCIES] libopts25-dev
[INSTALL, DEPENDENCIES] liborbit2-dev
[INSTALL, DEPENDENCIES] libostyle1c2
[INSTALL, DEPENDENCIES] libpanel-applet2-dev
[INSTALL, DEPENDENCIES] libpango1.0-dev
[INSTALL, DEPENDENCIES] libpango1.0-doc
[INSTALL, DEPENDENCIES] libpixman-1-dev
[INSTALL, DEPENDENCIES] libpng12-dev
[INSTALL, DEPENDENCIES] libpopt-dev
[INSTALL, DEPENDENCIES] libportaudio2
[INSTALL, DEPENDENCIES] librsvg2-dev
[INSTALL, DEPENDENCIES] libselinux1-dev
[INSTALL, DEPENDENCIES] libsepol1-dev
[INSTALL, DEPENDENCIES] libsoup2.4-dev
[INSTALL, DEPENDENCIES] libsp1c2
[INSTALL, DEPENDENCIES] libstartup-notification0-dev
[INSTALL, DEPENDENCIES] libtasn1-3-dev
[INSTALL, DEPENDENCIES] libtiffxx0c2
[INSTALL, DEPENDENCIES] libtool
[INSTALL, DEPENDENCIES] libtotem-plparser-dev
[INSTALL, DEPENDENCIES] libvte-dev
[INSTALL, DEPENDENCIES] libwnck-dev
[INSTALL, DEPENDENCIES] libxcb-render-util0-dev
[INSTALL, DEPENDENCIES] libxcb-render0-dev
[INSTALL, DEPENDENCIES] libxcomposite-dev
[INSTALL, DEPENDENCIES] libxcursor-dev
[INSTALL, DEPENDENCIES] libxdamage-dev
[INSTALL, DEPENDENCIES] libxevie1
[INSTALL, DEPENDENCIES] libxfixes-dev
[INSTALL, DEPENDENCIES] libxft-dev
[INSTALL, DEPENDENCIES] libxi-dev
[INSTALL, DEPENDENCIES] libxinerama-dev
[INSTALL, DEPENDENCIES] libxklavier12-dev
[INSTALL, DEPENDENCIES] libxml2-dev
[INSTALL, DEPENDENCIES] libxrandr-dev
[INSTALL, DEPENDENCIES] libxrender-dev
[INSTALL, DEPENDENCIES] libxres-dev
[INSTALL, DEPENDENCIES] libxtst-dev
[INSTALL, DEPENDENCIES] openjade
[INSTALL, DEPENDENCIES] orbit2
[INSTALL, DEPENDENCIES] pkg-config
[INSTALL, DEPENDENCIES] python-dev
[INSTALL, DEPENDENCIES] python-gnome2-desktop-dev
[INSTALL, DEPENDENCIES] python-gnome2-dev
[INSTALL, DEPENDENCIES] python-gobject-dev
[INSTALL, DEPENDENCIES] python-gtk2-dev
[INSTALL, DEPENDENCIES] python-gtk2-doc
[INSTALL, DEPENDENCIES] python-pexpect
[INSTALL, DEPENDENCIES] python-pyatspi
[INSTALL, DEPENDENCIES] python-pyorbit-dev
[INSTALL, DEPENDENCIES] python2.5-dev
[INSTALL, DEPENDENCIES] sp
[INSTALL, DEPENDENCIES] x11proto-composite-dev
[INSTALL, DEPENDENCIES] x11proto-damage-dev
[INSTALL, DEPENDENCIES] x11proto-fixes-dev
[INSTALL, DEPENDENCIES] x11proto-randr-dev
[INSTALL, DEPENDENCIES] x11proto-record-dev
[INSTALL, DEPENDENCIES] x11proto-render-dev
[INSTALL, DEPENDENCIES] x11proto-resource-dev
[INSTALL, DEPENDENCIES] x11proto-xinerama-dev
[INSTALL, DEPENDENCIES] zlib1g-dev
[INSTALL] build-essential
[INSTALL] gnome-devel
[INSTALL] libgif-dev
[INSTALL] libgtk2.0-dev
[INSTALL] libjpeg62-dev
[INSTALL] libtiff4-dev
===============================================================================

Log complete.


Thanks,
bgoodr

P.S., I fixed this with
Code: Select all
apt-get install gnome
User avatar
bgoodr
 
Posts: 62
Joined: 2008-07-27 20:53

Postby rickh » 2008-10-04 18:46

If you mix aptitude and apt-get without a clue, you have problems.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
User avatar
rickh
 
Posts: 3475
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

Postby BioTube » 2008-10-04 18:56

Something had to be removed. The gnome metapackage depended on this something. Since you had a slew of packages installed simply to satisfy the depends of this metapackage, aptitude(in its infinite stupidity) removed them.

Solution: Remove aptitude.
Image
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.
User avatar
BioTube
 
Posts: 7551
Joined: 2007-06-01 04:34

Postby infinitycircuit » 2008-10-04 19:02

run aptitude keep-all before running an aptitude command if you normally use apt-get. The canonical approach is to simply not mix package managers--aptitude is much smarter, so just use it to begin with.

As seen from the log, aptitude didn't actually try to remove a metapackage but rather viewed the relevant pieces as unneeded. The reason why this is so is because the relevant packages are tagged as Recommended by your package manager.
I am currently a Debian Maintainer. I am also in the New Maintainers' Queue.
infinitycircuit
 
Posts: 1137
Joined: 2007-07-24 03:31
Location: California

Postby bgoodr » 2008-10-05 02:40

I normally use apt-get. Apparently, this is the first time I used aptitude, and yes, "without a clue". I assumed, obviously incorrectly, that all of the package managers were using the same baseline databases or config files. Silly me.

Since I started out using apt-get and am comfortable with it, I'll stick with that an not ever use aptitude.

Anyway, thanks for everyones help.

bgoodr
User avatar
bgoodr
 
Posts: 62
Joined: 2008-07-27 20:53

Postby rickh » 2008-10-05 02:48

When you do have a clue, you'll most likely move to Aptitude, but apt-get is fine for now. If you don't know what you're missing, you aren't bothered by it.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
User avatar
rickh
 
Posts: 3475
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

Postby Bulkley » 2008-10-05 02:57

When I first switched from apt-get to aptitude I had some of those goofy removals and equally goofy additions. It doesn't happen any more. There seems to be a learning curve after the switchover. I assume that there is a reason that Debian now recommends aptitude.
Bulkley
 
Posts: 3982
Joined: 2006-02-11 18:35

Postby BioTube » 2008-10-05 03:30

I wouldn't be too surprised if Rick wrote that recommendation in. aptitude sure shares his "screw the noobs" attitudes.
Image
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.
User avatar
BioTube
 
Posts: 7551
Joined: 2007-06-01 04:34

Postby n6yga » 2008-10-05 16:04

rickh wrote:If you mix aptitude and apt-get without a clue, you have problems.


Perhaps the proper thing to do here is: PROVIDE THE CLUE?

Hey, it couldn't hurt, right???

M.
n6yga
 
Posts: 80
Joined: 2008-04-29 18:05
Location: El Monte, CA

Postby BioTube » 2008-10-05 16:23

Mixing the two isn't a good idea in the first place. Generally it's done by aptitude users who want to skirt the ridiculous auto-autoremove bug.
Image
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.
User avatar
BioTube
 
Posts: 7551
Joined: 2007-06-01 04:34


Return to General Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable