Skip to content

Commit

Permalink
Install usr-is-merged to fix build failure
Browse files Browse the repository at this point in the history
Somehow apt chokes while trying to resolve the set of standard packages.
This seems to be due to the following dependency chain:

  dbus -> init-system-helpers -> usrmerge | usr-is-merged.

I couldn't understand why apt refuses to install usrmerge (installing it
manually works, but it requires listing all the dependencies that it
complains about on the command-line). I really couldn't understand what
was wrong with those deps.

In any case, it turns out that usr-is-merged *should have been
installed*, that's what debootstrap is supposed to do. However, this has
been disabled in a recent debos commit, cf:
* go-debos/debos#361
* go-debos/debos@b3c1f76b

So let's install usr-is-merged manually (as the debos workaround is not
for our use-case anyway), that brings us back in line with a standard
debootstrap chroot, which is surely a good thing.

From this point the problem disappears.

Fixes: #23
  • Loading branch information
elboulangero committed Nov 7, 2022
1 parent 122f7e4 commit d258d9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ actions:
components: [ main, contrib, non-free ]
keyring-file: kali-archive-keyring.gpg

- description: "Install usr-is-merged (cf. debos #361 and #362)"
action: apt
packages: [ usr-is-merged ]

- description: "Preseed package configuration"
action: run
chroot: true
Expand Down
4 changes: 4 additions & 0 deletions rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ actions:
components: [ main, contrib, non-free ]
keyring-file: kali-archive-keyring.gpg

- description: "Install usr-is-merged (cf. debos #361 and #362)"
action: apt
packages: [ usr-is-merged ]

- description: "Preseed package configuration"
action: run
chroot: true
Expand Down

0 comments on commit d258d9f

Please sign in to comment.