[Bug 583698] [NEW] hardy-proposed (2.2.8-1ubuntu0.16) uninstallable
Thorsten Glaser
t.glaser at tarent.de
Fri May 21 09:38:20 BST 2010
Public bug reported:
Binary package hint: apache2
Setting up apache2.2-common (2.2.8-1ubuntu0.16) ...
chmod: invalid mode: `root'
Try `chmod --help' for more information.
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.8-1ubuntu0.16); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (>= 2.2.8-1ubuntu0.16) | apache2-mpm-prefork (>= 2.2.8-1ubuntu0.16) | apache2-mpm-event (>= 2.2.8-1ubuntu0.16); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-event is not installed.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
The problem lies here:
if [ -e /usr/sbin/apache2 ]; then
if [ "`dpkg-statoverride --list /usr/sbin/apache2`" = "" ]; then
chmod +x /usr/sbin/apache2
else
chmod `dpkg-statoverride --list /usr/sbin/apache2 | cut -f 3` /usr/sbin/apache2
fi
fi
$ dpkg-statoverride --list /usr/sbin/apache2
root root 644 /usr/sbin/apache2
$ dpkg-statoverride --list /usr/sbin/apache2 | cut -f 3
root root 644 /usr/sbin/apache2
With “set -x” added to /var/lib/dpkg/info/apache2.2-common.postinst:
Setting up apache2.2-common (2.2.8-1ubuntu0.16) ...
+ [ configure != configure ]
+ NETSTAT=netstat
+ [ -e /usr/sbin/apache2 ]
+ dpkg-statoverride --list /usr/sbin/apache2
+ [ root root 644 /usr/sbin/apache2 = ]
+ dpkg-statoverride --list /usr/sbin/apache2
+ cut -f 3
+ chmod root root 644 /usr/sbin/apache2 /usr/sbin/apache2
chmod: invalid mode: `root'
[…]
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: New
--
hardy-proposed (2.2.8-1ubuntu0.16) uninstallable
https://bugs.launchpad.net/bugs/583698
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list