On Sun, Oct 12, 2003 at 09:14:08PM -0400, Roberto Sanchez wrote:
> Neal Lippman wrote:
> >Now, using either of the above package lists, you can do:
> >     for pkg in $(cat package-listing-from-xxx);
> >     do
> >             apt-get install $pkg;
> >     done
> >which will work although not be the most efficient way (because you will
> >have to run apt-get for each package, and hence dependences are
> >re-resolved over and over, or:
> 
> Better way:
> 
> (after adjusting sources.list)
> 
> apt-get update
> dpkg --set-selections <package-listing-from-xxx
> apt-get upgrade

I believe that --set-selections only actually has an effect if you do
'apt-get dselect-upgrade' (or 'dselect install', less circuitously).
'apt-get upgrade' uses apt's own upgrading logic rather than what you
selected.

Cheers,

-- 
Colin Watson                                  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to