Bug#861897: lintian: check if the pathname part of dpkg-maint-helper script is owned by the package
Package: lintian
Version: 2.5.50.3
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
While trying out my latest fix for one of my packages, I got an error from
dpkg-maintscript-helper:
dpkg-maintscript-helper: error: directory '<some_path>' contains files not owned by package <package>, cannot switch to symlink
I mistakenly had the first and second argument swapped.
It would be nice if lintian could check that the first argument to the
symlink_to_dir, dir_to_symlink and rm_conffile calls and the first two
arguments of mv_conffile are owned by the package.
Paul
- -- System Information:
Debian Release: 9.0
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'experimental'), (200, 'testing'), (50, 'experimental'), (50, 'testing'), (1, 'experimental')
Architecture: amd64
(x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lintian depends on:
ii binutils 2.28-4
ii bzip2 1.0.6-8.1
ii diffstat 1.61-1+b1
ii file 1:5.29-3
ii gettext 0.19.8.1-2
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.32
ii libarchive-zip-perl 1.59-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-2+b1
ii libdpkg-perl 1.18.23
ii libemail-valid-perl 1.202-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.416-1+b1
ii libparse-debianchangelog-perl 1.2.0-12
ii libperl5.24 [libdigest-sha-perl] 5.24.1-2
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.71-1
ii libyaml-libyaml-perl 0.63-2
ii man-db 2.7.6.1-2
ii patchutils 0.3.4-2
ii perl 5.24.1-2
ii t1utils 1.39-2
ii xz-utils 5.2.2-1.2+b1
Versions of packages lintian recommends:
ii dpkg 1.18.23
ii libperlio-gzip-perl 0.19-1+b2
ii perl 5.24.1-2
ii perl-modules-5.22 [libautodie-perl] 5.22.2-5
ii perl-modules-5.24 [libautodie-perl] 5.24.1-2
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.18.23
ii libhtml-parser-perl 3.72-3
ii libtext-template-perl 1.46-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlkMeY4ACgkQnFyZ6wW9
dQqNrwf+L7tniau2A6rHA1PiCAVf9w1YflqgI3H+b0Hjgce715dulzjL2of6VEyo
TJOl08lyhCJu1A+Cd173akwrnxWcAlCIAk+jMebMrki8xCT9UNHl4SfaAXbhNLG2
fU1cDYadFuFDdntfDtq5lobseNdYVObEYMv/9SL0tIqceFOSLRMoNaKtctZ9fbZ1
nSgmQbDMuHdeuGqWKFdG/D2GiHsn0ku6TgIyIS4pstmQwsmCXCUVvTOWyqtQDJmu
vY9j+ZW2vH2Jve3wWQo6umjxNV3unqMGlrI3tAw/x9LoEoDXzAoMJE6PYUFPj6N8
LPlqFmfIcUBr34vVLwUnTYcdFmzOiQ==
=XX4x
-----END PGP SIGNATURE-----
Reply to: