Control: tags -1 + patch On 2024-04-01 06:41 +0200, Sven Joachim wrote:
> Control: notfound -1 6.05.01-1 > Control: found -1 6.7-1 > > On 2024-04-01 06:17 +0200, Bas Couwenberg wrote: > >> Source: manpages >> Version: 6.05.01-1 >> Severity: serious >> Justification: makes the package in question unusable or mostly so >> >> Dear Maintainer, >> >> manpages-dev failed to upgrade due to a conflict with glibc-doc: >> >> 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.37-15.1 >> Errors were encountered while processing: >> /var/cache/apt/archives/manpages-dev_6.7-1_all.deb >> E: Sub-process /usr/bin/dpkg returned an error code (1) > > There are a few more conflicting files: > > ,---- > | # dpkg -i --force-overwrite > /var/cache/apt/archives/manpages-dev_6.7-1_all.deb > | (Reading database ... 15705 files and directories currently installed.) > | Preparing to unpack .../manpages-dev_6.7-1_all.deb ... > | Unpacking manpages-dev (6.7-1) ... > | dpkg: warning: overriding problem because --force enabled: > | dpkg: warning: trying to overwrite > | '/usr/share/man/man3/pthread_cond_init.3.gz', which is also in > | package glibc-doc 2.37-15.1 > | dpkg: warning: overriding problem because --force enabled: > | dpkg: warning: trying to overwrite > | '/usr/share/man/man3/pthread_condattr_init.3.gz', which is also in > | package glibc-doc 2.37-15.1 > | dpkg: warning: overriding problem because --force enabled: > | dpkg: warning: trying to overwrite > | '/usr/share/man/man3/pthread_key_create.3.gz', which is also in > | package glibc-doc 2.37-15.1 > | dpkg: warning: overriding problem because --force enabled: > | dpkg: warning: trying to overwrite > | '/usr/share/man/man3/pthread_mutex_init.3.gz', which is also in > | package glibc-doc 2.37-15.1 > | dpkg: warning: overriding problem because --force enabled: > | dpkg: warning: trying to overwrite > | '/usr/share/man/man3/pthread_mutexattr_setkind_np.3.gz', which is > | also in package glibc-doc 2.37-15.1 > | dpkg: warning: overriding problem because --force enabled: > | dpkg: warning: trying to overwrite '/usr/share/man/man3/pthread_once.3.gz', > which is also in package glibc-doc 2.37-15.1 > `---- > >> Breaks/Replaces will need to be added if the file was moved, but it >> seems that only one of these packages should include this manpage. > > There is a script debian/check-conflicts in the manpages source package > which is supposed to detect such clashing files, but it is buggy because > it only scans the contents of amd64 packages, while glibc-doc is an > arch:all package. Looking closer the script most likely worked correctly when it was written, but some 3+ years ago the Contents files were split. https://lists.debian.org/debian-devel-announce/2020/10/msg00007.html I have updated debian/check-conflicts accordingly, and my version catches the six new clashing files :-). Merge request at Salsa opened: https://salsa.debian.org/debian/manpages/-/merge_requests/7 Cheers, Sven