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

Re: APT - DPKG Fehler



Am Fr 08.09.2006 10:13 schrieb sascha@schauf-network.de:
> [...]
> Code:
> 
> *******:~# apt-get upgrade -f
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 5 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Setting up apache-common (1.3.33-6sarge3) ...
> addgroup: The group `www-data' already exists.
> dpkg: error processing apache-common (--configure):
> subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of apache:
> apache depends on apache-common (>= 1.3.33-6sarge3); however:
> Package apache-common is not configured yet.
> [...]

Da steht recht deutlich, dass das Postinstallation-Skript des Pakets
apache-common einen exit-Status von 1 liefert. Damit bricht die
Installation ab. Ob das Problem mit der addgroup-Meldung direkt davor
zusammenhängt ist nicht sicher, da hilft nur ein Blick in das Skript.

Du kannst Dir mal unter /var/lib/dpkg/.../ (sorry, aktuell kein Debian
zur Hand)
das postinst-Skript anschauen und herausfinden warum das so ist.

Alternativ lösche ich in derartigen Fällen das Paket (ggf, auch
dependency-Pakete) und installiere es mit apt-get neu. Meist geht es
dann.

Hth -- Peter
-- 
Peter.Weiss@consol.de                         ConSol* Software GmbH
Phone  +49 89 45841-100                       Consulting & Solutions
Mobile +49 177 6040121                        Franziskanerstr. 38
http://www.consol.de                          D-81669 München



Reply to: