Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Mumia W.. <paduille.4061.mumia.w+nospam(at)earthlink.net>
Date: Fri Aug 31 2007 - 15:12:10 EDT


On 08/31/2007 01:24 PM, Chris wrote:
>
> 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.
>

This Perl script won't do the installs for you, but it should give you a look at what you might end up installing if you do want all of the recommended packages for every installed package:

#!/usr/bin/perl

my @installed = grep /\binstall$/, `dpkg --get-selections`; @installed = map +(/^(\S+)/)[0], @installed; my $rx = join ('|', map quotemeta, @installed);

system(aptitude => search => "~Drecommends:($rx)");

__END__

-- 
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 16:13:39 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 03:27:19 EDT


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