Closed kalewenn closed 6 months ago
How did you install kiwi on Ubuntu? In any case, as it is documented here the host system requires rpm to be available, because you are trying to build a docker image based on openSUSE Leap 15.5.
I know that Ubuntu uses apt
while openSUSE uses rpm
as package manager. Is it possible to install rpm
tools on Ubuntu as well? If yes, you can try to install these, maybe this helps you building an image.
I actually wasn't aware of this limitation of kiwi. I assumed you can just build docker images based on any distribution while being host OS agnostic.
If that doesn't help, I'd suggest creating an openSUSE Leap 15.5 VM and install kiwi-ng by running zypper in -y python3-kiwi make
as root user. Then run make build load
again and it should work.
How did you install kiwi on Ubuntu? In any case, as it is documented here the host system requires rpm to be available, because you are trying to build a docker image based on openSUSE Leap 15.5.
apt install kiwi
I know that Ubuntu uses
apt
while openSUSE usesrpm
as package manager. Is it possible to installrpm
tools on Ubuntu as well? If yes, you can try to install these, maybe this helps you building an image.I actually wasn't aware of this limitation of kiwi. I assumed you can just build docker images based on any distribution while being host OS agnostic.
I used
apt install rpm
and
apt install zypper
If that doesn't help, I'd suggest creating an openSUSE Leap 15.5 VM and install kiwi-ng by running
zypper in -y python3-kiwi make
as root user. Then runmake build load
again and it should work.
Ok thanks I will try !
Hello, I'm on Ubuntu 23.04 & trying to build the repo using
make build
but I have this error :
KiwiInstallPhaseFailed: System package installation failed: Target initialization failed: Failed to cache rpm database (1).
Full logs :
Can you tell me why please ? Thanks for help <3 Additional informations :