Bug#679356: For users who had base-files 6.8 installed, dpkg considers /etc/profile an (obsolete) conffile
On Sat, Jun 30, 2012 at 02:57:34PM +0200, Santiago Vila wrote: > On Wed, 27 Jun 2012, Josh Triplett wrote: > > Package: base-files > > Version: 6.11 > > Severity: normal > > > > base-files 6.8 had /etc/profile as a conffile. Thus, users who had > > 6.8 installed and subsequently upgraded to a later version will have > > /etc/profile marked as an obsolete conffile in the dpkg database: > > > > ~$ dpkg-query -f '${Conffiles}\n' -W base-files | grep obsolete > > /etc/profile 91901ce5707909cfec8b3a1a6efbfa61 obsolete > > So what's the dpkg command that I can use in postinst to tell dpkg > that this file is not really obsolete but just a configuration file > which is not a conffile? Is there one such dpkg command? Probably some dpkg-maintscript-helper invocation that doesn't exist yet. You could copy the file aside, use rm_conffile, and restore it, but that seems wrong (and error-prone). > Or are you suggesting that I fiddle with dpkg database directly? > (I hope not). Definitely not. > This seems more a dpkg bug/feature which affects base-files than > a base-files bug to me. I definitely agree that a bug exists in dpkg here, but nonetheless I think base-files will need to clean up the result. However, given that it only affects people with one specific version of base-files installed, it doesn't seem like a high priority. - Josh Triplett -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#679356: For users who had base-files 6.8 installed, dpkg considers /etc/profile an (obsolete) conffile
On Wed, 27 Jun 2012, Josh Triplett wrote: > Package: base-files > Version: 6.11 > Severity: normal > > base-files 6.8 had /etc/profile as a conffile. Thus, users who had > 6.8 installed and subsequently upgraded to a later version will have > /etc/profile marked as an obsolete conffile in the dpkg database: > > ~$ dpkg-query -f '${Conffiles}\n' -W base-files | grep obsolete > /etc/profile 91901ce5707909cfec8b3a1a6efbfa61 obsolete So what's the dpkg command that I can use in postinst to tell dpkg that this file is not really obsolete but just a configuration file which is not a conffile? Is there one such dpkg command? Or are you suggesting that I fiddle with dpkg database directly? (I hope not). This seems more a dpkg bug/feature which affects base-files than a base-files bug to me. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#679356: For users who had base-files 6.8 installed, dpkg considers /etc/profile an (obsolete) conffile
Package: base-files Version: 6.11 Severity: normal base-files 6.8 had /etc/profile as a conffile. Thus, users who had 6.8 installed and subsequently upgraded to a later version will have /etc/profile marked as an obsolete conffile in the dpkg database: ~$ dpkg-query -f '${Conffiles}\n' -W base-files | grep obsolete /etc/profile 91901ce5707909cfec8b3a1a6efbfa61 obsolete - Josh Triplett -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages base-files depends on: ii gawk [awk] 1:4.0.1+dfsg-2 base-files recommends no packages. base-files suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org