Building Debian from Ubuntu fails on keyring check #4069
Unanswered
curranbrandt
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
Can't reproduce this. Can you attach your |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I'm still unable to reproduce this with your You can try the following steps, and check whether your issue is resolved:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to build an Ubuntu 22 server image, from an interim Debian host. I am using the default ToolsTree, and my tree builds just fine. Then, when trying to build the Ubuntu image, it fails on an ubuntu-keyring check, as it the necessary Ubuntu keyring not in /usr/share/keyrings.
I have tried fixing this with two approaches:
This should ensure that even if keychecks occur, the tool tree has the proper keyring needed to verify Ubuntu sources and packages
RepositoryKeychecks=false
This should instruct the build environment to skip keychecks for packages when building the target image?
Sadly, neither of these seem to fix my issue. Mkosi summarize does not list any additional packages for my Debian Testing build tree/image.
I initially thought that my target Ubuntu fs would need the keyring, but it seems that it is the Debian tools tree that needs it in order to download and install Ubuntu packages into the target fs/image.
For now, I just grab the ubuntu keyring and stick it in mkosi.tools/usr/share/keyrings, along with all of the Debian ones. Ideally I would be able to account for this in my mkosi config... is there a better way? Goal is to use a Makefile with targets, so I want my mkosi build to work first go.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions