[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aptitude --mind-your-own-business option?



Yuriy Padlyak wrote:

Raquel wrote:


In the interactive mode, you press "g" to see the packages which are
being removed and/or installed.  There you can press "+" to deselect
those packages which are being removed, or you can press "_" to
deselect those packages which are being installed.  When you have
the list as you'd like (or as close as you can because of
dependencies) then you press "g" again to install/uninstall those
packages.

I hope that made sense.

In a previous post on this thread (or one of the many similar threads now going strong) I said that aptitude was working fine for me in my brand new Etch install. This is MOSTLY true. It works fine from the command line, which is how I use it. But after several of the other posts I decided to look at the interactive interface. They DO NOT work the same!

From the command line:


# aptitude upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following packages have been kept back:
 openoffice.org-java-common python-pygame thunderbird
The following packages will be upgraded:
 libssl0.9.8 openssl
2 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 3720kB of archives. After unpacking 164kB will be used.
Do you want to continue? [Y/n/?] n
Abort.

3 packages held back
2 packages upgraded
0 packages deleted

This, I have no problem with, but...

From the interactive interface aptitude wants to:
   Delete         1 package due to unmet dependancies
   Hold           5 packages
   Install       25 packages
   Auto Install 172 packages
   Remove         7 packages

Most of the 25 packages to be installed are Gnome related. I do NOT use Gnome! I have NEVER installed Gnome (or KDE) on this system. Cleaning out all of the cruft from Gnome and KDE from my Sarge system is what prompted me to do a clean install for Etch in the first place. I don't want to start this all over again.

Why the difference between the two modes? It is not, apparently, due to "Suggests' or 'Recommends' since they are listed seperately in the interactive mode and are not among the packages to be installed (at least not the regular installed packages, I have not check for them in the 172 packages to be auto-installed).

How do I get the interactive mode to act the same as the command line? If I deselect the packages that I do not want will they stay that way? Will aptitude later decide that other gnome packages (and their millions of dependancies) should be installed?

Should I just stick with the command line since I am comfortable with it and it seems to do what I want without having to tweak it?

--
Marc Shapiro

No boom today. Boom tomorrow. There's always a boom tomorrow.
What?! Look, somebody's got to have some damn perspective around here.
Boom. Sooner or later ... boom!

- Susan Ivanova: B5 - Grail



Reply to: