Bug#650000: Stray file /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove left after upgrade
Michael Biebl
biebl at debian.org
Fri Nov 25 13:04:01 UTC 2011
On 25.11.2011 13:13, Sam Morris wrote:
> Package: system-tools-backends
> Version: 2.10.1-2squeeze1
> Severity: minor
>
> I've noticed the file
> /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove on a couple
> of different systems. I don't remember ever modifying the file, so it
> should have been removed rather than left behind.
>
> dpkg.log says I've upgraded through the following versions:
>
> 2.10.0-2
> 2.10.1-1
> 2.10.1-2
> 2.10-1-2squeeze1
>
> Sadly the log only rotates so far back, and it looks like this file was
> removed in a really old version of the package (2.6.0-3?)
>
if [ -f /etc/dbus-1/system.d/system-tools-backends.conf ] && \
[ -f /etc/dbus-1/system.d/org.freedesktop.SystemToolsBackends.conf ]; then
# We have both old and new conffiles, which probably means that a version
# between 2.6.0-6.1 and 2.10.1-2 was installed.
if echo "68224c4af00f723e7e08992a91ddc9f286fc4f4c /etc/dbus-1/system.d/system-tools-backends.conf" |
sha1sum --check --status -; then
# Old conffile was not modified, let's just remove it
rm -f /etc/dbus-1/system.d/system-tools-backends.conf
else
# Otherwise, rename it
mv /etc/dbus-1/system.d/system-tools-backends.conf \
/etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove
fi
fi
That's the code in preinst. So either your system-tools-backends.conf
file was modified, or the sha1 in preinst is incorrect.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20111125/928ef84c/attachment.pgp>
More information about the pkg-gnome-maintainers
mailing list