Re: extract debian package default config

2009-03-27 Thread Andrei Popescu
On Fri,27.Mar.09, 11:09:32, Stefan Monnier wrote: > > Is there a simple way to get back the original package defauft config? > > No. Various way to do that have been proposed already in this thread, > but there's no simple and reliable way to do that. It's too > bad, really. I wish `dpkg' was c

Re: extract debian package default config

2009-03-27 Thread Sylvain Viart
Hi Hugo, Hugo Vanwoerkom a écrit : Sylvain Viart wrote: Is there some command which can extract the apache2.conf from the package or is it extracted somewhere? I use mc for that. Thanks, you're right. This is like extracting the package with ar or dpkg -x mc - midnight commander - a pow

Re: extract debian package default config

2009-03-27 Thread Stefan Monnier
> Is there a simple way to get back the original package defauft config? No. Various way to do that have been proposed already in this thread, but there's no simple and reliable way to do that. It's too bad, really. I wish `dpkg' was careful to stash a copy of the original conf file somewhere w

Re: extract debian package default config

2009-03-27 Thread Hugo Vanwoerkom
Sylvain Viart wrote: Hi, Is there a simple way to get back the original package defauft config? Example: I would like to get the original packaged apache2.conf Is there some command which extract this from the package or is it extracted somewhere? I use mc for that. Hit 'enter' on a deb

Re: extract debian package default config

2009-03-27 Thread Sylvain Viart
Hi Jeffrey, Jeffrey Cao a écrit : Is there a simple way to get back the original package defauft config? Example: I would like to get the original packaged apache2.conf Is there some command which extract this from the package or is it extracted somewhere? Normally, there's a backup

Re: extract debian package default config

2009-03-26 Thread Jeffrey Cao
On 2009-03-26, Yanyuan Zhu wrote: > gksu synaptic > choose the package you want, right click -- complete remove > then reinstall it > > it's a little stupid, though > Sylvain Viart wrote: >> Hi, >> >> Is there a simple way to get back the original package defauft config? >> >> Example: I would l

Re: extract debian package default config

2009-03-26 Thread PierPaolo
On Thu, Mar 26, 2009 at 17:03, Celejar wrote: > On Thu, 26 Mar 2009 16:20:31 +0100 > Sylvain Viart wrote: > > > Hi, > > > > Is there a simple way to get back the original package defauft config? > > > > Example: I would like to get the original packaged apache2.conf > > > > Is there some command

Re: extract debian package default config

2009-03-26 Thread Boyd Stephen Smith Jr.
In <20090326120320.4a008a55.cele...@gmail.com>, Celejar wrote: >On Thu, 26 Mar 2009 16:20:31 +0100 >Sylvain Viart wrote: >> Is there a simple way to get back the original package defauft config? >> >> Is there some command which extract this from the package or is it >> extracted somewhere? >There

Re: extract debian package default config

2009-03-26 Thread Sylvain Viart
Hi Celejar, Is there some command which extract this from the package or is it extracted somewhere? There are probably better ways, but you can usually purge and reinstall Yes, that's what I've done. But doing that way I loose enabled modules and sites for apache. Not that hard to rein

Re: extract debian package default config

2009-03-26 Thread Yanyuan Zhu
gksu synaptic choose the package you want, right click -- complete remove then reinstall it it's a little stupid, though Sylvain Viart wrote: Hi, Is there a simple way to get back the original package defauft config? Example: I would like to get the original packaged apache2.conf Is there som

Re: extract debian package default config

2009-03-26 Thread Celejar
On Thu, 26 Mar 2009 16:20:31 +0100 Sylvain Viart wrote: > Hi, > > Is there a simple way to get back the original package defauft config? > > Example: I would like to get the original packaged apache2.conf > > Is there some command which extract this from the package or is it > extracted somew