Re: How to reinstall config files
From: Ed Shornock (debian-ml_at_crazeecanuck.homelinux.net)
Date: 04/09/05
- Previous message: Miquel van Smoorenburg: "Re: Gtk-WARNING: cannot open display"
- In reply to: marko.helle_at_pp.nic.fi: "How to reinstall config files"
- Next in thread: marko.helle_at_pp.nic.fi: "Re: How to reinstall config files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 08 Apr 2005 19:54:01 -0400 To: debian-user@lists.debian.org
marko.helle@pp.nic.fi wrote:
> I had apache2 installed and working. Then I removed
> it with:
> apt-get remove --purge apache2
>
>
Does the "--purge" have to be before the "remove"? I don't know, but
that's the way I've always done it.
>
> I was confused about this and just deleted that dir:
> rm -rf /etc/apache2
>
OK
>
> 2nd question: How can I perform full reinstall?
Well...what does 'dpkg -l apache2' show?
This e-mail reminded me that I still had apache1's configs laying around
(I removed the package without purging it). So on my box I *had*:
# dpkg -l apache
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version
Description
+++-===============================-===============================-==============================================================================
rc apache 1.3.33-3
versatile, high-performance HTTP server
# dpkg -P apache
(Reading database ... 272705 files and directories currently installed.)
Removing apache ...
Purging configuration files for apache ...
# dpkg -l apache
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version
Description
+++-===============================-===============================-==============================================================================
pn apache <none> (no
description available)
I would suggest trying "dpkg -P apache2" then "apt-get install apache2"
HTH
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Miquel van Smoorenburg: "Re: Gtk-WARNING: cannot open display"
- In reply to: marko.helle_at_pp.nic.fi: "How to reinstall config files"
- Next in thread: marko.helle_at_pp.nic.fi: "Re: How to reinstall config files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|