Re: Configuration DB
From: Alec Berryman (alec_at_thened.net)
Date: 08/07/04
- Previous message: John Hasler: "Re: Configuration DB"
- In reply to: Tong: "Re: Configuration DB"
- Next in thread: Tong: "Re: Configuration DB"
- Reply: Tong: "Re: Configuration DB"
- Reply: John Hasler: "Re: Configuration DB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 07 Aug 2004 15:31:41 -0400 To: debian-user@lists.debian.org
begin quotation of Tong on 2004-08-07 14:51:16 -0400:
> On Sat, 07 Aug 2004 15:15:17 -0400, Alec Berryman wrote:
>
> > begin quotation of Tong on 2004-08-07 14:20:53 -0400:
> >
> >> I'm new to Debian. Seems that Debian keeps all configuration data in
> >> a DB. Is there a way to backup this configuration data, so that
> >> next time when I have to reinstall Debian, using apt-get install
> >> <all my package list>, I don't have to answer those hard and tedious
> >> questions again?
> >
> > Look at the man page for dpkg; particularly, '--get-selections' and
> > '--set-selections'.
<snip>
> The '--get-selections' and '--set-selections' only give your the list of
> packages, they won't save configuration for you.
Pipe the output of `dpkg --get-selections` to a file, copy that over
to the new computer, and pipe it into `dpkg --set-selections`. Then
run apt-get -f install; it'll attempt to install all packages on the
first computer. You'll still have to answer configuration questions,
but you won't need to specify packages.
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: Digital signature
- Previous message: John Hasler: "Re: Configuration DB"
- In reply to: Tong: "Re: Configuration DB"
- Next in thread: Tong: "Re: Configuration DB"
- Reply: Tong: "Re: Configuration DB"
- Reply: John Hasler: "Re: Configuration DB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|