Bug#918226: gcc-snapshot.prerm yields error messages - incorrect paths?
Package: gcc-snapshot
Version: 1:20190102-1
Severity: normal
I can see the following error messages on upgrade or removal:
find: ‘/usr/lib/gcc-snapshot/share/python’: No such file or directory
find: ‘/usr/lib/gcc-snapshot/share/python’: No such file or directory
They come from /var/lib/dpkg/info/gcc-snapshot.prerm, which contains:
find /usr/lib/gcc-snapshot/share/python -name '*.py[co]' | xargs -r rm -f
find /usr/lib/gcc-snapshot/share/python -name __pycache__ -type d | xargs -r rm -rf
However, the python directory in the package contents is:
/usr/lib/gcc-snapshot/share/gcc-9/python
This appears to be an inconsistency.
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gcc-snapshot depends on:
ii binutils 2.31.1-11
ii libc6 2.28-4
ii libc6-dev 2.28-4
ii libc6-dev-i386 2.28-4
ii libc6-dev-x32 2.28-4
ii libc6-i386 2.28-4
ii libc6-x32 2.28-4
ii libgc1c2 1:7.6.4-0.4
ii libgmp10 2:6.1.2+dfsg-4
ii libisl19 0.20-2
ii libmpc3 1.1.0-1
ii libmpfr6 4.0.1-2
ii python3 3.7.1-3
ii zlib1g 1:1.2.11.dfsg-1
gcc-snapshot recommends no packages.
Versions of packages gcc-snapshot suggests:
ii binutils [binutils-gold] 2.31.1-11
-- no debconf information
Reply to: