LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-20-2006, 12:45 PM   #1
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Tesing / Unstable
Posts: 166
Blog Entries: 1

Rep: Reputation: 30
Aptitude has crazy aggressive REMOVE policy


Each time I want to upgrade a couple of packages to a later version, say, from the 'stable' distribution to 'testing', Aptitude looks for packages which don't have any dependencies and removes them. The tentative result of this
on my system would be very bad. To install the testing version of bittorrent-gui, gdm and gnome-session would be removed:

Code:
The following packages will be REMOVED:
  abiword-common abiword-gnome bluefish bug-buddy capplets dia-gnome eog
  epiphany-browser evolution file-roller firestarter foomatic-gui gcalctool
  gconf-editor gdm gedit gnome gnome-about gnome-applets
  gnome-control-center gnome-core gnome-cups-manager
  gnome-desktop-environment gnome-games gnome-gv gnome-media gnome-nettool
  gnome-office gnome-panel gnome-session gnome-system-monitor
  gnome-system-tools gnome-terminal gnome-utils gnome-volume-manager
  gnomemeeting gnumeric gpdf gtkhtml3.2 hal-device-manager inkscape
  libapache2-mod-python libbonoboui2-0 libeel2-2 libgail-common libgail17
  libgal2.2-1 libgal2.2-common libglibmm-2.4-1 libgnome-desktop-2
  libgnomecanvas2-0 libgnomecupsui1.0-1 libgnomeprintui2.2-0 libgnomeui-0
  libgtk2.0-dev libgtkhtml2-0 libgtkhtml3.2-11 libgtkmm-2.4-1
  libnautilus2-2 libpanel-applet2-0 libpango1.0-dev libsigc++-2.0-0 libvte4
  libxft-dev libxrender-dev nautilus nautilus-cd-burner nautilus-media
  planner python-gnome2 python-newt python2.3-gnome2 rhythmbox synaptic
  totem totem-xine vino yelp zenity
I think this behavior is caused because at some point I had to free up space and was sick of the crazy aptitude decisions so I removed the 'automatic' flag from almost every package and manually purged a bunch of the packages.
Now the question is how to add the needed flag(s) back to the essential packages so aptitude doesn't try to remove them during every install. Thanks in advance.
 
Old 09-20-2006, 03:00 PM   #2
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Tesing / Unstable
Posts: 166
Blog Entries: 1

Original Poster
Rep: Reputation: 30
OK, I tried setting the hold and keep flags as a test. 'aptitude hold gnome-core' did set the hold flag, but any package install from the testing distribution still wants to remove gnome-core and gdm, and abiword and other packages I use that definitely do not want removed; but hundreds of other crap I NEVER use because I DON'T KNOW WHAT THEY DO are scheduled to be 'automatically installed'.

Many things aregravely wrong with this version of aptitude. Unfortuanately I can't upgrade to the testing version which includes a fixed 'resolver' to handle the dependency cluster**** because eseential things will be removed.
 
Old 09-20-2006, 03:11 PM   #3
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Tesing / Unstable
Posts: 166
Blog Entries: 1

Original Poster
Rep: Reputation: 30
It looks like a dit-upgrade to testing might be the best (if not only) solution to this tangled mess...
 
Old 09-20-2006, 05:03 PM   #4
sixerjman
Member
 
Registered: Sep 2004
Distribution: Debian Tesing / Unstable
Posts: 166
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Possible solution #2

OK, the following might achieve my objective with about half the download time and subsequent disk space that would be required with a dist-upgrade:

Code:
aptitude -t testing install xbase-clients xlogmaster gdm gnome gnome-core librsvg2-2 nautilus gnome-desktop-environment aptitude ntp
 
  


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
How to set the password policy and lockout policy bin_shell Linux - Security 4 03-24-2010 03:30 PM
Samba System Policy, Default User Policy scooter549 Linux - General 2 02-24-2009 02:23 AM
LXer: Firefox 'not being aggressive enough' LXer Syndicated Linux News 0 08-07-2006 07:54 AM
LXer: SGI Signals New Era of Aggressive Innovation With Powerful New Server Solutions LXer Syndicated Linux News 0 06-27-2006 10:21 AM
aptitude remove portmap question mikieboy Debian 1 03-31-2006 04:10 PM


All times are GMT -5. The time now is 07:27 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