Re: bootstrap after crosshurd failing
Hello,
João Pedro Malhado, le mar. 08 avril 2025 21:11:41 +0200, a ecrit:
> 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.
> -apt_options="--option APT::Get::Force-Yes=true"
> +apt_options="--option APT::Get::Allow-change-held-packages=true"
> Also in the patch a change in the apt options to suppress a warning due to
> force-yes option.
Which warning?
Why adding APT::Get::Allow-change-held-packages=true? What package is
getting held?
> The patch instals packages with priority important after those with priority
> required,
Why doing so? That is unnecessary overhead, we are supposed to be
already be able to automatically install dependencies of required
packages.
> How does the debian installer decide/control the order of package installation
> during base-system install?
It uses debootstrap which computes dependencies to some extent.
> 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.
It used to be working, but possibly not any more with dpkg/apt changes.
> At the end of all this I cannot login because I have never set any users or
> passwords :D Is there a default root password?
Check /etc/shadow, it's probably just not defined.
That being said, since mmdebstrap was recently fixed into being able to
cross-install hurd (even setting up /dev entries with xattr), I don't
really see the point in trying to fix crosshurd, when mmdebstrap is
maintained and has little hurd knowledge that we'd have to maintain.
Samuel
Reply to: