LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-07-2005, 03:14 AM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
Is there a parameter for apt-get to install all recommended / suggested packages?


Sometimes, when you do a 'apt-get install <package>', there are many recommended and suggested packages. Is there a parameter to use with 'apt-get install' to install all recommended and / or suggested packages automatically?

Thanks !
 
Old 08-07-2005, 03:51 AM   #2
bp12345
Member
 
Registered: Jun 2005
Distribution: Debian testing, Kubuntu 5.04
Posts: 104

Rep: Reputation: 15
There is an option in synaptic and aptitude to 'consider reccommended packages as dependancies', which will then install all reccommended packages as well as the real dependancies, but only for those that you installed after you set that option.
For the suggested packages I don't know... but there mioght be a text configuration file you can edit.
 
Old 08-07-2005, 08:21 AM   #3
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Wajig has a command that should allow you to do this.
 
Old 08-07-2005, 08:50 AM   #4
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Original Poster
Rep: Reputation: 30
Thanks for the suggestion.

I tried both 'aptitude -r upgrade' and 'aptitude --with-recommends upgrade'. A few lines before the 'Do you want to continue?', I get

'The following packages are RECOMMENDED but will NOT be installed: bzip2 perl-doc xxxx xxxx'

Is my option set incorrectly? It seems that the recommended packages are still not installed.

Thanks !


Quote:
Originally posted by bp12345
There is an option in synaptic and aptitude to 'consider reccommended packages as dependancies', which will then install all reccommended packages as well as the real dependancies, but only for those that you installed after you set that option.
For the suggested packages I don't know... but there mioght be a text configuration file you can edit.
 
Old 08-07-2005, 02:56 PM   #5
fsateler
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Debian Unstable
Posts: 107

Rep: Reputation: 15
That is because probably those packages have broken dependencies that can't be satisfied by an upgrade (ie, a new library must be installed). Probably a dist-upgrade would install those packages.
 
Old 08-08-2005, 02:42 AM   #6
bp12345
Member
 
Registered: Jun 2005
Distribution: Debian testing, Kubuntu 5.04
Posts: 104

Rep: Reputation: 15
It is an option that you change from a menu, not a command-line option. Maybe if you set it in aptitude or Synaptic it will apply to all new packages downloaded in apt-get too (not sure). I only use synaptic and aptitude when I need to, so I don't really know much about the options for apt-get.

Last edited by bp12345; 08-09-2005 at 11:21 AM.
 
  


Reply



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 configure apt-get to install suggested packages? davidas Debian 20 02-25-2013 12:59 AM
apt is confused, trying to install packages that are already installed tomj88 Debian 10 09-11-2005 06:33 PM
using apt to install recommended packages? MaTrIx709 Linux - Software 2 08-12-2005 01:04 AM
Apt-get with suggested packages shaggy007 Debian 6 09-21-2004 08:33 AM
Do you install packages manually in addition/instead of apt-get? R00ts Debian 5 07-11-2004 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration