Re: Configuration DB

From: Alec Berryman (alec_at_thened.net)
Date: 08/07/04

  • Next message: Mark Lijftogt: "Re: Sarge"
    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
    


  • Next message: Mark Lijftogt: "Re: Sarge"

    Relevant Pages

    • Re: Getting XFree 4.3?
      ... The following packages are only half configured, ... The configuration should be retried using ... dpkg --configure or the configure menu option in dselect: ... console-common is already the newest version. ...
      (Debian-User)
    • gnome-control-center: Error keyboard at startup
      ... Erreur lors de l'activation de la configuration XKB. ... un bogue dans le serveur X ... Versions of packages gnome-control-center depends on: ...
      (Ubuntu)
    • Re: Newbie looking for some answers please...........
      ... I know that apt-get is the main utility to add and remove programs ... > what about other packages or applications that are not installed ... i find that dpkg works well -- in order to not truncate the package ... Anyone has a good site for descriptions of the configuration files ...
      (Debian-User)
    • Problems with apt-get upgrade -y and crontab
      ... The following packages have been kept back ... dpkg: ... without having to wait for me (I crontab apt-get update as well). ... error running postrotate script error running postrotate script error ...
      (Debian-User)
    • RE: Fedora, Apache & PHP
      ... Most of these packages can be found with the distribution. ... IMAP server and OpenWebmail for a web UI to end user mail. ... You can install the RPM and use ... it for system and Server configuration. ...
      (Fedora)