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

Re: accidently overwrite /etc/syslog.conf



hi,  dpkg --force-confnew requires an action option.  

dpkg: need an action option


What should it be ? 

thanks 

On Tue, 2002-05-28 at 07:26, Colin Watson wrote:
> On Tue, May 28, 2002 at 06:09:05AM -0400, tvn1981 wrote:
> > I accidently overwrote the file /etc/syslog.conf - (was trying to append
> > but instead use echo "command" > /etc/syslong.conf instead of >>)
> > 
> > Is there anyway I can rebuild this file ?  or uninstall or reinstall
> > some package that can rebuild it ?
> 
> Fetch the sysklogd package ('apt-cache show sysklogd | grep ^Filename:'
> shows you the file you need to get from your local Debian mirror) and
> install it with 'dpkg --force-confnew sysklogd_1.4.1-10_i386.deb' (or
> whatever the filename is).
> 
> This will restore all sysklogd's conffiles to their defaults.
> 
> -- 
> Colin Watson                                  [cjwatson@flatline.org.uk]
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: