[DSE-Dev] Bug#1100824: policycoreutils-dev misses Breaks+Replaces for policycoreutils-gui/bookworm

Helmut Grohne helmut at subdivi.de
Tue Mar 18 06:50:10 GMT 2025


Package: policycoreutils-dev
Version: 3.8-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: fileconflict
Control: affects -1 + policycoreutils-gui

Hi,

upgrading policycoreutils-gui/bookworm to policycoreutils-dev/trixie may
fail with an unpack error.

mmdebstrap --variant=apt --verbose '' /dev/null 'deb http://deb.debian.org/debian bookworm main' --include=policycoreutils-gui --chrooted-customize-hook='sed -i -e s/bookworm/trixie/ /etc/apt/sources.list && apt-get update && apt-get download policycoreutils-dev && dpkg --unpack --auto-deconfigure *.deb'

(Reading database ... 19263 files and directories currently installed.)
Preparing to unpack policycoreutils-dev_3.8-1_amd64.deb ...
Unpacking policycoreutils-dev (3.8-1) over (3.4-1+b2) ...
dpkg: error processing archive policycoreutils-dev_3.8-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man8/sepolicy-gui.8.gz', which is also in package policycoreutils-gui 3.4-1
Errors were encountered while processing:
 policycoreutils-dev_3.8-1_amd64.deb

That manual page is the only file. Please move the file back or issue
Breaks and Replaces to confirm the move.

Helmut



More information about the SELinux-devel mailing list