LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-24-2007, 12:57 PM   #1
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Rep: Reputation: 17
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
 
Old 11-24-2007, 01:15 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
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.
 
Old 11-24-2007, 01:29 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
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
 
Old 11-24-2007, 08:49 PM   #4
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Original Poster
Rep: Reputation: 17
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 . 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
 
Old 11-26-2007, 12:24 PM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate packages in Aptitude wearetheborg Debian 2 06-02-2007 06:36 PM
aptitude wants to remove my kernel paket Debian 3 12-12-2006 10:48 PM
Aptitude has crazy aggressive REMOVE policy sixerjman Linux - Software 3 09-20-2006 06:03 PM
aptitude remove portmap question mikieboy Debian 1 03-31-2006 05:10 PM
aptitude removing packages Tons of Fun Debian 2 06-05-2005 05:20 PM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration