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

Re: Purging config file of removed package



Am Sonntag, 4. Februar 2007 18:36 schrieb Florian Kulzer:
> On Sun, Feb 04, 2007 at 17:11:36 +0100, Rainer Dorsch wrote:
> > Hello,
> >
> > during the upgrade of udev, it found that I still have
> > /etc/init.d/hotplug. This is true, but since I remove the hotplug package
> > before (apt-get remove hotplug) I have still the config files.
> >
> > Not "apt-get remove --purge hotplug" does not work (see below). Can
> > anybody tell how I can purge config files?
>
> [...]
>
> > grieve:~# apt-get remove --purge hotplug
> > Reading package lists... Done
> > Building dependency tree... Done
> > Package hotplug is not installed, so not removed
> > 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
> > grieve:~#
>
> Try "dpkg -P hotplug".
>
> If the package is properly purged you should see this:
>
> $ dpkg -l hotplug
> 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  hotplug              <none>              
> (no description available)
>

Florian,

worked well:

grieve:~# dpkg -P hotplug
(Lese Datenbank ... 147260 Dateien und Verzeichnisse sind derzeit 
installiert.)
Entferne hotplug ...
Lösche Konfigurationsdateien von hotplug ...
grieve:~# dpkg -s hotplug
Package: hotplug
Status: purge ok not-installed
Priority: optional
Section: admin
grieve:~# dpkg -l hotplug
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Säubern/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install.
|/ Fehler?=(kein)/Halten/R=Neuinst notw/X=beide (Status, Fehler: 
GROSS=schlecht)
||/ Name           Version        Beschreibung
+++-==============-==============-============================================
pn  hotplug        <keine>        (keine Beschreibung vorhanden)
grieve:~#

Thanks,
Rainer

-- 
Rainer Dorsch
Alzentalstr. 28
D-71083 Herrenberg
07032-919495
jabber: rdorsch@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/



Reply to: