cloning a desktop to a notebook
Neil Joseph Schelly
neil at jenandneil.com
Wed Aug 27 06:14:26 EDT 2008
On Tuesday 26 August 2008 15:36, Greg Rundlett wrote:
> I *assumed* that apt-get had a -f option to designate a file to read
> package names from.... it does not. So, a working equivalent to what
> I intended to have happen would be
> sudo apt-get install `cat package-list.txt`
Yeah, apt-get -f means something else entirely. But this is what xargs is all
about.
cat package-list.txt|xargs apt-get install
That still assumes your package list is clean. This is how I'd make it (need
apt-show-versions installed). It still won't make a perfectly clean list,
but clean enough. I have duplicated many system setups just like this.
apt-show-versions |cut -f1 -d'/'
-N
More information about the gnhlug-discuss
mailing list