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

Bug#109691: marked as done ([CONFFILE] dpkg: conffiles vs replaces)



Your message dated Sun, 25 Apr 2004 14:17:03 -0400
with message-id <E1BHoBb-0002Zm-00@newraff.debian.org>
and subject line Bug#10879: fixed in dpkg 1.10.21
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Aug 2001 22:27:02 +0000
>From cowboy@vnet.ibm.com Wed Aug 22 17:27:02 2001
Return-path: <cowboy@vnet.ibm.com>
Received: from e21.nc.us.ibm.com [32.97.136.227] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15ZgSg-0008LW-00; Wed, 22 Aug 2001 17:27:00 -0500
Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209])
	by e21.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id RAA71812
	for <submit@bugs.debian.org>; Wed, 22 Aug 2001 17:24:14 -0500
Received: from badlands.lexington.ibm.com (badlands.lexington.ibm.com [9.51.81.11])
	by southrelay02.raleigh.ibm.com (8.11.1m3/NCO v4.97) with ESMTP id f7MMQN6181374
	for <submit@bugs.debian.org>; Wed, 22 Aug 2001 18:26:23 -0400
Received: from badlands.lexington.ibm.com (IDENT:O6xa2YTLULvKFnZvsO4ZDyljRfv2srmi@localhost [127.0.0.1])
        (authenticated (1 bits))
        by localhost (8.12.0.Beta19/8.12.0.Beta19/Debian 8.12.0.Beta19) with ESMTP id f7MMOgwC013656
        (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT);
	Wed, 22 Aug 2001 18:24:43 -0400
From: Richard A Nelson <cowboy@vnet.ibm.com>
Received: (from cowboy@localhost)
        by badlands.lexington.ibm.com (8.12.0.Beta19/8.12.0.Beta19/Debian 8.12.0.Beta19) id f7MMOffY013645;
	Wed, 22 Aug 2001 18:24:41 -0400
Date: Wed, 22 Aug 2001 18:24:41 -0400
Message-Id: <200108222224.f7MMOffY013645@badlands.lexington.ibm.com>
Subject: dpkg: conffiles vs replaces
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10
Delivered-To: submit@bugs.debian.org

Package: dpkg
Version: 1.9.16
Severity: important

hrm... it seems dpkg is behaving in violation of Policy section
`7.5.1 Overwriting files in other packages'

I've been trying to get a sendmail-tls package setup so that one could
seemlessly change from sendmail to sendmail-tls (and back again).

The conffiles names and contents are *identicle* in the two packages,
and they each 'Replaces:' the other.

After installing sendmail, then sendmail-tls, sendmail doesn't disapear,
and a dpkg --purge on it will incorrectly (according to policy) remove
the conffiles!

The source package is built with debhelper v3, so there isn't any
*.conffile files in debian/ - the list is built by debhelper scripts.

I'm including a small snippet of a session showing the relevant portions
of commands and outputs.

********************************************************************************
# dpkg --install sendmail
# dpkg --install sendmail-tls
# dpkg --remove sendmail
dpkg - warning: ignoring request to remove sendmail, only the config
 files of which are on the system.  Use --purge to remove them too.

********************************************************************************
# dpkg -s sendmail
Package: sendmail
Status: install ok config-files
Priority: extra
Section: mail
Installed-Size: 3804
Maintainer: Richard A Nelson (Rick) <cowboy@debian.org>
Version: 8.11.6+8.12.0.Beta19-1
Config-Version: 8.11.6+8.12.0.Beta19-1
Replaces: mail-transport-agent, sendmail-tls
Provides: mail-transport-agent
Depends: m4, gawk, logrotate, libc6 (>= 2.2.3-7), libdb3 (>= 3.2.9-1), libldap2 (>= 2.0.11-1), liblockfile1 (>= 1.0), libsasl7, libwrap0, perl | perl
Suggests: sendmail-doc (>= 8.11.6+8.12.0.Beta19-1), mail-reader, procmail | mailagent | maildrop | deliver, logcheck, make
Conflicts: mail-transport-agent
Conffiles:
 /etc/cron.daily/sendmail ff39b86434c63c4847aa1471844f8d3c
 /etc/init.d/sendmail df7dbf659153c35a8cb60880f3d99fd7
 /etc/logcheck/ignore.d.paranoid/sendmail 3ed591a89001d8ee88589aa0c381124a
 /etc/logcheck/ignore.d.server/sendmail 3ed591a89001d8ee88589aa0c381124a
 /etc/logcheck/ignore.d.workstation/sendmail 2276531190a430fc0b9873c7331b991a
 /etc/logcheck/violations.ignore.d/sendmail 5b115ccc2e5116f56d8b90cdad2096c6
 /etc/logrotate.d/sendmail dc4efe3db0678dee66ef0ef757bda9b4
 /etc/mail/peers/provider 2f05d682a8fd4b9a175c0d6e36bc394d
 /etc/mail/helpfile ec9b3d66802589133bf4fecaef14e574
 /etc/mail/service.switch 6791868ea38079cb94e54048973ee716
 /etc/mail/service.switch-nodns 6aa914ad67c820bcdd5fda8a257355f1
 /etc/pam.d/smtp 035fa4dbcf7721e5d6f783a3b4f19b61
 /etc/ppp/ip-up.d/sendmail 7af7b3d4ae8f6b2fb30e5705fee5ace8
 /etc/ppp/ip-down.d/sendmail 330469680f0c7a1a6d57592328967c2f
Description: A powerful, efficient, and scalable Mail Transport Agent.
[snip]

********************************************************************************
# dpkg -s sendmail-tls
Package: sendmail-tls
Status: install ok installed
Priority: extra
Section: mail
Installed-Size: 3856
Maintainer: Sendmail Maintainer <sendmail@packages.debian.org>
Version: 8.11.6+8.12.0.Beta19-1
Replaces: mail-transport-agent, sendmail
Provides: mail-transport-agent, sendmail
Depends: m4, gawk, logrotate, libc6 (>= 2.2.3-7), libdb3 (>= 3.2.9-1), libldap2 (>= 2.0.11-1), liblockfile1 (>= 1.0), libsasl7, libssl0.9.6, libwrap0, perl | perl
Suggests: sendmail-doc (>= 8.11.6+8.12.0.Beta19-1), mail-reader, procmail | mailagent | maildrop | deliver, logcheck, make
Conflicts: mail-transport-agent
Conffiles:
 /etc/cron.daily/sendmail ff39b86434c63c4847aa1471844f8d3c
 /etc/init.d/sendmail df7dbf659153c35a8cb60880f3d99fd7
 /etc/logcheck/ignore.d.paranoid/sendmail 3ed591a89001d8ee88589aa0c381124a
 /etc/logcheck/ignore.d.server/sendmail 3ed591a89001d8ee88589aa0c381124a
 /etc/logcheck/ignore.d.workstation/sendmail 2276531190a430fc0b9873c7331b991a
 /etc/logcheck/violations.ignore.d/sendmail 5b115ccc2e5116f56d8b90cdad2096c6
 /etc/logrotate.d/sendmail dc4efe3db0678dee66ef0ef757bda9b4
 /etc/mail/peers/provider 2f05d682a8fd4b9a175c0d6e36bc394d
 /etc/mail/helpfile ec9b3d66802589133bf4fecaef14e574
 /etc/mail/service.switch 6791868ea38079cb94e54048973ee716
 /etc/mail/service.switch-nodns 6aa914ad67c820bcdd5fda8a257355f1
 /etc/pam.d/smtp 035fa4dbcf7721e5d6f783a3b4f19b61
 /etc/ppp/ip-up.d/sendmail 7af7b3d4ae8f6b2fb30e5705fee5ace8
 /etc/ppp/ip-down.d/sendmail 330469680f0c7a1a6d57592328967c2f
Description: A powerful, efficient, and scalable Mail Transport Agent.
[snip]

********************************************************************************
# ls -l /var/lib/dpkg/info/sendmail*
-rw-r--r-- 1 root root   409 Aug 22 16:53 sendmail-tls.conffiles
-rw-r--r-- 1 root root 14243 Aug 22 18:03 sendmail-tls.list
-rw-r--r-- 1 root root 20461 Aug 22 16:53 sendmail-tls.md5sums
-rwxr-xr-x 1 root root  9354 Aug 22 16:53 sendmail-tls.postinst
-rwxr-xr-x 1 root root  3537 Aug 22 16:53 sendmail-tls.postrm
-rwxr-xr-x 1 root root   867 Aug 22 16:53 sendmail-tls.preinst
-rwxr-xr-x 1 root root  2645 Aug 22 16:53 sendmail-tls.prerm
-rw-r--r-- 1 root root     0 Aug 22 18:03 sendmail.list
-rwxr-xr-x 1 root root  3537 Aug 22 17:13 sendmail.postrm

********************************************************************************
# dpkg --purge sendmail
(Reading database ... 11600 files and directories currently installed.)
Removing sendmail ...
Purging configuration files for sendmail ...
Purging replaced package sendmail, nothing to do...

********************************************************************************
# ls -l /etc/init.d/sendmail /etc/pam.d/sendmail
ls: /etc/init.d/sendmail: No such file or directory
ls: /etc/pam.d/sendmail: No such file or directory

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux badlands.lexington.ibm.com 2.4.8-ac7 #12 Sun Aug 19 16:11:45 EDT 2001 i686 unknown

Versions of the packages dpkg depends on:
ii  libc6          2.2.4-1        GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.2.20010318-3 Shared libraries for terminal handling
ii  libstdc++2.10- 2.95.4-0.01081 The GNU stdc++ library

---------------------------------------
Received: (at 10879-close) by bugs.debian.org; 25 Apr 2004 18:23:28 +0000
>From katie@ftp-master.debian.org Sun Apr 25 11:23:28 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHoHo-0004of-00; Sun, 25 Apr 2004 11:23:28 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BHoBb-0002Zm-00; Sun, 25 Apr 2004 14:17:03 -0400
From: Scott James Remnant <scott@netsplit.com>
To: 10879-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#10879: fixed in dpkg 1.10.21
Message-Id: <E1BHoBb-0002Zm-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 25 Apr 2004 14:17:03 -0400
Delivered-To: 10879-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: dpkg
Source-Version: 1.10.21

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:

dpkg-dev_1.10.21_all.deb
  to pool/main/d/dpkg/dpkg-dev_1.10.21_all.deb
dpkg-doc_1.10.21_all.deb
  to pool/main/d/dpkg/dpkg-doc_1.10.21_all.deb
dpkg_1.10.21.dsc
  to pool/main/d/dpkg/dpkg_1.10.21.dsc
dpkg_1.10.21.tar.gz
  to pool/main/d/dpkg/dpkg_1.10.21.tar.gz
dpkg_1.10.21_i386.deb
  to pool/main/d/dpkg/dpkg_1.10.21_i386.deb
dselect_1.10.21_i386.deb
  to pool/main/d/dpkg/dselect_1.10.21_i386.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 10879@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott James Remnant <scott@netsplit.com> (supplier of updated dpkg 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: Sun, 25 Apr 2004 18:55:10 +0100
Source: dpkg
Binary: dpkg-doc dpkg dselect dpkg-dev dpkg-static
Architecture: source all i386
Version: 1.10.21
Distribution: unstable
Urgency: low
Maintainer: Dpkg Development <debian-dpkg@lists.debian.org>
Changed-By: Scott James Remnant <scott@netsplit.com>
Description: 
 dpkg       - Package maintenance system for Debian
 dpkg-dev   - Package building tools for Debian
 dpkg-doc   - Dpkg Internals Documentation
 dselect    - a user tool to manage Debian packages
Closes: 10879 33046 47267 90623 98210 102094 109669 109691 115352 120970 124225 146167 151799 155456 158916 160761 161156 166052 171489 174973 174978 179192 187952 200701 200763 204275 207758 214699 219210 220776 225086 233614 237589 237624 237864 239000 240081 241503 242870 243191 244098 244316
Changes: 
 dpkg (1.10.21) unstable; urgency=low
 .
   * Fix incorrect linked list node removal code that caused every second
     shared or diverted conffile to be deleted by dpkg.
     Closes: #10879, #33046, #47267, #90623, #98210, #109691, #146167.
     Closes: #155456, #204275.
   * Call mknod with the required device type.  Closes: #158916.
   * Correct the default query output format to be consistent with
     what the underlying library expects.  Closes: #174973.
   * Fix missing NULL-termination in dpkg-query -W display of dependency
     fields.  Closes: #174978
   * Strip output from md5sum(1) after the first whitespace character.
     Closes: #200763.
   * Output a warning if we cannot open a configuration file instead of
     treating it as a fatal error, in case our home directory is not readable
     by root.  Closes: #200701.
   * Set LC_ALL to C before spawning off dpkg --search, to avoid searching
     on localized strings.  Closes: #244316.
   * Don't require argument for start-stop-daemon -V.  Closes: #237589.
   * Correct use of @ARGV within dpkg-scanpackages, allowing -u to work
     once again.  Closes: #225086, #241503.
   * Make sure file permissions passed to dpkg-statoverride are numeric.
     Closes: #161156.
   * Correctly break out of the loop in install-info.
     Closes: #124225, #160761.
   * Add --dir-file option to install-info for GNU install-info
     compatibility.  Closes: #179192
   * Refer to debian-policy in dpkg-doc's description instead of the
     non-existant packaging-manual.  Closes: #120970.
   * Remove incorrect mention of build-essential from dpkg-checkbuilddeps
     manpage.  Closes: #219210.
   * Add a note about diverting shared libraries to the dpkg-divert
     manpage.  Closes: #214699.
   * Updated Translations:
     - Brazilian Portugese (Andre Luis Lopes).  Closes: #237864.
     - Catalan (Jordi Mallach).
     - Danish (Claus Hindsgaul).  Closes: #237624.
     - Dutch (Pieter-Paul Spiertz, Bart Cornelis, Erwin).
       Closes: #102094, #151799, #207758.
     - French (Sam Hocevar).  Closes: #243191.
     - German (Florian Ernst).  Closes: #109669, #115352, #187952, #244098.
     - Japanese manpages (KISE Hiroshi).  Closes: #220776.
     - Polish (Bartosz Fenski).  Closes: #242870.
     - Spanish (Javier Fernández-Sanguino Peña).  Closes: #166052.
     - Swedish (Peter Karlsson).
   * New Translations:
     - Japanese dpkg-source manpage (KISE Hiroshi).  Closes: #239000.
     - Norwegian Nynorsk (Gaute Hvoslef Kvalnes).  Closes: #233614.
     - Portguese (Miguel Figueiredo).  Closes: #240081.
     - Spanish dpkg-source manpage (Ruben Porras).  Closes: #171489.
Files: 
 3c0ee1d26bd55362b92eee8e6255aee0 798 base required dpkg_1.10.21.dsc
 a9f6c43891db74d727beab7dfc0ee663 1682647 base required dpkg_1.10.21.tar.gz
 e492251ba4cf345982782b7880056e1f 1220962 base required dpkg_1.10.21_i386.deb
 132ac9df0f3dd8fd8b7adbf409f8ed3e 105530 base required dselect_1.10.21_i386.deb
 48e0a00caea19997c46ad2d7539b2731 137490 utils standard dpkg-dev_1.10.21_all.deb
 794381a64e07416e48af7d6bb4ae52d0 10620 doc optional dpkg-doc_1.10.21_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAi/2fIexP3IStZ2wRAn8pAJ9/rxk0uozGIQta1eA1i+IQZIQx9QCgpA1B
Hn7++hlhNM0b38XnzfCRzhg=
=GiSq
-----END PGP SIGNATURE-----



Reply to: