LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Aptitude want to remove packages (https://www.linuxquestions.org/questions/debian-26/aptitude-want-to-remove-packages-602115/)

pliqui 11-24-2007 11:57 AM

Aptitude want to remove packages
 
Hello all. I'm running Debian amd64 which i just recently installed (with raid0) and when i type aptitude dist-upgrade want to remove a lot of packages.

My box:

Asus A8N32-SLI Deluxe
AMD 64 4200+
2gb OCZ 400Mhz ram
2x 80gb Sata (raid0)
80gb IDE
Debian Lenny Amd64

here is my repository (same i was using with debian 32 bits) and i test it with default packages on a fresh installation and is the same

Code:

##deb http://people.debian.org/~mako/outgoing/
deb http://ftp.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
# deb http://download.tuxfamily.org/3v1deb/ debian-unstable beryl-svn
# deb http://download.tuxfamily.org/osrdebian/ unstable compiz-fusion-git
# deb-src http://download.tuxfamily.org/osrdebian/ unstable compiz-fusion-git
deb http://www.virtualbox.org/debian/ etch non-free
deb http://debian.beryl-project.org/ etch main
deb-src http://debian.beryl-project.org/ etch main

and see the packages that is trying to remove

Code:

The following packages are unused and will be REMOVED:
  bind9-host bug-buddy dhcdbd dnsutils eog esound evince
  fast-user-switch-applet file-roller finger gcalctool gconf-editor gdb gdm
  gedit gedit-common gnome-backgrounds gnome-cards-data gnome-core
  gnome-games gnome-games-data gnome-keyring-manager gnome-nettool
  gnome-system-tools gnome-themes gtkhtml3.14 gucharmap guile-1.6-libs
  industrial-cursor-theme iproute iputils-arping iso-codes libatm1
  libbind9-30 libbluetooth2 libdirectfb-0.9-25 libdjvulibre15 libdmx1
  libdns32 libedata-book1.2-2 libedata-cal1.2-6 libegroupwise1.2-13 libelf1
  libexchange-storage1.2-3 libgnome-pilot2 libgnomevfs2-bin
  libgtkhtml3.14-19 libguile-ltdl-1 libisc32 libisccc30 libisccfg30 libiw29
  libkpathsea4 liblwres30 libnl1-pre6 libnm-glib0 libnm-util0 libopal-2.2.0
  libosp5 libpisock9 libpisync0 libpoppler-glib1 libpt-1.10.0
  libpt-plugins-alsa libpt-plugins-v4l libsdl1.2debian libsdl1.2debian-alsa
  libsvga1 network-manager svgalibg1 system-tools-backends unzip vino
  w3c-dtd-xhtml whois wpasupplicant xulrunner-gnome-support zenity zip
0 packages upgraded, 0 newly installed, 79 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 161MB will be freed.
Do you want to continue? [Y/n/?]

Basically is removing all gnome and other things... i wonder why. Using apt-get is ok, but i understand that aptitude deal with package better and when i do aptitude purge name_of_package remove all, including the configurations, thing that apt-get remove name_of_package don't

And if i try to use gedit from console using root this appear

Code:

debian:~# gedit /etc/apt/sources.list
cannot open display:
Run 'gedit --help' to see a full list of available command line options.

Been looking into forums but nothing, if anyone got some clue will be really nice.

Thanks all

rickh 11-24-2007 12:15 PM

Run ...
# aptitude keep-all

..Then only use aptitude from now on. You used apt-get to install gnome, so aptitude doesn't know about it.

Dutch Master 11-24-2007 12:29 PM

Gedit is a graphical editor and needs X to run. Use nano instead when you're in a shell.

Upgrading an Testing system does require some 'faith' that, in the end, your system doesn't get screwed. But once in a while a package turns up that causes a (serious) crash. Hey, that's why the Debian dev's call it Testing in the first place ;)

pliqui 11-24-2007 07:49 PM

Thx for the info rickh. Will do that, but i didn't install gnome with apt, i downloaded the dvd, so that was the 1st thing appear when i did aptitude dist-upgrade.

LOL dutch master, well, i've been running debian for at least 4 months, and i'm still a newbie and will be for quite time. I asked that because was weird, with debian 32 bits that didnt happened. This is where my newbieness come into play. But thanks for the info. I just bought some linux books because i really like it. And there is no other way than the debian way :D. Asking people is nice, but one have to do the homework too. The list of the books:

# Linux in a Nutshell (In a Nutshell (O'Reilly))
# Linux iptables Pocket Reference
# The Debian System: Concepts and Techniques
# Hardening Linux
# Debian GNU/Linux 3.1 Bible
# Linux Network Security (Administrator's Advantage Series)
# Hack Proofing Your Network (Second Edition)

Well, i guess this is a case closed. Thanks for all

nx5000 11-26-2007 11:24 AM

One day I got the same problem with gnome packages. They all wanted to leave :) When searching on google, I found other users having this problem.
So I forced manually some of them. (a bit like "manual" keep-all)


All times are GMT -5. The time now is 01:58 AM.