On Thu, Jul 26, 2007 at 07:28:07PM -0400, Mike Robinson wrote: > Andrew Sackville-West wrote: >> On Thu, Jul 26, 2007 at 06:04:58PM -0400, Mike Robinson wrote: >>> Andrew Sackville-West wrote: >>>> On Thu, Jul 26, 2007 at 05:26:36PM -0400, Mike Robinson wrote: >>>>> Mike Robinson wrote: >>>>> Well, I've decided to throw in the towel and install Etch. ... >>>> I've lost track of what brought you to this stage, but if you're going >>>> to do it, this may be helpful: >>>> dpkg --get-selections > >>>> /path/to/partition/for/keeping/stuff/selections >>>> and then after the basic install do >>>> dpkg --set-selections < /path/to/place/you/put/selections >>>> and then do apt-get dselect-upgrade >>>> to bring in the selection of packages you had before.
... > > Ah, so your procedure would produce a list of packages, but not versions. > So, after I install Etch, I would then get the Etch version of thoses > packages...not the Lenny version. Is this correct? If so, then this > sounds like something I would like to do. > yes, except, if the packages names have changed, you might have problems. I don't know what dpkg might do if you feed it bad names... if that ends up being a problem, you'd have to edit the list. hmmm... I just did echo foobar install | dpkg --set-selections and it seemed to fail silently. That is, it produced no output but didn't add the package foobar to the selections that came out in a subsequent dpkg --get-selections. I'm sure the failure to put foobar in the list is the right behavior. I'm not sure if failing silently is the right behavior. ymmv. A
signature.asc
Description: Digital signature