Processed: Re: Bug#790040: tex-common: doesn't properly clean up legacy files

2017-08-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 790040 dpkg
Bug #790040 [tex-common] tex-common: doesn't properly clean up legacy files
Bug reassigned from package 'tex-common' to 'dpkg'.
No longer marked as found in versions tex-common/6.01.
Ignoring request to alter fixed versions of bug #790040 to the same values 
previously set
> retitle 790040 dpkg-maintscript blocks directories from being removed
Bug #790040 [dpkg] tex-common: doesn't properly clean up legacy files
Changed Bug title to 'dpkg-maintscript blocks directories from being removed' 
from 'tex-common: doesn't properly clean up legacy files'.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
790040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790040
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#872146: dpkg: dpkg --verify complains about /usr/share/man/man1/cpp.1.gz

2017-08-14 Thread Sven Joachim
On 2017-08-14 17:26 +0200, Sven Joachim wrote:

> Package: dpkg
> Version: 1.18.24
> Severity: normal
>
> Something strange is happening here: "dpkg --verify" complains about the
> file /usr/share/man/man1/cpp.1.gz (a symlink shipped in the cpp-doc
> package), but only if the package containing it is _not_ given on the
> commandline.
>
> ,
> | $ dpkg -S /usr/share/man/man1/cpp.1.gz 
> | cpp-doc: /usr/share/man/man1/cpp.1.gz
> | $ dpkg --verify cpp-doc
> | $ dpkg --verify 2>/dev/null | grep cpp
> | ??5??   /usr/share/man/man1/cpp.1.gz
> `

It turned out that this happened because I had an obsolete and
long-forgotten package installed which also shipped
/usr/share/man/man1/cpp.1.gz[1], and I had reinstalled cpp-doc with
"--force-overwrite" back then.  Still, the md5sum of the replaced file
was still in place.

,
| $ grep cpp.1.gz /var/lib/dpkg/info/*md5sums
| 
/var/lib/dpkg/info/pcc-for-i386-linux-gnu.md5sums:64430acd117b32ae7b6afceec7371927
  usr/share/man/man1/cpp.1.gz
`

The problem can be reproduced with the attached dummy packages where a
regular file is replaced with a symlink (thus, there is no md5sum entry
for it in the replacing package).

,
| $ dpkg --verify bar foo
| $ dpkg --verify foo bar  
| ??5??   /usr/bin/foo
`

Cheers,
   Sven


1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623952



foo_0_all.deb
Description: application/debian-package


bar_0_all.deb
Description: application/debian-package


Bug#872146: dpkg: dpkg --verify complains about /usr/share/man/man1/cpp.1.gz

2017-08-14 Thread Sven Joachim
Package: dpkg
Version: 1.18.24
Severity: normal

Something strange is happening here: "dpkg --verify" complains about the
file /usr/share/man/man1/cpp.1.gz (a symlink shipped in the cpp-doc
package), but only if the package containing it is _not_ given on the
commandline.

,
| $ dpkg -S /usr/share/man/man1/cpp.1.gz 
| cpp-doc: /usr/share/man/man1/cpp.1.gz
| $ dpkg --verify cpp-doc
| $ dpkg --verify 2>/dev/null | grep cpp
| ??5??   /usr/share/man/man1/cpp.1.gz
`


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.12.7-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-8.1
ii  libc62.24-14
ii  liblzma5 5.2.2-1.3
ii  libselinux1  2.6-3+b2
ii  tar  1.29b-2
ii  zlib1g   1:1.2.8.dfsg-5

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt1.5~beta1
pn  debsig-verify  

-- Configuration Files:
/etc/dpkg/dpkg.cfg changed:
no-debsig
log /var/log/dpkg.log


-- no debconf information