Re: Configuration DB

2004-08-21 Thread Alan Greenberger
John Hasler wrote: >Tong writes: >> The '--get-selections' and '--set-selections' only give your the list >> of >> packages, they won't save configuration for you. > >All the configuration data is in files under /etc. Back it up. >-- >John Hasler >[EMAIL PROTECTED] >Dancing Horse Hill >Elmwood, Wi

Re: Configuration DB

2004-08-12 Thread Cameron Hutchison
Once upon a time Paul E Condon said... > quote > _ > Rationale > > The existence of a separate directory for cached data allows system > administrators to set different disk and backup policies from other > directories in /var.

Re: Configuration DB

2004-08-12 Thread Paul E Condon
On Thu, Aug 12, 2004 at 01:01:34PM -0700, Brian Nelson wrote: > On Thu, Aug 12, 2004 at 12:28:42PM -0600, Paul E Condon wrote: > > On Thu, Aug 12, 2004 at 08:43:04AM +1000, Cameron Hutchison wrote: > > > Once upon a time Jason Rennie said... > > > > On Mon, Aug 09, 2004 at 02:09:08AM -0700, Brian N

Re: Configuration DB

2004-08-12 Thread Brian Nelson
On Thu, Aug 12, 2004 at 12:28:42PM -0600, Paul E Condon wrote: > On Thu, Aug 12, 2004 at 08:43:04AM +1000, Cameron Hutchison wrote: > > Once upon a time Jason Rennie said... > > > On Mon, Aug 09, 2004 at 02:09:08AM -0700, Brian Nelson wrote: > > > > The debconf database is nothing more than a tempo

Re: Configuration DB

2004-08-12 Thread Paul E Condon
On Thu, Aug 12, 2004 at 08:43:04AM +1000, Cameron Hutchison wrote: > Once upon a time Jason Rennie said... > > On Mon, Aug 09, 2004 at 02:09:08AM -0700, Brian Nelson wrote: > > > The debconf database is nothing more than a temporary cache of answers > > > gotten from the user. Debconf will regener

Re: Configuration DB

2004-08-11 Thread John Hasler
Cameron Hutchison writes: > As I see it, if debconf is asking you the questions again, *it* is not > regenerating the data, but *you* are. Debconf is not a registry. /etc is the configuration data repository. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI -- To

Re: Configuration DB

2004-08-11 Thread Cameron Hutchison
Once upon a time Jason Rennie said... > On Mon, Aug 09, 2004 at 02:09:08AM -0700, Brian Nelson wrote: > > The debconf database is nothing more than a temporary cache of answers > > gotten from the user. Debconf will regenerate this data by asking any > > questions it needs to. > > If the Debian d

Re: Configuration DB

2004-08-11 Thread Jason Rennie
On Sat, Aug 07, 2004 at 08:05:53PM -0500, John Hasler wrote: > On Sun, Aug 08, 2004 at 12:51:23PM +1000, Cameron Hutchison wrote: > > It is not enough to simply backup /etc, as some packages automatically > > generate config files from the debconf info (xfree86 being one). > > Any package that ove

Re: Configuration DB

2004-08-11 Thread Jason Rennie
On Mon, Aug 09, 2004 at 02:09:08AM -0700, Brian Nelson wrote: > The debconf database is nothing more than a temporary cache of answers > gotten from the user. Debconf will regenerate this data by asking any > questions it needs to. If the Debian designers had this attitude, everything would go in

Re: Configuration DB

2004-08-09 Thread Brian Nelson
On Sun, Aug 08, 2004 at 12:51:23PM +1000, Cameron Hutchison wrote: > Once upon a time John Hasler said... > > Cameron Hutchison writes: > > > Hard disk crash. I've gone through the same pain as the original poster. > > > > So you mean restore, not reinstall. > > Well, both. I restored my system b

Re: Configuration DB

2004-08-08 Thread Karsten M. Self
on Sun, Aug 08, 2004 at 02:42:32PM -0400, Tong ([EMAIL PROTECTED]) wrote: > On Sun, 08 Aug 2004 13:02:36 -0400, Greg Folkert wrote: > > On Sat, 2004-08-07 at 15:09, Tong wrote: > >> Yes, that is my question -- is there any way to avoid those hard and > >> tedious questions, since I've answered the

Re: Configuration DB

2004-08-08 Thread Tong
On Sun, 08 Aug 2004 13:02:36 -0400, Greg Folkert wrote: > On Sat, 2004-08-07 at 15:09, Tong wrote: >> Yes, that is my question -- is there any way to avoid those hard and >> tedious questions, since I've answered them once, and the system should >> have kept the answer somewhere, or, Debian just f

Re: Configuration DB

2004-08-08 Thread Greg Folkert
On Sat, 2004-08-07 at 15:09, Tong wrote: > Yes, that is my question -- is there any way to avoid those hard and > tedious questions, since I've answered them once, and the system should > have kept the answer somewhere, or, Debian just forgets those answers > right away? then how do you do reconfig

Re: Configuration DB

2004-08-08 Thread robin
Cameron Hutchison wrote: Once upon a time John Hasler said... Tong writes: Thanks, John, that's something I am thinking of as the last resort. Why as a last resort? Hard disk crash. I've gone through the same pain as the original poster.

Re: Configuration DB

2004-08-07 Thread Paul E Condon
On Sun, Aug 08, 2004 at 12:51:23PM +1000, Cameron Hutchison wrote: > Once upon a time John Hasler said... > > Cameron Hutchison writes: > > > Hard disk crash. I've gone through the same pain as the original poster. > > > > So you mean restore, not reinstall. > > Well, both. I restored my system b

Re: Configuration DB

2004-08-07 Thread Cameron Hutchison
Once upon a time John Hasler said... > Cameron Hutchison writes: > > Hard disk crash. I've gone through the same pain as the original poster. > > So you mean restore, not reinstall. Well, both. I restored my system by reinstalling it. > Any package that overwrites your changes to config files an

Re: Configuration DB

2004-08-07 Thread John Hasler
Cameron Hutchison writes: > Hard disk crash. I've gone through the same pain as the original poster. So you mean restore, not reinstall. > It is not enough to simply backup /etc, as some packages automatically > generate config files from the debconf info (xfree86 being one). Any package that ov

Re: Configuration DB

2004-08-07 Thread Cameron Hutchison
Once upon a time John Hasler said... > Tong writes: > > Thanks, John, that's something I am thinking of as the last resort. > > Why as a last resort? Hard disk crash. I've gone through the same pain as the original poster. It is not enough to simply backup /etc, as some packages automatically ge

Re: Configuration DB

2004-08-07 Thread John Hasler
Tong writes: > Thanks, John, that's something I am thinking of as the last resort. Why as a last resort? > I don't have man for debconf in section 7. Which package contains it? debconf-doc. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI -- To UNSUBSCRIBE, email

Re: Configuration DB

2004-08-07 Thread Tong
On Sat, 07 Aug 2004 15:06:17 -0500, John Hasler wrote: > Setting the debconf priority to "critical" will eliminate most, if not all, > questions. Answer the remaining ones with anything. Restore /etc after > doing "dpkg --set-selections < package-list", overwriting the default > configuration.

Re: Configuration DB

2004-08-07 Thread John Hasler
Alec Berryman writes: > 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 que

Re: Configuration DB

2004-08-07 Thread Tong
On Sat, 07 Aug 2004 15:31:41 -0400, Alec Berryman wrote: > 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 al

Re: Configuration DB

2004-08-07 Thread Alec Berryman
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 c

Re: Configuration DB

2004-08-07 Thread John Hasler
Tong writes: > The '--get-selections' and '--set-selections' only give your the list of > packages, they won't save configuration for you. All the configuration data is in files under /etc. Back it up. -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin -- To UNSUBSCRIBE,

Re: Configuration DB

2004-08-07 Thread Tong
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 Deb

Re: Configuration DB

2004-08-07 Thread Alec Berryman
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 > , I don't have to answer those hard