package gosa 2.5.19-2 failed to install/upgrade: Unterprozess installiertes post-removal-Skript gab den Fehlerwert 1 zurück
Bug #575268 reported by
Jürgen Schroll
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gosa (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Binary package hint: gosa
I can't purge or remove gosa
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: gosa 2.5.19-2
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
AptOrdering: gosa: Remove
Architecture: amd64
Date: Tue May 4 18:38:16 2010
ErrorMessage: Unterprozess installiertes post-removal-Skript gab den Fehlerwert 1 zurück
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitec
SourcePackage: gosa
Title: package gosa 2.5.19-2 failed to install/upgrade: Unterprozess installiertes post-removal-Skript gab den Fehlerwert 1 zurück
Changed in gosa (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
in /var/lib/ dpkg/info/ gosa.postrm:
for srv in apache apache-ssl; do
dpkg -s $srv 2>&1 | grep -q "^Status: .*not-installed "
servers= "$srv $servers"
if [ $? -eq 1 ]; then
fi
done
looks like dpkg -s $srv 2>&1 | grep -q "^Status: .*not-installed " no longer works as expected since these packages are deprecated theres no info available and this causes the script to exit
i'm guessing its trying to find a way to remove the gosa.conf scripts from server configs in /etc but this wouldnt remove /etc/apache2/ conf.d/ gosa.conf anyway
since gosa now depends on apache2 it might be ok just to remove the above lines and just attempt to remove the config
if [ -e /etc/apache2/ conf.d/ gosa.conf ]; then conf.d/ gosa.conf
rm /etc/apache2/
fi