[Bug 1172209] New: xz is not installable after patterns-base is installed due to conflict with busybox-xz subpackage
http://bugzilla.opensuse.org/show_bug.cgi?id=1172209 Bug ID: 1172209 Summary: xz is not installable after patterns-base is installed due to conflict with busybox-xz subpackage Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kubic Assignee: kubic-bugs@opensuse.org Reporter: comurphy@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The utility diskimage-builder[1] uses the base openSUSE packages to create minimal disk images without the need for a preexisting QCOW2 cloud image or ISO installer. It stopped being able to build openSUSE Tumbleweed images when the busybox-links package (developed in devel:kubic) was introduced to factory. This is because the diskimage-builder first sets up a chroot of the base system with patterns-openSUSE-base and then later installs the kernel into the chroot. The aaa_base package included in the base pattern has a dependency on /usr/bin/xz and happens to choose busybox-xz to fulfill it. The dracut package (required by mkinitrd required by kernel-default) explicitly requires the xz package which conflicts with the busybox-xz package that is already installed at that point. The result is a failure to build the minimal image[2]:
+ zypper --non-interactive --gpg-auto-import-keys install --no-recommends sed net-tools git-core glibc-locale kernel-default sudo openssh lsb-release bash dhcp-client openssl growpart rsync wicked-service e2fsprogs curl tar ca-certificates-mozilla python3 Loading repository data... Reading installed packages... 'sed' is already installed. No update candidate for 'sed-4.8-1.3.x86_64'. The highest available version is already installed. 'python3' is already installed. No update candidate for 'python3-3.8.3-1.1.x86_64'. The highest available version is already installed. 'bash' is already installed. No update candidate for 'bash-5.0.11-7.1.x86_64'. The highest available version is already installed. 'sudo' is already installed. No update candidate for 'sudo-1.9.0-1.1.x86_64'. The highest available version is already installed. 'ca-certificates-mozilla' is already installed. No update candidate for 'ca-certificates-mozilla-2.40-2.1.noarch'. The highest available version is already installed. 'wicked-service' is already installed. No update candidate for 'wicked-service-0.6.63-1.1.x86_64'. The highest available version is already installed. Resolving package dependencies...
Problem: kernel-default-5.6.12-1.3.x86_64 requires mkinitrd >= 2.7.1, but this requirement cannot be provided not installable providers: dracut-050+suse.61.g0fe0e854-1.1.i586[repo-oss] dracut-050+suse.61.g0fe0e854-1.1.x86_64[repo-oss] Solution 1: deinstallation of busybox-xz-1.31.1-3.1.noarch Solution 2: do not install kernel-default-5.6.12-1.3.x86_64 Solution 3: break kernel-default-5.6.12-1.3.x86_64 by ignoring some of its dependencies
A workaround is to explicitly install xz into the chroot first[3], but it would be nice if the new busybox-links set of packages were compatible with the packages required by existing system packages. [1] https://docs.openstack.org/diskimage-builder/latest/ [2] https://zuul.opendev.org/t/openstack/build/82663349aa314c0ea7aa4105659993ff/... [3] https://review.opendev.org/730992 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com