🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Wed, 02 Dec 2026 13:30
Bug#1156150: libgranite-7-7 fails to coinstall
#7161
Author: 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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads