Dear Maintainer, I get this error in my logs: oct. 01 12:19:15 hermes systemd-xdg-autostart-generator[501717]: Exec binary '/usr/lib/x86_64-linux-gnu/xapps/sn-watcher/xapp-sn-watcher' does not exist: No such file or directory oct. 01 12:19:15 hermes systemd-xdg-autostart-generator[501717]: /etc/xdg/autostart/xapp-sn-watcher.desktop: not generating unit, error parsing Exec= line: No such file or directory it turns out I have libxapp1:amd64 2.6.1-1 installed but not xapp-sn-watcher. I believe the xapp-sn-watcher.desktop shipped by libxapp1 should be shipped by the xapp-sn-watcher package. Cheers, Alban
Il 01/10/2023 12:33, Alban Browaeys ha scritto: Hi, from the version you are reporting xapp-sn-watcher.desktop is already in xapp-sn-watcher package: https://packages.debian.org/sid/amd64/xapp-sn-watcher/filelist file was moved latest time in 2.4.2-1 (from xapp package) and first time in 2.2.6-1 (from libxapp1) I suppose the issue you spotted is related to old conffile moved (in case your system was upgraded and was installed intially with version < 2.2.6-1, where there was the first move from libxapp1), relating to it there is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983441 but is blocked by another bug in dpkg (that I'm unable to fix it) and as wrote in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886389 is impossible use rm_conffile in case of move from one binary package to another of the same source or the file of the new package will be removed broking it since the unexpected case you spotted is more that simply "mark as obsolete" I think is good to reply on bug #886389 that now seems considered minor and without progress
Exec binary '/usr/lib/x86_64-linux-gnu/xapps/sn-watcher/xapp-sn-
watcher' does not exist: No such file or directory
/etc/xdg/autostart/xapp-sn-watcher.desktop: not generating unit, error
parsing Exec= line: No such file or directory
sn-watcher.
shipped by
time
<
it
is
wrote
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
Il 03/10/2023 21:21, Alban Browaeys ha scritto: this is for xapp-sn-watcher not installed in this case rm_conffile will works correctly but installing also xapp-sn-watcher will remove xapp-sn-watcher.desktop broking it after the upgrade so I couldn't do it as I wrote, I did some tests looking for a workaround but unfortunately I didn't find any and the "best" solution was to not to use rm_conffile. after this new issue (with people that don't install recommends) I thinked about increase to depends but I think is a problem have circular depends (xapp-sn-watcher depends on libxapp1) so I suppose that the best thing it would fix that old bug in dpkg, but I don't know how or someone have another idea? any advice is welcome
Hello, Bug #1053306 in xapp reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/cinnamon-team/xapp/-/commit/8d38fd8cc19c62e2840afbdb147a96c1ce0e2aca ------------------------------------------------------------------------ d/libxapp1.conffiles: remove the stale xapp-sn-watcher autostart file The autostart file moved from libxapp1 to xapp-sn-watcher in 2.4.2-1, but on systems where xapp-sn-watcher is not installed, and it is only a Recommends, dpkg keeps the file in the libxapp1 file list, re-marks it obsolete at every upgrade and leaves it on disk forever, so the session keeps trying to autostart a binary that is not there. The remove-on-upgrade flag removes it exactly on those systems and is a no-op everywhere else: dpkg skips the removal when another installed package owns the path (pkg_remove_conffile_on_upgrade() in src/main/unpack.c), which is what makes this safe, unlike rm_conffile. The line can be dropped again once this version has gone through a stable release. Closes: #983441, #1053306 Assisted-by: Claude Code:claude-opus-5 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1053306
We believe that the bug you reported is fixed in the latest version of
xapp, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1053306@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Fabio Fantoni <fantonifabio@tiscali.it> (supplier of updated xapp package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 04 Oct 2026 20:56:02 +0200
Source: xapp
Built-For-Profiles: noudeb
Architecture: source
Version: 3.2.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Cinnamon Team <debian-cinnamon@lists.debian.org>
Changed-By: Fabio Fantoni <fantonifabio@tiscali.it>
Closes: 983441 1053306
Changes:
xapp (3.2.3-1) unstable; urgency=medium
.
* New upstream version 3.2.3
* d/patches: refresh
* d/libxapp1.conffiles: remove the stale xapp-sn-watcher autostart file
(Closes: #983441, #1053306)
Checksums-Sha1:
4df97fdfcce09244c5c09bcc2ebe05ab3c21bc9f 2821 xapp_3.2.3-1.dsc
eb3218adb4e94ae68b84d24a26b20e4303344bc4 262131 xapp_3.2.3.orig.tar.gz
707a9f2539e1e86ee7eff9181020d43370a71ff6 10856 xapp_3.2.3-1.debian.tar.xz
0ab83a1bc56ddaea7d68090ce944f41d50b75bd6 9564 xapp_3.2.3-1_source.buildinfo
Checksums-Sha256:
c1a6235c6451ac71074ae660f6057f30932705a5fd3759f3043d249141ad2907 2821 xapp_3.2.3-1.dsc
624226dcb5a54e4dabd3d62be8baa8dcc61c1c76adc423744c27185ad5f91f51 262131 xapp_3.2.3.orig.tar.gz
5f885e6322e1331bc9aa21ad6a70ddd7c199eac653e7dfc68ad5b55fe0f66d9c 10856 xapp_3.2.3-1.debian.tar.xz
c4f479539639d816be2c546cdaaff8192de047085ce69c7ca7fa7a60ecd589e8 9564 xapp_3.2.3-1_source.buildinfo
Files:
9f99b1ec45fb4c0d2d33500e69a1be0d 2821 x11 optional xapp_3.2.3-1.dsc
ba97c45c18fa31d95a1892b48d0652b3 262131 x11 optional xapp_3.2.3.orig.tar.gz
9ecacc0a055f81ae1d9f4ee9ebb53d26 10856 x11 optional xapp_3.2.3-1.debian.tar.xz
79f4b9ee6c1077cd1a68139c761839a3 9564 x11 optional xapp_3.2.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEELEHRfLe4S9D5+1GzaAZorpB/EB0FAmrCpIYACgkQaAZorpB/
EB3+Vg//dwVBLwPY/ytqrqdkBHiLS+SPypvshZX4HiC7Kj72i6gFDaaPN6MakgVo
sUMs/ePwcCYxfFtjVFW1IArabU+ppUz2CYXvQinMt00iObSnlzKslrmPORXn6h6R
xEX+r38727scsNEEbcHJl2S7VaZBJpKzxfhvX+E/tgxajy+bPrJuiqQV/FSdwz6t
wSTkq4QTI5xWkVscses+LylEzR0E70qEWleMVlb9k7G//Zm/3Qf9kcmjXTvp2aa/
U0ExgMp1tyKatOR26pxVlyEfkWpukA0w7kKiGxBUDYAgO3lS7mAciv54sshla4eC
X324XZW8k9SYXwpntxIGTl/zrzfsb99tKsraFmbKm8HUeRsseJ9kgTU3oQQkpHg3
b8/wWeIh129GxNZc/ExtNl36pB4gpeLGH+QlrS4J1qbi5cvHqWTvvKymVuvcVXio
+YSd64/Kh7GMGbQm3KY10Gsys/76TeB6qVfKurhnBM5tPouH+OSaOWmszt5PNruQ
bCc6r2S3BmcNsrzRWa4xodoIst15Svopq+4sag/PSKFBiskmwvmS2o7EjtkoKzHr
m9W/NQKk16cpz2cMIwzZ04dfKsXcBACcE5UEYNJkdIf7ec/F/Lw0PfVs3goErsZl
2aN75Z/QuXSrnp9yx4Vr360yoMQRLRwncvq2AsuDenAr2OtFbqI=
=oU1y
-----END PGP SIGNATURE-----