On 9/04/25 07:12, João Pedro Malhado wrote:
Woops. Now with the patch.

On Tue, Apr 08, 2025 at 09:11:54PM +0200, João Pedro Malhado wrote:
Hello Samuel,

On Sun, Apr 06, 2025 at 06:41:39PM +0200, Samuel Thibault wrote:
João, le sam. 05 avril 2025 18:20:24 +0200, a ecrit:
During package configuration some packages fail, which I assumed was
related to the state of unstable, or some issue resolving dependencies?

I don't know, I'd need to see the logs.

The failure I got was the same as the one you are seeing in salsa tests
https://salsa.debian.org/hurd-team/crosshurd/-/jobs/7386073

With the following patch I get native-install to finish and get to a login
console of the installed system.

The patch instals packages with priority important after those with priority
required, and before everything else. This seems a bit arbitrary, but I suppose
there is no way to tell dpkg (or apt?) a good order to install packages.


AFAICT, instead of adding a separate lookup for the important packages, just changing the regex used to find required ones should be okay:

Change this line:

   dpkg-deb --field $i Priority | grep ^required > /dev/null \

To this:

dpkg-deb --field $i Priority | grep "^(required|important)" > /dev/null \

(mind the email wrap, that is a single-line change).


HTH
Amos

Reply via email to