Bug#650000: Stray file /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove left after upgrade

Michael Biebl biebl at debian.org
Sat Nov 26 14:40:53 UTC 2011


reopen 650000
thanks
Am 26.11.2011 14:04, schrieb Paul Menzel:
> Am Samstag, den 26.11.2011, 12:15 +0000 schrieb Sam Morris:
>> On Fri, 2011-11-25 at 14:04 +0100, Michael Biebl wrote:
>>> That's the code in preinst. So either your system-tools-backends.conf
>>> file was modified, or the sha1 in preinst is incorrect.
>>
>> The diff between the file shipped by system-tools-backend in lenny and
>> the obsolete file on my system:

..

> I have the same leftover file and the checksum therefore differs.
> 
>         $ sha1sum /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove 
>         1be2394739e54132aebed6ea579c9de5e10cefa0  /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove
>         $ LANG=C ls -l /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove
>         -rw-r--r-- 1 root root 3386 Mar 12  2009 /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove

Sam, what's the sha1 checksum of your leftover file?

>> I'm guessing this came from a version of the package in-between the one
>> in lenny and the one in squeeze. If that's the case then the upgrade
>> code wouldn't remove the file since it only expects you to upgrade from
>> lenny to squeeze.

Apparently there were different versions of the conffile between lenny
and squeeze and therefore we'd need to check against a list of sha1
checksums.

>> Assuming that dbus ignores configuration files files named *.dpkg-*, it
>> seems un-necessary to fix the package to handle this upgrade (assuming
>> that that is where this version of the file even came from), so I'm
>> closing the bug.

It's correct that dbus only reads .conf files. So you won't have any
negative side effects appart from some junk laying around on your system.

I guess we need a clean up code for the clean up code, to properly
remove the wrongly renamed .dpkg-remove files.

Michael



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20111126/0b4920de/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list