🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7161

Bug#1156150: libgranite-7-7 fails to coinstall

#7161
From: Helmut Grohne
Date: Wed, 02 Dec 2026 13:30
69 lines
3982 bytes
--FQ5lcXXaxQS6DCYl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: libgranite-7-7
Version: 7.8.1-1
Severity: serious
Tags: patch
Justification: fails installing with a dpkg error
Control: affects -1 + src:minder
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libgranite-7-7 fails to coinstall. It hits a rare case where apt and
dpkg disagree about dependencies. This is kinda undefined behavior
territory and libgranite-7-7 should not be exercising that.

| dpkg: dependency problems prevent configuration of libgranite-7-7:amd64:
|  libgranite-7-7:armhf (7.8.1-1) breaks libgranite7 and is unpacked but not configured.
|   libgranite-7-7:amd64 (7.8.1-1) provides libgranite7.
| 
| dpkg: error processing package libgranite-7-7:amd64 (--configure):
|  dependency problems - leaving unconfigured
| dpkg: dependency problems prevent configuration of libgranite-7-7:armhf:
|  libgranite-7-7:amd64 (7.8.1-1) breaks libgranite7 and is unpacked but not configured.
|   libgranite-7-7:armhf (7.8.1-1) provides libgranite7.
| 
| dpkg: error processing package libgranite-7-7:armhf (--configure):
|  dependency problems - leaving unconfigured

The root cause resides in a difference in how "Breaks" are interpreted.
apt thinks that Breaks against the own package only apply to the
particular instance. dpkg thinks that Breaks are implicitly qualified
":any" and thus match any other architecture.

It very much looks like dpkg's behavior is to stay. The combination of
Breaks + Provides + Multi-Arch used here is not supported. One of those
three fields must be changed.

One option of course is dropping Multi-Arch. It's the easy way out and
it also does not break anything that used to work until now.

Given the use of multiarch paths, I think it would actually be
sufficient if libgranite-7-7:ARCH were to break libgranite7:ARCH (i.e.
same architecture only). We can implement this by adding :${Arch} in the
control file. Please find a patch attached.

Helmut

--FQ5lcXXaxQS6DCYl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

diff --git a/debian/control b/debian/control
index 9c4eca0e..12fc532a 100644
--- a/debian/control
+++ b/debian/control
@@ -61,7 +61,7 @@ Depends:
  ${misc:Depends},
  ${shlibs:Depends},
 Breaks:
- libgranite7,
+ libgranite7:${Arch},
 Replaces:
  libgranite7,
 Provides:

--FQ5lcXXaxQS6DCYl--
Technical Details
Message-ID: <O5Szf-fy45-23@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156150: libgranite-7-7 fails to coinstall
Date: Wed, 02 Dec 2026 14:30:01 +0100
Message-ID: <O5Szf-fy45-23@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Dec  2 13:27:13 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1156150@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: packages@qa.debian.org
X-Debian-Pr-Message: report 1156150
X-Debian-Pr-Package: libgranite-7-7
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: granite-7
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="FQ5lcXXaxQS6DCYl"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006509
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 69
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 26 Nov 2026 08:12:00 +0100
X-Original-Message-ID: <20261126071200.GA2218605@subdivi.de>