Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: aptitude full-upgrade - why does it not install Recommended packages?

From: Florian Kulzer <florian.kulzer+debian(at)icfo.es>
Date: Fri Aug 31 2007 - 19:44:51 EDT


On Fri, Aug 31, 2007 at 20:24:43 +0200, Chris wrote:
> On Friday 31 August 2007 18:42, Sven Joachim wrote:
> > Hello,
> >
> > Chris writes:
> > > sudo aptitude full-upgrade --with-recommends
> > >
> > > can anyone tell me why it still reports (for example):
> > >
> > > The following packages are RECOMMENDED but will NOT be installed:
> > > libjaxp1.3-java-gcj libxalan2-java-gcj
> >
> > The aptitude manual says:
> >
> > -r, --with-recommends
> > Treat recommendations as dependencies when installing new packages
> >
> > Note the *new* here. Recommendations for existing packages are _not_
> > automatically installed, since aptitude presumes that you do not want
> > that; after all you did not install the recommended packages in
> > previous installs of your package.
> >
> > Of course this can be a problem since the recommendations may change
> > over time. This is probably what happened here.
> >
> > Regards,
> > Sven
>
> That at least explains the behavior, and makes sense I guess. But I'd
> actually like it to really install all "recommends", for all packages I have
> installed.

In principle you could run

aptitude install '!~i~Rrecommends:~i'

to do this. I am not sure, however, how well "OR" recommendations and recommendations of virtual packages will be handled.

It is probably safer to start aptitude in interactive mode and use "l" to limit the display to packages matching the same pattern:

!~i~Rrecommends:~i

Then you can press "+" for each of these packages and use undo immediately for cases in which the installation would have unwanted side effects.

-- 
Regards,            | 
http://users.icfo.es/Florian.Kulzer
          Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Aug 31 20:03:10 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 03:28:29 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library