As this is my 1st post of 2006, A Happy New Year everyone and I hope you enjoyed whatever solstice celebrations you had (if any) :o) Here's one for the debian aficionados on the list, is it possible to use apt-get install with a list of packages fed in from a file? e.g. something like; apt-get install {filename} or apt-get install < {filename} Regards, Keith ____________ The best use of your mind is to distrust it. - François Fénelon
Steve Engledow <sengledow@formrecognition.com> writes:
Here's one for the debian aficionados on the list, is it possible to use apt-get install with a list of packages fed in from a file?
cat filename | xargs sudo apt-get install
xargs sudo apt-get install < filename -- http://www.greenend.org.uk/rjk/
On Tue, Jan 10, 2006 at 02:35:43PM -0000, Keith Watson wrote:
Here's one for the debian aficionados on the list, is it possible to use apt-get install with a list of packages fed in from a file?
Another way to do this is: (on box 1) dpkg --get-selections > foo (copy foo to box 2 then on box 2) dpkg --set-selections < foo Then... apt-get dist-upgrade (i /think/) Thanks Adam -- jabberid = quinophex@jabber.earth.li AFFS || http://www.affs.org.uk/ || Not a filesystem
Here's one for the debian aficionados on the list, is it possible to use apt-get install with a list of packages fed in from a file?
Another way to do this is:
(on box 1)
dpkg --get-selections > foo
(copy foo to box 2 then on box 2)
dpkg --set-selections < foo
Then...
apt-get dist-upgrade (i /think/)
Thanks Adam -- jabberid = quinophex@jabber.earth.li AFFS || http://www.affs.org.uk/ || Not a filesystem
I'd go for apt-get dselect-upgrade (rather than dist-upgrade) ... :o) Cheers, Safe
On Wed, Jan 11, 2006 at 02:02:07PM -0000, Safe Hammad wrote:
Then...
apt-get dist-upgrade (i /think/)
I'd go for apt-get dselect-upgrade (rather than dist-upgrade) ... :o) Cheers, Safe
ummm, yeah. That's the one... not used it for some time ;) Adam -- jabberid = quinophex@jabber.earth.li AFFS || http://www.affs.org.uk/ || Not a filesystem
participants (5)
-
Adam Bower -
Keith Watson -
Richard Kettlewell -
Safe Hammad -
Steve Engledow