Re: how to reinstall?
On Fri, Nov 02, 2007 at 04:19:28PM -0700, Andrew Sackville-West wrote:
> On Fri, Nov 02, 2007 at 11:22:17PM +0200, Andrei Popescu wrote:
> > On Fri, Nov 02, 2007 at 02:29:29PM -0400, Kevin Mark wrote:
> >
> > > - do 'dpkg --set-selections < mypackages' for setting packages
> > > - do 'aptitude dselect-upgrade' to install all packages
> >
> > I always just run 'aptitude install' for this. Where is the
> > 'dselect-upgrade' action documented? A quick search through the man page
> > and the README didn't provide anything related.
>
> its documented in apt-get. I don't know if it is in aptitude or not.
>
I thought aptitude had that. I found the info in the debian-reference:
-------------------
http://www.debian.org/doc/manuals/reference/ch-package.en.html
-------------------
6.4.9 Record/copy system configuration
To make a local copy of the package selection states:
# dpkg --get-selections "*" >myselections # or use \*
# debconf-get-selections > debconfsel.txt
"*" makes myselections include package entries for "purge" too.
You can transfer this file to another computer, and install it there
with:
# dselect update
# debconf-set-selections < debconfsel.txt
# dpkg --set-selections <myselections
# apt-get -u dselect-upgrade # or dselect install
-K
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
Reply to: