[Piuparts-devel] Bug#1137591: piuparts: Problem removing link autovt at .service causing false positive outcome
Tommi Höynälänmaa
tommi.hoynalanmaa at iki.fi
Mon May 25 17:35:50 BST 2026
Package: piuparts
Version: 1.6.0
Severity: important
X-Debbugs-Cc: tommi.hoynalanmaa at iki.fi
Dear Maintainer,
Piuparts has been starting to give false positive outcome for
several packages. Piuparts worked with g-golf before but now it gives
an error with package g-golf-gtk-4-examples_0.8.7-3_all.deb.
The error occurs in the removal of the packages. The error is:
---cut here---
1m47.2s ERROR: FAIL: Package purging left files on system:
/etc/systemd/system/autovt at .service -> /usr/lib/systemd/system/getty at .service not owned
1m47.2s ERROR: FAIL: After purging files have been modified:
/ not owned
1m47.2s ERROR: FAIL: Installation and purging test.
---cut here---
Steps to reproduce the error:
1. Install git-buildpackage and sbuild if you don't have them already.
2. If you have package g-golf installed to your system uninstall it.
3. Create a new work directory and cd into it.
4. Create file build.sh with the following contents:
---cut here---
#!/bin/sh
sbuild -s -d unstable --source-only-changes \
--run-lintian \
--lintian-opt=-I --lintian-opt=--pedantic $*
---cut here---
5. Run the following commands:
---cut here---
chmod +x build.sh
sudo apt-get build-dep g-golf
mkdir build-area
gbp clone https://salsa.debian.org/tohoyn-guest/g-golf.git
cd g-golf
gbp buildpackage --git-builder=$(pwd)/../build.sh
cd ../build-area
sudo piuparts --shell-on-error g-golf-gtk-4-examples_0.8.7-3_all.deb
dpkg -S /etc/systemd/system/autovt at .service
ls -l /etc/systemd/system/autovt at .service
readlink -f /etc/systemd/system/autovt at .service
exit
---cut here---
Expected results: The piuparts tests should pass.
Actual results: Piuparts reports the error described before.
Commands in point 4 show that /etc/systemd/system/autovt at .service
is not owned by any package but it is present in the system.
This bug has been reproduced in an up-to-date Debian unstable environment.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 7.0.9+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages piuparts depends on:
ii debsums 3.0.2.4
ii libjs-sphinxdoc 9.1.0-3
ii lsb-release 12.1-2
ii lsof 4.99.4+dfsg-2
ii mount 2.42-6
ii piuparts-common 1.6.0
ii python3 3.13.9-3+b1
ii python3-debian 1.1.0
Versions of packages piuparts recommends:
ii adequate 0.17.6+b1
ii debootstrap 1.0.143
ii mmdebstrap 1.5.7-3
Versions of packages piuparts suggests:
pn docker.io <none>
ii schroot 1.6.13-8
ii uidmap 1:4.19.3-2
-- no debconf information
More information about the Piuparts-devel
mailing list