I reported to both bug reports because there is something specific to
my issue.
In my case the desktop file is not only marked as obsolete in the
database. It is also still marked as owned by the old package libxapp1
... weird:
$ dpkg -L libxapp1
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libxapp.so.2.6.1
/usr/share
/usr/share/doc
/usr/share/doc/libxapp1
/usr/share/doc/libxapp1/changelog.Debian.gz
/usr/share/doc/libxapp1/changelog.gz
/usr/share/doc/libxapp1/copyright
/usr/lib/x86_64-linux-gnu/libxapp.so.1
/etc/xdg/autostart/xapp-sn-watcher.desktop
$ apt policy libxapp1
libxapp1:
Installé : 2.6.1-1
Candidat : 2.6.1-1
Table de version :
*** 2.6.1-1 500
90
http://ftp.debian.org/debian sid/main amd64 Packages
500
http://deb.debian.org/debian trixie/main amd64 Packages
100 /var/lib/dpkg/status
2.4.2-3 500
500
http://deb.debian.org/debian bookworm/main amd64 Packages
1.2.2-1 500
500
http://httpredir.debian.org/debian buster/main amd64 Packages
ls /etc/xdg/autostart/xapp-sn-watcher.desktop
/etc/xdg/autostart/xapp-sn-watcher.desktop
dpkg -S /etc/xdg/autostart/xapp-sn-watcher.desktop
libxapp1:amd64: /etc/xdg/autostart/xapp-sn-watcher.desktop
dpkg-query -W -f='${Conffiles}\n' | grep obsolete$ |grep xapp-sn
/etc/xdg/autostart/xapp-sn-watcher.desktop a9fa3be7aaf46761adcdb856c63c125f obsolete
It could still be
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886389
still all the report I found in it, tell the files are owned by the new
package but still marked as obsolete.
Here, the file is still owned by the old package. I do not even have
the new package xapp-sn-watcher installed.
So maybe it is the same bug but without installing the new package the
ownership is also not removed from the old package.
This might help define the origin of this bug.
Cheers,
Alban