Debian Bug report logs -
#390823
apache2-common cannot be purged.
Reported by: Pierre Habouzit <madcoder@debian.org>
Date: Tue, 3 Oct 2006 09:33:14 UTC
Severity: serious
Fixed in version apache2/2.2.3-2
Done: Tollef Fog Heen <tfheen@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#390823; Package apache2-common.
(full text, mbox, link).
Acknowledgement sent to Pierre Habouzit <madcoder@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: apache2-common
Version: 2.0.55-4.2
Severity: serious
it should have been made an empty package, without maintainer scripts,
so that it could be purged, as it's superseeded with apache2.2-common.
[madcoder mad] LC_ALL=C sudo dpkg --purge apache2-common
(Reading database ... 142646 files and directories currently installed.)
Removing apache2-common ...
Purging configuration files for apache2-common ...
find: /etc/apache2: Permission denied
update-rc.d: /etc/init.d/apache2 exists during rc.d purge (use -f to
force)
dpkg: error processing apache2-common (--purge):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
apache2-common
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#390823; Package apache2-common.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>.
(full text, mbox, link).
Message #10 received at 390823@bugs.debian.org (full text, mbox, reply):
On Thu, Oct 05, 2006 at 09:11:04AM -0600, Steve Langasek wrote:
> So it's my recommendation to downgrade and "wontfix" this bug, since there's
> no way to fix apache2-common's postrm script after the fact without
> introducing a dummy package that re-breaks our dependency logic.
Oh, alternatively, apache2.2-common's postinst script could have as its last
line:
rm -f /var/lib/dpkg/info/apache2-common.postrm
Since apache2.2-common's conflict with apache2-common ensures that the
package is at least in state "removed" before this postinst is run.
Yes, release management has clearly scrambled my wits.
:-)
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#390823; Package apache2-common.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>.
(full text, mbox, link).
Message #15 received at 390823@bugs.debian.org (full text, mbox, reply):
On Tue, Oct 03, 2006 at 11:09:06AM +0200, Pierre Habouzit wrote:
> it should have been made an empty package, without maintainer scripts,
> so that it could be purged, as it's superseeded with apache2.2-common.
Totally not an option. The entire justification for renaming apache2-common
to apache2.2-common is to force the upgrade or removal of apache2 module
packages which depend on apache2-common and are built for a previous ABI. If
apache2-common continued to exist and be installable, it would need to
conflict with all the old versions of the apache2 modules, and it should
then be a real package again instead of a dummy package, reverting the
rename to apache2.2-common.
But I don't think that's actually a good idea; large numbers of versioned
conflicts are bad for apt, and it's hard to get such versioned conflicts
right when a simple rebuild (binNMU) of a package invalidates the version
assumptions in either direction.
> [madcoder mad] LC_ALL=C sudo dpkg --purge apache2-common
> (Reading database ... 142646 files and directories currently installed.)
> Removing apache2-common ...
> Purging configuration files for apache2-common ...
> find: /etc/apache2: Permission denied
> update-rc.d: /etc/init.d/apache2 exists during rc.d purge (use -f to
> force)
> dpkg: error processing apache2-common (--purge):
> subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
> apache2-common
As for purging apache2-common, the obvious problem is that purging
apache2-common is going to remove config files that are now shared with
apache2.2-common, and that's a Bad Thing. It is not, however, unique; I
have seen other upgrade scenarios before where config files changed owners,
no dummy package was possible (because the package name change is
deliberate, representing an API/ABI change, just like this one), and purging
therefore would have a detrimental effect on the system. I don't think such
bugs should be treated as RC, irritating though they are, because it's not
really common practice for users to purge removed packages after upgrade
anyway.
So it's my recommendation to downgrade and "wontfix" this bug, since there's
no way to fix apache2-common's postrm script after the fact without
introducing a dummy package that re-breaks our dependency logic. If people
feel strongly about purging apache2-common, they can always rm
/var/lib/dpkg/info/apache2-common.postrm by hand, which is also irritating
but not that rare in the history of Debian either. :-P
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#390823; Package apache2-common.
(full text, mbox, link).
Acknowledgement sent to Tollef Fog Heen <tfheen@err.no>:
Extra info received and forwarded to list. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>.
(full text, mbox, link).
Message #20 received at 390823@bugs.debian.org (full text, mbox, reply):
* Steve Langasek
| On Thu, Oct 05, 2006 at 09:11:04AM -0600, Steve Langasek wrote:
| > So it's my recommendation to downgrade and "wontfix" this bug, since there's
| > no way to fix apache2-common's postrm script after the fact without
| > introducing a dummy package that re-breaks our dependency logic.
|
| Oh, alternatively, apache2.2-common's postinst script could have as its last
| line:
|
| rm -f /var/lib/dpkg/info/apache2-common.postrm
We discussed this fairly extensively on IRC today and are going to end
up doing this. It's less crackful than the alternatives, really.
Packaging apache has clearly scrambled my wits as well. :-)
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
Reply sent to Tollef Fog Heen <tfheen@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Pierre Habouzit <madcoder@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #27 received at 390823-close@bugs.debian.org (full text, mbox, reply):
Source: apache2
Source-Version: 2.2.3-2
We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:
apache2-doc_2.2.3-2_all.deb
to pool/main/a/apache2/apache2-doc_2.2.3-2_all.deb
apache2-mpm-event_2.2.3-2_amd64.deb
to pool/main/a/apache2/apache2-mpm-event_2.2.3-2_amd64.deb
apache2-mpm-perchild_2.2.3-2_all.deb
to pool/main/a/apache2/apache2-mpm-perchild_2.2.3-2_all.deb
apache2-mpm-prefork_2.2.3-2_amd64.deb
to pool/main/a/apache2/apache2-mpm-prefork_2.2.3-2_amd64.deb
apache2-mpm-worker_2.2.3-2_amd64.deb
to pool/main/a/apache2/apache2-mpm-worker_2.2.3-2_amd64.deb
apache2-prefork-dev_2.2.3-2_amd64.deb
to pool/main/a/apache2/apache2-prefork-dev_2.2.3-2_amd64.deb
apache2-threaded-dev_2.2.3-2_amd64.deb
to pool/main/a/apache2/apache2-threaded-dev_2.2.3-2_amd64.deb
apache2-utils_2.2.3-2_amd64.deb
to pool/main/a/apache2/apache2-utils_2.2.3-2_amd64.deb
apache2.2-common_2.2.3-2_amd64.deb
to pool/main/a/apache2/apache2.2-common_2.2.3-2_amd64.deb
apache2_2.2.3-2.diff.gz
to pool/main/a/apache2/apache2_2.2.3-2.diff.gz
apache2_2.2.3-2.dsc
to pool/main/a/apache2/apache2_2.2.3-2.dsc
apache2_2.2.3-2_all.deb
to pool/main/a/apache2/apache2_2.2.3-2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 390823@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tollef Fog Heen <tfheen@debian.org> (supplier of updated apache2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 3 Oct 2006 10:03:48 +0200
Source: apache2
Binary: apache2-utils apache2-prefork-dev apache2 apache2-mpm-prefork apache2-doc apache2-mpm-event apache2.2-common apache2-mpm-worker apache2-threaded-dev apache2-mpm-perchild
Architecture: source all amd64
Version: 2.2.3-2
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Tollef Fog Heen <tfheen@debian.org>
Description:
apache2 - Next generation, scalable, extendable web server
apache2-doc - documentation for apache2
apache2-mpm-event - Event driven model for Apache HTTPD 2.1
apache2-mpm-perchild - Transitional package - please remove
apache2-mpm-prefork - Traditional model for Apache HTTPD 2.1
apache2-mpm-worker - High speed threaded model for Apache HTTPD 2.1
apache2-prefork-dev - development headers for apache2
apache2-threaded-dev - development headers for apache2
apache2-utils - utility programs for webservers
apache2.2-common - Next generation, scalable, extendable web server
Closes: 376680 390774 390785 390786 390794 390823 390893 391018 391393
Changes:
apache2 (2.2.3-2) unstable; urgency=low
.
* Make sure to ship /var/log/apache2 in the apache2.2-common package.
Closes: #390786
* Install suexec.8 as suexec2.8. Closes: #390774
* Make sure that we never ship .svn directories in any binary packages.
Closes: #390785
* Not only chmod -x /usr/sbin/apache2 in apache2.2-common.preinst, chmod
+x it in same's postinst too. Closes: #390794
* We now ship htcacheclean in apache2-utils. Closes: #376680
* Try to stop old apaches in preinst of the mpms. Closes: #390893
* Make apache2-mpm-{worker,prefork} conflict with apache2-mpm-event and
apache2-common.
* rm -f /var/lib/dpkg/info/apache2-common.postrm. So apache2-common can
be purged. Yes, we're on crack. Closes: #390823
* Make apache2-utils's Replaces on apache2-common be unversioned.
Closes: #391018
* Stop shipping cern_meta.load, dumpio.load and ext_filter.load. Thanks
to Stephane Chazelas for noticing. Closes: #391393
Files:
d65c81c6cd95e147613a376f874514d5 1008 web optional apache2_2.2.3-2.dsc
2b49689b5a5ac143f43c86e25226b821 93019 web optional apache2_2.2.3-2.diff.gz
6252405c4c64edf9c376087c43756f43 977968 web optional apache2.2-common_2.2.3-2_amd64.deb
3aed927832e42c3365a961be693f675e 431400 web optional apache2-mpm-worker_2.2.3-2_amd64.deb
b3f4ec26506e3c5df17ac3054b55944d 427480 web optional apache2-mpm-prefork_2.2.3-2_amd64.deb
3ca7cd76ba74d6aba8128442aed06b4e 432166 web optional apache2-mpm-event_2.2.3-2_amd64.deb
5914b1d23818173699dc4f6dec2a2ca2 338058 web optional apache2-utils_2.2.3-2_amd64.deb
f4c4b1fd0875ccfcb249f91d240ef297 402100 devel optional apache2-prefork-dev_2.2.3-2_amd64.deb
8e1c17229e3aaf8f0ff6626919d4d8bc 402842 devel optional apache2-threaded-dev_2.2.3-2_amd64.deb
e72df0987e77a58c020dc7f9ceee894d 270354 web optional apache2-mpm-perchild_2.2.3-2_all.deb
124b18661d11284d19a779bd0abe95d2 37268 web optional apache2_2.2.3-2_all.deb
a49a3674765b53e17b3cd2499cef024a 2244402 doc optional apache2-doc_2.2.3-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFFJtScQSseMYF6mWoRAkmXAJ9znOjF7otsoEgT9JaMQ0IdwsVPvQCeIHx1
gtU/rfr4+Cwsdkfn5phGVJQ=
=IDjp
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 24 Jun 2007 22:08:59 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 03:27:07 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.