Ralf Treinen
2009-Aug-18 18:27 UTC
[Logcheck-devel] Bug#542265: sendmail-base and logcheck-database: error when trying to install together
Package: logcheck-database,sendmail-base Version: logcheck-database/1.2.69 Version: sendmail-base/8.14.3-9 Severity: serious User: treinen at debian.org Usertags: edos-file-overwrite Date: 2009-08-18 Architecture: amd64 Distribution: sid Hi, automatic installation tests of packages that share a file and at the same time do not conflict by their package dependency relationships has detected the following problem: WARNING: The following packages cannot be authenticated! m4 perl-modules perl logcheck-database make sendmail-base Authentication warning overridden. Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously deselected package m4. (Reading database ... 8199 files and directories currently installed.) Unpacking m4 (from .../archives/m4_1.4.13-1_amd64.deb) ... Selecting previously deselected package perl-modules. Unpacking perl-modules (from .../perl-modules_5.10.0-25_all.deb) ... Selecting previously deselected package perl. Unpacking perl (from .../perl_5.10.0-25_amd64.deb) ... Selecting previously deselected package logcheck-database. Unpacking logcheck-database (from .../logcheck-database_1.3.3_all.deb) ... Selecting previously deselected package make. Unpacking make (from .../archives/make_3.81-6_amd64.deb) ... Selecting previously deselected package sendmail-base. Unpacking sendmail-base (from .../sendmail-base_8.14.3-9_all.deb) ... dpkg: error processing /var/cache/apt/archives/sendmail-base_8.14.3-9_all.deb (--unpack): trying to overwrite `/etc/logcheck/ignore.d.server/sendmail', which is also in package logcheck-database abort-install of sendmail-base Processing triggers for man-db ... Processing triggers for install-info ... Errors were encountered while processing: /var/cache/apt/archives/sendmail-base_8.14.3-9_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) This is a serious bug as it makes installation fail. Possible solutions are to have the two packages conflict, to rename the common file in one of the two packages, or to remove the file from one package and have this package depend on the other package. File diversions or a Replace relation are another possibility. Here is a list of files that are known to be shared by both packages (according to the Contents file for sid/amd64, which may be slightly out of sync): etc/logcheck/ignore.d.server/sendmail This bug is assigned to both packages. If you, the maintainers of the two packages in question, have agreed on which of the packages will resolve the problem please reassign the bug to that package. -Ralf.
Frédéric Brière
2009-Aug-21 00:44 UTC
[Logcheck-devel] Bug#542265: sendmail-base and logcheck-database: error when trying to install together
On Tue, Aug 18, 2009 at 08:27:32PM +0200, Ralf Treinen wrote:> etc/logcheck/ignore.d.server/sendmailThis file was brought to life by 1e1ad02 during the whole viol-merge saga. This was a mistake, as it's belonged to sendmail-base for years. What would be the best course of action? Should we remove that file manually in postinst when 1.3.0 <= old_version < 1.3.x? Is this foolproof? (I'm trying to think of a sitation where this would result in us pulling the rug from under sendmail-base's feet. What about when installing s-b *and* upgrading l-d in one swoop? Would that fool dpkg?) -- <james> Are we going to make an emacs out of apt? APT - Debian in a program. It even does your laundry -- Seen on #Debian
Debian Bug Tracking System
2009-Dec-10 19:21 UTC
[Logcheck-devel] Bug#542265: marked as done (logcheck-database: ignore.d.server/sendmail conflicts with sendmail-base)
Your message dated Thu, 10 Dec 2009 19:19:23 +0000 with message-id <E1NIoXr-0000Ng-BF at ries.debian.org> and subject line Bug#542265: fixed in logcheck 1.3.4 has caused the Debian Bug report #542265, regarding logcheck-database: ignore.d.server/sendmail conflicts with sendmail-base to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 542265: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542265 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Ralf Treinen <treinen at free.fr> Subject: sendmail-base and logcheck-database: error when trying to install together Date: Tue, 18 Aug 2009 20:27:32 +0200 Size: 4279 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/22840043/attachment-0002.eml> -------------- next part -------------- An embedded message was scrubbed... From: Gerfried Fuchs <rhonda at debian.at> Subject: Bug#542265: fixed in logcheck 1.3.4 Date: Thu, 10 Dec 2009 19:19:23 +0000 Size: 8647 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/22840043/attachment-0003.eml>
Reasonably Related Threads
- Bug#251364: logcheck: preinst has bashism, fails with dash and LANG != C
- Bug#344553: logcheck: Fails silently to read config file
- Bug#617527: logcheck-database: incomplete rules for scponly-full
- Bug#251046: logcheck: invalid mktemp -p option
- Bug#617530: logcheck-database: log format changed for postfix/smtpd when using XFORWARD