Package: apt-get Version: apt 0.7.25.3ubuntu9.14 for i386 compiled on Aug 20 2012 22:40:11
It is great that apt-get finds dependent packages. Sometimes, in fact, I wish it would just install the recommended packages and state what additional commands I can now use. It is not good, however, that apt-get is so aggressive about uninstalling packages. That is, sometimes when you try to remove a package that is no longer needed, you cannot do so without apt-get stating it will remove many additional packages. Most recently this problem occurred because of the need to update some cups components. As I no longer have a printer connected to this computer, I do not need any printing capability. (Cups failed miserably anyway as I could not print anything after the upgrade to Ubuntu 10.04, but is another story.) Why have packages I do not need? If I decide to connect a printer to my computer, I can reinstall cups. --------------------------------------------------------- Event #1 I want to remove package libcups2 and apt-get wants to remove 236 packages including essentially everything that runs under the GUI such as firefox, evince, metacity, compiz, etc. (Of course, there are many other packages that I do not need to use that will be uninstalled as well.) Just because I do not want to print, does not mean that I do not want to use my computer? $ sudo apt-get remove libcups2 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: menu libtasn1-3-dev libkadm5clnt-mit7 libgpg-error-dev libnetwork-ipv4addr-perl comerr-dev libgcrypt11-dev ocaml-base-nox libgl2ps0 python-lxml gnumeric-common libkrb5-dev gnumeric-doc libgssrpc4 python-numpy libgnutls-dev krb5-multidev liboctave1 python-smbc libwmf-bin libntlm0 python-uniconvertor libkadm5srv-mit7 libnet-ipv6addr-perl libcanberra-pulse libkdb5-4 libgnome-vfs2.0-cil perlmagick wireshark-common octave-common Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: aisleriot alacarte apport-gtk apturl bleachbit brasero brltty-x11 celestia-gnome checkbox-gtk compiz compiz-gnome compiz-plugins computer-janitor-gtk dvipng eggcups eog evince evolution . . . xdg-user-dirs-gtk xsane xscreensaver-data xscreensaver-gl xul-ext-ubufox xulrunner-1.9.2 yelp zenity 0 upgraded, 0 newly installed, 236 to remove and 0 not upgraded. After this operation, 904MB disk space will be freed. Do you want to continue [Y/n]? n --------------------------------------------------------- Event #2 I want to remove a package, but I need to install extra packages ?????? I need to update other packages? sudo apt-get remove libcups2-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libtasn1-3-dev libcupscgi1 libkadm5clnt-mit7 libgpg-error-dev comerr-dev libgcrypt11-dev libcupsmime1 libgl2ps0 libkrb5-dev libgssrpc4 libcupsppdc1 pstoedit libgnutls-dev krb5-multidev liboctave1 libcupsdriver1 libkadm5srv-mit7 libkdb5-4 octave-common Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1 The following packages will be REMOVED: libcups2-dev libcupscgi1-dev libcupsdriver1-dev libcupsimage2-dev libcupsmime1-dev libcupsppdc1-dev libgnomecups1.0-dev The following packages will be upgraded: libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1 5 upgraded, 0 newly installed, 7 to remove and 1 not upgraded. Need to get 183kB of archives. After this operation, 2085kB disk space will be freed. Do you want to continue [Y/n]? Best regards P.S. The computer from which the e-mail was sent is not running linux. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

