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