Re: apt-get install -- packet list from a file



Quoting kuLa on 2010-11-01 06:02:50:
cat file-list|xargs apt-get -y install
apt-get install `sed "s/\n/ /" /your/listfile`

is much better.

From my experience it's doing lookup only once cause you're passing
package names only once at start.

ACK.

cat file-list|xargs apt-get -y install
apt-get -y install foo
(read db; grab foo; install foo; write new db)
apt-get -y install bar
(read db; grab bar; install bar; write new db)
apt-get -y install baz
(read db; grab baz; install baz; write new db)

apt-get install `sed "s/\n/ /" /your/listfile
apt-get install foo bar baz
(read db; grab foo, bar, baz; install foo, bar, baz; write new db)

--
_ Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: BrianLRyans@xxxxxxxxx ..:
X ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Modern man has an approximately 140-character attention span. -- blr

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: F11p Wine?
    ... yum recently got the ability to track why a package was installed (via ... I install a package foo, which installs bar and baz as deps ...
    (Fedora)
  • Re: F11p Wine?
    ... yum recently got the ability to track why a package was installed (via ... I install a package foo, which installs bar and baz as deps ...
    (Fedora)
  • RE: Flash update fails
    ... IE, Tools, Pop-Up Blocker, ... now check Pop-Up Blocker Settings, and check the box, "Show Information Bar ... because there is no gold bar where I can tell it to accept the install. ... Due to recent enhancements with the Flash Player installers, ...
    (microsoft.public.windowsupdate)
  • RE: Flash update fails
    ... IE, Tools, Pop-Up Blocker, ... now check Pop-Up Blocker Settings, and check the box, "Show Information Bar ... because there is no gold bar where I can tell it to accept the install. ... Due to recent enhancements with the Flash Player installers, ...
    (microsoft.public.windowsupdate)
  • Re: Storing user information as RC4 - safe?
    ... anticipates it too, the orange will install regarding the primitive ... bar. ... No spotty computings tempt Said, and they wanly move Hamid too. ...
    (sci.crypt)