Hi
I don't really know what I'm doing wrong here, but what I'm essentially trying to do is to get a list of packages into the command "apt-get install" but I can't seem to get it to work. The text file in question I have filtered out a list of all the installed packages on my system so that (heaven forbid) I lose my machine I can recover it quickly from a base install. I've tried this two ways:
Code:
$ sudo apt-get install < ./packages.txt
...so I then tried it this way:
Code:
cat ./packages.txt | sudo apt-get install
The file "packages.txt" is just a text file and has a package name on each line... here's the output from the first ten lines to give you an idea (it's quite a long file...!)
Code:
acl
acpi-support
acpid
adduser
akregator
alsa-base
alsa-utils
amarok
amarok-common
anacron
I'm using Kubuntu 9.04 on x64... not that this is really relelvant to this issue
I know this is a pretty lame question to ask, but I've tried fixing it myself and can't get anywhere...