Re: reinstalling config files
On 12/20/05, Alexander Schmehl [EMAIL PROTECTED] wrote: Hi! * Steve Mallett [EMAIL PROTECTED] [051220 19:01]: I was having trouble getting php4/apache2 to play nice on Sarge, apt-get removed then, which left the apche config files. stupidly I rm -rf'd apache2 can't install apache2's config files. apt-get install --reinstall apche2 does not work. Help appreciated in advance. Purging the packages finally should help. You can do this by running dpkg --purge $package_name. If you don't know the names of the packages you need to purge, you can search for removed packages, which have stil configuration filesinstalled by dpkg -l|grep ^rc. This didn't help. While dpkg --purge apache2 reported that it was purging apache2.. apt-get install apache2 didn't reinstall the need files under /etc/apache2 don't appear anywhere else that I see. -- Steve
Re: reinstalling config files
On Thu, Dec 29, 2005 at 10:38:28AM -0400, Steve Mallett wrote: This didn't help. While dpkg --purge apache2 reported that it was purging apache2.. apt-get install apache2 didn't reinstall the need files under /etc/apache2 don't appear anywhere else that I see. Probably the files are included in another package, I'd guess apache2-common. Run: apt-get install --reinstall apache2 apt-get install --reinstall apache2-common That should fix it. Steve (different!) -- Debian GNU/Linux System Administration http://www.debian-administration.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: reinstalling config files
Hi! * Steve Mallett [EMAIL PROTECTED] [051220 19:01]: I was having trouble getting php4/apache2 to play nice on Sarge, apt-get removed then, which left the apche config files. stupidly I rm -rf'd apache2 can't install apache2's config files. apt-get install --reinstall apche2 does not work. Debian can not only be installed or removed, but purged, too. The difference between remove and purge is, that removing a package leaves configuration files, while purging a packages removes them, too. Therefore Debians package management still thinks you have some kind of configartion (since you just removed the package and removed the files by hand). Help appreciated in advance. Purging the packages finally should help. You can do this by running dpkg --purge $package_name. If you don't know the names of the packages you need to purge, you can search for removed packages, which have stil configuration filesinstalled by dpkg -l|grep ^rc. Yours sincerely, Alexander -- http://learn.to/quote/ http://www.catb.org/~esr/faqs/smart-questions.html signature.asc Description: Digital signature