[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: package



On Tue, Mar 06, 2001 at 03:10:26PM +0100, dko wrote:
> 
> hello
> when i reinstall a package apt-get take configs i've made
> i'd like to reinstall a package with it's default config. how can i do that.
> i removed config files in /etc but it doesn't work.

dpkg --purge <pkg>; apt-get install <pkg>

Purge ensures that all config files are removed.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: