Article View: linux.debian.bugs.dist
Article #3633Bug#1153215: [Pkg-puppet-devel] Bug#1153215: openvox-doc has a filetype conflict on /usr/share/doc/puppet
From: Helmut Grohne
Date: Sat, 07 Nov 2026 10:10
Date: Sat, 07 Nov 2026 10:10
37 lines
3798 bytes
3798 bytes
Hi Jérôme, On Fri, Nov 06, 2026 at 08:46:22AM -0500, Jérôme Charaoui wrote: > Le 2026-11-06 à 06 h 06, Helmut Grohne a écrit : > > openvox-doc has a filetype conflict. This may result in an unpack > > error, order-dependent placement of files or overwriting of packaged > > files. > > > > The file /usr/share/doc/puppet is contained in the packages > > * openvox-doc/9.3.0-1 as present in unstable > > * puppet > > * 8.10.0-5 as present in trixie > > * 8.10.0-5+deb13u1 as present in trixie-proposed-updates|trixie-security > > > > These packages can be unpacked concurrently, because there is no > > relevant Replaces or Conflicts relation. Attempting to unpack these > > packages concurrently may result in an unpack error, order-dependent > > placement of files or overwriting of packaged files. > > Thank you for the report. > > Would adding "Replaces: puppet" to openvox-doc be an appropriate fix here? > Note that openvox-agent also has "Replaces: puppet". Thanks for asking. If this were a regular file conflict, Breaks+Replaces were the right tool. However, /usr/share/doc/puppet is a directory in puppet and a symbolic link in openvox-doc. What happens here is dependent on the unpack order. Even if you declare Breaks and Replaces, dpkg may still unpack openvox-doc after having merely deconfigured puppet. When that happens, the symbolic link is swallowed. A later deinstallation of puppet would then delete the directory. We even found cases where Conflicts is too weak, but those are non-trivial to encounter when using apt (as opposed to using dpkg directly). So my recommendation is to declare Conflicts: puppet here. The DEP17 document has a lot more detail on the difficulties of such a conversion. Helmut
Technical Details
Message-ID:
<NWLwZ-an6Y-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NWq9b-abhg-15@gated-at.bofh.it> <NWsul-acxt-1@gated-at.bofh.it> <NWq9b-abhg-15@gated-at.bofh.it> <NWsul-acxt-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Helmut Grohne <helmut@subdivi.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153215: [Pkg-puppet-devel] Bug#1153215: openvox-doc has a filetype conflict on /usr/share/doc/puppet Date: Sat, 07 Nov 2026 11:10:01 +0100 Message-ID: <NWLwZ-an6Y-3@gated-at.bofh.it> References: <NWq9b-abhg-15@gated-at.bofh.it> <NWsul-acxt-1@gated-at.bofh.it> <NWq9b-abhg-15@gated-at.bofh.it> <NWsul-acxt-1@gated-at.bofh.it> X-Original-To: Jérôme Charaoui <jerome@riseup.net> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 7 10:03:20 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1153215@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-puppet-devel@alioth-lists.debian.net X-Debian-Pr-Message: followup 1153215 X-Debian-Pr-Package: openvox-doc X-Debian-Pr-Source: openvox MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001233 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 37 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1153215@bugs.debian.org X-Original-Date: Fri, 6 Nov 2026 15:06:33 +0100 X-Original-Message-ID: <20261106140633.GB3239282@subdivi.de> X-Original-References: <20261106110616.GA3029273@subdivi.de> <09f8dabe-0346-4dac-8daf-456c6c794387@riseup.net> <20261106110616.GA3029273@subdivi.de> <09f8dabe-0346-4dac-8daf-456c6c794387@riseup.net>