Bug#369271: glibc-doc: Filenames coincide with manpages-dev
Package: glibc-doc
Severity: serious
This is interesting:
# apt-get install glibc-doc
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed
glibc-doc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3354kB of archives.
After unpacking 8983kB of additional disk space will be used.
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
(Reading database ... 70520 files and directories currently
installed.)
Unpacking glibc-doc (from .../glibc-doc_2.3.6-7_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/glibc-doc_2.3.6-7_all.deb (--unpack):
trying to overwrite `/usr/share/man/man3/sem_init.3.gz', which is
also in package manpages-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/glibc-doc_2.3.6-7_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ apt-file list manpages-dev | grep sem_init
glibc-doc: usr/share/man/man3/sem_init.3.gz
manpages-dev: usr/share/man/man3/sem_init.3.gz
I believe this violates something in section 7.5 of the debian policy
manual, about `overlapping' files should be handled either through
alternatives or the `Conflicts:' field.
$ apt-cache show manpages-dev glibc-doc
Package: manpages-dev
Priority: standard
Section: doc
Installed-Size: 2832
Maintainer: Martin Schulze <joey@debian.org>
Architecture: all
Source: manpages
Version: 2.28-1
Depends: manpages
Suggests: man-browser
Filename: pool/main/m/manpages/manpages-dev_2.28-1_all.deb
Size: 1173348
MD5sum: dc2085ce707cd12b19fe8ad92c3a1da9
Description: Manual pages about using GNU/Linux for development
These man pages describe the Linux programming interface, including
these two sections:
2 = Linux system calls.
3 = Library calls (note that a more comprehensive source of information
may be found in the glibc-doc package).
Tag: devel::doc, role::content:doc
Package: glibc-doc
Priority: optional
Section: doc
Installed-Size: 8772
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: all
Source: glibc
Version: 2.3.6-7
Replaces: libc-doc
Provides: libc-doc
Conflicts: libc-doc
Filename: pool/main/g/glibc/glibc-doc_2.3.6-7_all.deb
Size: 3353922
MD5sum: 285f92e387b2ce617a8d702fdda43a42
Description: GNU C Library: Documentation
Contains The GNU C Library Reference manual in info and html format as
well as man pages for libpthread functions. Also included is the complete
GNU C Library ChangeLog.
Tag: devel::doc, devel::library, langdevel::c, made-of::data:html, made-of::data:info, role::content:doc
I grab packages from here (and deb-src from the same):
deb http://ftp.debian.org/debian testing main
deb http://security.debian.org/ etch/updates main
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB.ISO-8859-1)
Reply to: