Re: apt: exporting and importing list of installed packages

2005-09-07 Thread Lawren Quigley-Jones
The problem with these instructions are the redirect rather than a pipe and there is also a type-o. When you set the selections on the new system you need to send the package list to dpkg via STDIN rather than a redirect. I commented out the bad line and replaced it with the good one. Also, you w

Re: apt: exporting and importing list of installed packages

2003-10-15 Thread Greg Folkert
On Tue, 2003-10-14 at 19:48, Jens Grivolla wrote: > Hi, > > I apparently have a lot of leftovers from old packages that did not > get cleanly uninstalled, and am losing quite a bit of disk space for > that. > > I would therefore like to do a fresh install (backing up /home and > /etc), but using

Re: apt: exporting and importing list of installed packages

2003-10-15 Thread Paul Yeatman
> It is not quite clear to me from the man-page what would happen to > already installed packages. I suppose that set-selections only > affects those packages that are actually in the list. Yes, I believe it only changes the packages listed in the file. All others are unaffected. -- Paul Yeatm

Re: apt: exporting and importing list of installed packages

2003-10-15 Thread Jens Grivolla
Paul Yeatman <[EMAIL PROTECTED]> writes: >> > Is there a way to dump my current selection to a file and read it back >> > later? I didn't find such an option in aptitude or any of the other >> > tools. > > dpkg --get-selections > Ok, this gives me a list of packages like " install" for in

Re: apt: exporting and importing list of installed packages

2003-10-14 Thread Tom
On Tue, Oct 14, 2003 at 07:18:04PM -0700, Paul Yeatman wrote: [snip] > run > > dpkg --set-selections < > > to get it back. > I did a test: #echo "par install" | dpkg --set-selections #aptitude #echo "par install" | dpkg --set-selections #aptitude It doesn't seem that dpkg --

Re: apt: exporting and importing list of installed packages

2003-10-14 Thread Paul Yeatman
> > Is there a way to dump my current selection to a file and read it back > > later? I didn't find such an option in aptitude or any of the other > > tools. > > > > I use this: > > grep -E "^Package|Status:.+$" /var/lib/dpkg/status | \ > sed "s/Package:/\tPackage:/" | tr \\n \\t | sed "s/\t\t

Re: apt: exporting and importing list of installed packages

2003-10-14 Thread Tom
On Wed, Oct 15, 2003 at 01:48:06AM +0200, Jens Grivolla wrote: > Hi, > > I apparently have a lot of leftovers from old packages that did not > get cleanly uninstalled, and am losing quite a bit of disk space for > that. > > I would therefore like to do a fresh install (backing up /home and > /etc

apt: exporting and importing list of installed packages

2003-10-14 Thread Jens Grivolla
Hi, I apparently have a lot of leftovers from old packages that did not get cleanly uninstalled, and am losing quite a bit of disk space for that. I would therefore like to do a fresh install (backing up /home and /etc), but using my current selection of packages (which I just carefully verified)