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

Re: Piped package list



On Wed, Aug 11, 2004 at 11:50:07AM -0500, Jacob S. wrote:

Please see my reply to this.

> "dpkg --get-selections >& /file/to/output.txt"

There is no need to shunt stderr as well, since if anything is
written to it (unlikely), it will taint the file.

> "cat /file/to/output.txt | dpkg --set-selections" 
> 
> "apt-get upgrade"

No, you *must* do: apt-get dselect-upgrade.

> (man dpkg for more information.)

Heh, yes, it *is* worth reading.

-- Thomas Adam
--
"Frankly, Mr. Shankly, since you ask. You are a flatulent pain in 
the arse." -- Morrissey.



Reply to: