🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1156014: autopkgtest - apt errors got a lot less helpful recently.

#7067
From: Paride Legovini
Date: Tue, 01 Dec 2026 19:00
36 lines
3283 bytes
On 2026-12-01 18.47, Paride Legovini wrote:
> On 2026-12-01 12.45, Peter Green wrote:
>> Package: autopkgtest
>>
>> Previously apt errors in autopkgtest came with a description of where the
>> solver failed. Recently this has disappered replaced with
>> "E: External solver failed with: Unsatisfied dependencies"
> This appears to be a limitation of the apt external solver. To see it
> without autopkgtest in the equation:
> 
> This gives a rich error:
> 
> apt-get --simulate --solver 3.0 satisfy gcc 'Conflicts: cpp'
> 
> These do not:
> 
> apt-get --simulate --solver solver3 satisfy gcc 'Conflicts: cpp'
> apt-get --simulate --solver apt satisfy gcc 'Conflicts: cpp'
> 
> (when used this way, apt uses the /usr/lib/apt/solvers external solvers
> from apt-utils.)
> 
> I am not sure on how to make things better of course. Switching to the
> external solver (plus a shim) allowed to fix a number of autopkgtest
> specific bugs in package resolution, so this is not an easy revert.

My stab at it:

https://salsa.debian.org/apt-team/apt/-/merge_requests/665

Note that the diff drops:

# FIXME: solver3 doesn't produce nice errors in the external solver scenario

--
Paride
Technical Details
Message-ID: <O5Bf3-foc0-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <O5uwW-fk4x-13@gated-at.bofh.it> <O5uwW-fk4x-13@gated-at.bofh.it> <O5A9j-fnAZ-3@gated-at.bofh.it> <O5uwW-fk4x-13@gated-at.bofh.it> <O5A9j-fnAZ-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Paride Legovini <paride@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156014: autopkgtest - apt errors got a lot less helpful recently.
Date: Tue, 01 Dec 2026 20:00:01 +0100
Message-ID: <O5Bf3-foc0-11@gated-at.bofh.it>
References: <O5uwW-fk4x-13@gated-at.bofh.it> <O5uwW-fk4x-13@gated-at.bofh.it> <O5A9j-fnAZ-3@gated-at.bofh.it> <O5uwW-fk4x-13@gated-at.bofh.it> <O5A9j-fnAZ-3@gated-at.bofh.it>
X-Original-To: Peter Green <plugwash@debian.org>, 1156014@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 18:57:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Paride Legovini <paride@debian.org>, 1156014@bugs.debian.org, 1156014@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+ci@tracker.debian.org
X-Debian-Pr-Message: followup 1156014
X-Debian-Pr-Package: autopkgtest
X-Debian-Pr-Source: autopkgtest
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Debian-User: paride
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006381
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 36
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 1 Dec 2026 19:56:02 +0100
X-Original-Message-ID: <f38c09b3-b400-4247-b634-5d5b82f8a976@debian.org>
X-Original-References: <722ab368-a280-40d8-a7b9-2c13e80aefdd@debian.org> <722ab368-a280-40d8-a7b9-2c13e80aefdd@debian.org> <7a2a26f6-ae13-4ec7-a038-6a825dd2feb2@debian.org> <722ab368-a280-40d8-a7b9-2c13e80aefdd@debian.org> <7a2a26f6-ae13-4ec7-a038-6a825dd2feb2@debian.org>