Bug#1068188: pthread_cond_init.3.gz: conflict with manpages-dev 6.7-1
Package: glibc-doc
Version: 2.38-6
Severity: serious
Justification: Policy 7.4
X-Debbugs-Cc: alx@kernel.org, marcos@debian.org
Dear Maintainer,
The Linux man-pages project has recently added the pthread_*(3) manual
pages that were provided by glibc-doc. The first upstream version of
the Linux man-pages that includes these pages is man-pages-6.06. Here's
what was added:
$ git diff --stat b06cd070f..128a3ae35
man3/pthread_cond_init.3 | 264 ++++++++++++++++++++
man3/pthread_condattr_init.3 | 48 ++++
man3/pthread_key_create.3 | 178 +++++++++++++
man3/pthread_mutex_init.3 | 241 ++++++++++++++++++
man3/pthread_mutexattr_setkind_np.3 | 52 ++++
man3/pthread_once.3 | 44 ++++
6 files changed, 827 insertions(+)
Debian's manpages-dev_6.7-1_all.deb has been the first package since
that happened, and I've noticed that dpkg(1) (via apt-get(8)) refuses to
upgrade manpages-dev due to a conflict with glibc-doc.
$ sudo apt-get upgrade -V;
[...]
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 404853 files and directories currently installed.)
Preparing to unpack .../manpages-dev_6.7-1_all.deb ...
Unpacking manpages-dev (6.7-1) over (6.05.01-1) ...
dpkg: error processing archive /var/cache/apt/archives/manpages-dev_6.7-1_all.deb (--unpack):
trying to overwrite '/usr/share/man/man3/pthread_cond_init.3.gz', which is also in package glibc-doc 2.38-6
Errors were encountered while processing:
/var/cache/apt/archives/manpages-dev_6.7-1_all.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please, remove from glibc-doc those manual pages that conflict with
manpages-dev.
Marcos, you'll also need to specify a breaks with glibc-doc versions
up to (and including) 6.38-6 in the next revision of manpages-dev, and
drop 6.7-1.
Have a lovely day!
Alex
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.8.0-rc7-alx-dirty (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=C.utf8, LC_CTYPE=C.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
glibc-doc depends on no packages.
glibc-doc recommends no packages.
Versions of packages glibc-doc suggests:
ii glibc-doc-reference 2.38-1
-- no debconf information
Reply to: