Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System package installation failed: Cannot load plugins: priorities.conf #2552

Open
davide125 opened this issue May 22, 2024 · 6 comments
Open

Comments

@davide125
Copy link

davide125 commented May 22, 2024

Problem description

When building a Rawhide image with https://pagure.io/fedora-asahi/kiwi-descriptions the build fails early with KiwiInstallPhaseFailed: System package installation failed: Cannot load plugins: priorities.conf (full log). This has been happening since May 10.

Expected behaviour

The build should not fail

Steps to reproduce the behaviour

git clone https://pagure.io/fedora-asahi/kiwi-descriptions 
./builder.py build minimal

OS and Software information

  • KIWI version: 10.0.11
  • Operating system host version: Fedora Linux 40
  • Operating system target version: Fedora Linux Rawhide
  • Open Build Service version (N/A if not using OBS): N/A
  • Koji version (N/A if not using Koji): N/A
@Conan-Kudo Conan-Kudo added the Bug label May 22, 2024
@Conan-Kudo
Copy link
Member

I think this was caused by the change in #2538. @Romain-Geissler-1A, could you look at this?

@Romain-Geissler-1A
Copy link
Contributor

Romain-Geissler-1A commented Jun 10, 2024

Hi,

Do you still have this issue ? I can't reproduce this issue right now.

I am starting a container on an aarch64 machine using podman remote like this:

podman -c aarch64 run -t -i --rm --pull=always --privileged quay.io/fedora/fedora:rawhide

Then inside this container:

[root@88fa12b71f35 /]# dnf install -y git kiwi python3-boto3
... (output removed)
[root@88fa12b71f35 /]# git clone https://pagure.io/fedora-asahi/kiwi-descriptions
Cloning into 'kiwi-descriptions'...
remote: Enumerating objects: 727, done.
remote: Counting objects: 100% (158/158), done.
remote: Compressing objects: 100% (116/116), done.
remote: Total 727 (delta 86), reused 54 (delta 32), pack-reused 569
Receiving objects: 100% (727/727), 112.49 KiB | 474.00 KiB/s, done.
Resolving deltas: 100% (376/376), done.
[root@88fa12b71f35 /]# cd kiwi-descriptions/
[root@88fa12b71f35 kiwi-descriptions]# ./builder.py build minimal 2>&1 | tee build.log

And the build.log file is attached here: build.log

From what I see in my case, kiwi doesn't seem to have such issues and it goes past the build.log you provided, with another blocking error.

@Conan-Kudo
Copy link
Member

This doesn't seem to be a problem anymore? @davide125 can you please confirm?

@schaefi
Copy link
Collaborator

schaefi commented Sep 30, 2024

@Romain-Geissler-1A @Conan-Kudo
I can still see this issue when the host has an older version of dnf4 installed. e.g dnf-4.10.0-bp155.3.10.noarch
I was just stumbling over this by accident and wanted to share the info here.

I guess we do not really support this anymore ? but wanted to double check before we close

@schaefi
Copy link
Collaborator

schaefi commented Sep 30, 2024

Looking at https://pagure.io/fedora-asahi/kiwi-descriptions/blob/rawhide/f/config.xml this still sets:

<packagemanager>dnf</packagemanager>

This translates to dnf4

@Conan-Kudo
Copy link
Member

Yeah I need to switch it to dnf5 there, but I haven't yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants