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

Re: Dont install suggested and recommended packages with apt-get?



On Wed, Feb 20, 2002 at 05:31:42PM +0000, John Ericson wrote:
> When Im doing an 'apt-get install reportbug' it wants to install packages
> that is using 'Recommends' and 'Suggests' depending, but I want it to only
> install packages that it absolutly needs (Such as with the 'Depends'
> depending). How can I do this with the apt-get command-line tool?
> 
> Excerpt from 'apt-cache show reportbug':
> Depends: python
> Recommends: python-newt
> Suggests: postfix | mail-transport-agent, gnupg | pgp, python-ldap (>= 1.8-1)

You can theoretically use "echo ..." and "apt-get --set-selections"

But set-selection action is easier with using "dselect"

# dselect update
# dselect select

then

# apt-get dselect-upgrade
or
# dselect install

I do not know what the differece between 2 commandlines above. 
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D
Visit Debian reference http://www.debian.org/doc/manuals/quick-reference/
There are 6 files: index.{en|fr|it}.html quick-reference.{en|fr|it}.txt
I welcome your constructive criticisms and corrections.



Reply to: