dpkg --set-selections < packages
apt-get -u dselect-upgrade
bugsbunny wrote:With 1 package name per line the following will work:
aptitude install $(cat <textfile>)
The same will not work with apt-get. It would process the first package only.
[ Sat 13-Jun-2009 10.23 root ] xxxx # apt-get -s install $(cat file.txt)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
The following NEW packages will be installed:
gnome-cards-data gnome-chess gnome-hearts
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Inst gnome-cards-data (1:2.22.3-3 Debian:5.0.1/stable)
Inst gnome-hearts (0.3-2 Debian:5.0.1/stable)
Inst gnome-chess (0.4.0-3 Debian:5.0.1/stable)
Conf gnome-cards-data (1:2.22.3-3 Debian:5.0.1/stable)
Conf gnome-hearts (0.3-2 Debian:5.0.1/stable)
Conf gnome-chess (0.4.0-3 Debian:5.0.1/stable)
aptitude install $(< file.txt)
apt-get install $(< file.txt)
Telemachus wrote:aptitude still wins this round ...
Soul Singin' wrote:You will have to pry apt-get from my cold, dead hands.
apt-get can surgically remove packages.Telemachus wrote:Soul Singin' wrote:You will have to pry apt-get from my cold, dead hands.
So I've heard. Out of curiosity, why? That is, why do you prefer it so much? Not flaming, simply curious. (I can say that I started using aptitude back when I was an Ubuntu-newbie, after I learned that it automatically cleans up packages that were installed only as dependencies of etc.)
Telemachus wrote:Soul Singin' wrote:You will have to pry apt-get from my cold, dead hands.
So I've heard. Out of curiosity, why?
bugsbunny wrote:There's nothing apt-get can do that aptitude can't.
bugsbunny wrote:As opposed to that children's toy known as synaptic
rickh wrote:My position is well known ... All GUI package managers (including Synaptic) are worthless and unnecessary fat for your well designed Debian system. If you just want a free (as in beer) Windows OS, GUI installers are fine; otherwise, do it right ... learn aptitude, or at least apt-get
.rickh wrote:Keep the "tools" ... get rid of the "toys".
Users browsing this forum: runfrodorun and 3 guests