[Bug 1200658] New: Conflict while trying zypper patch
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 Bug ID: 1200658 Summary: Conflict while trying zypper patch Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: armv7 OS: openSUSE Leap 15.4 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@suse.de Reporter: matwey.kornilov@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello, I am running fresh image openSUSE-Leap-15.4-ARM-JeOS-beaglebone.armv7l-2022.05.18-Build2.27 on my Beagle Bone Black board (arvm7l) architecture. While trying to update the system I see the following: # zypper patch Retrieving repository 'Update repository of openSUSE Backports' metadata .................................................................................................................[done] Building repository 'Update repository of openSUSE Backports' cache ......................................................................................................................[done] Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata ............................................................................................[done] Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache .................................................................................................[done] Loading repository data... Reading installed packages... Resolving package dependencies... 2 Problems: Problem: the installed libldap-2_4-2-2.4.46-14.9.1.armv7hl requires 'libldap-data = 2.4.46-14.9.1', but this requirement cannot be provided Problem: the installed vim-small-8.0.1568-5.18.1.armv7hl requires 'vim-data-common = 8.0.1568-5.18.1', but this requirement cannot be provided Problem: the installed libldap-2_4-2-2.4.46-14.9.1.armv7hl requires 'libldap-data = 2.4.46-14.9.1', but this requirement cannot be provided Solution 1: Following actions will be done: deinstallation of libldap-2_4-2-2.4.46-14.9.1.armv7hl deinstallation of libldapcpp1-0.3.1-1.1.armv7hl deinstallation of sudo-1.9.9-2.1.armv7hl deinstallation of libcurl4-7.79.1-3.1.armv7hl deinstallation of yast2-ldap-4.4.1-1.2.armv7hl deinstallation of libzypp-17.30.0-1.1.armv7hl deinstallation of yast2-transfer-4.4.1-1.2.armv7hl deinstallation of git-core-2.34.1-10.10.1.armv7hl deinstallation of curl-7.79.1-3.1.armv7hl deinstallation of collectd-5.12.0-1.3.armv7hl deinstallation of yast2-users-4.4.10-1.1.armv7hl deinstallation of libyui-ncurses-pkg16-4.3.3-1.1.armv7hl deinstallation of btrfsmaintenance-0.4.2-3.4.1.noarch deinstallation of yast2-packager-4.4.31-1.1.armv7hl deinstallation of yast2-pkg-bindings-4.4.4-1.1.armv7hl deinstallation of patterns-base-sw_management-20200505-lp154.5.10.armv7hl deinstallation of patterns-base-base-20200505-lp154.5.10.armv7hl deinstallation of zypper-1.14.52-1.1.armv7hl deinstallation of dracut-kiwi-lib-9.24.17-3.51.1.armv7hl deinstallation of git-2.34.1-10.10.1.armv7hl deinstallation of yast2-online-update-configuration-4.4.0-1.2.noarch deinstallation of yast2-network-4.4.45-1.1.noarch deinstallation of yast2-country-4.4.12-1.1.armv7hl deinstallation of yast2-bootloader-4.4.17-1.1.armv7hl deinstallation of yast2-4.4.47-1.1.armv7hl deinstallation of purge-kernels-service-0-8.4.1.noarch deinstallation of patterns-base-enhanced_base-20200505-lp154.5.10.armv7hl deinstallation of patterns-base-basesystem-20200505-lp154.5.10.armv7hl deinstallation of zypper-aptitude-1.14.52-1.1.noarch deinstallation of yast2-storage-ng-4.4.36-1.1.armv7hl deinstallation of dracut-kiwi-oem-repart-9.24.17-3.51.1.armv7hl deinstallation of patterns-base-console-20200505-lp154.5.10.armv7hl deinstallation of yast2-security-4.4.13-1.1.noarch deinstallation of yast2-firewall-4.4.3-1.1.noarch deinstallation of yast2-pam-4.4.0-1.2.noarch deinstallation of yast2-proxy-4.4.1-1.2.noarch Solution 2: do not install patch:openSUSE-SLE-15.4-2022-1670-1.noarch Solution 3: break libldap-2_4-2-2.4.46-14.9.1.armv7hl by ignoring some of its dependencies Choose from above solutions by number or skip, retry or cancel [1/2/3/s/r/c/d/?] (c): I believe this should not happen and there is some issue with pre-configured repositories: # zypper lr Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh --+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+-------- 1 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No | ---- | ---- 2 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes 3 | repo-debug | Debug Repository | No | ---- | ---- 4 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- 5 | repo-oss | Main Repository | Yes | (r ) Yes | Yes 6 | repo-sle-debug-update | Update repository with debuginfo for updates from SUSE Linux Enterprise 15 | No | ---- | ---- 7 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes 8 | repo-source | Source Repository | No | ---- | ---- 9 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 http://bugzilla.opensuse.org/show_bug.cgi?id=1200658#c1 Benjamin Zeller <bzeller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bzeller@suse.com, | |matwey.kornilov@gmail.com Flags| |needinfo?(matwey.kornilov@g | |mail.com) --- Comment #1 from Benjamin Zeller <bzeller@suse.com> --- Please create and attach a solver testcase:
# zypper patch --debug-solver ... Generating solver test case... Solver test case generated successfully at /var/log/zypper.solverTestCase. Then pack the output directory together with /var/log/zypper.log and attach it to the bugreport.
In case the testcase exceeds the 10MB limit for bugzilla uploads, you can use 'split' to divide the file into smaller pieces:
$ cd /tmp $ tar cvjf zypper.solverTestCase.tar.bz2 /var/log/zypper.solverTestCase/ $ split -b 10M --additional-suffix=-zypper.solverTestCase.tar.bz2 \ zypper.solverTestCase.tar.bz2 The created pieces will be named like this: xaa-zypper.solverTestCase.tar.bz2 xab-zypper.solverTestCase.tar.bz2 xac-zypper.solverTestCase.tar.bz2 ...
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 http://bugzilla.opensuse.org/show_bug.cgi?id=1200658#c2 Matwey Kornilov <matwey.kornilov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(matwey.kornilov@g | |mail.com) | --- Comment #2 from Matwey Kornilov <matwey.kornilov@gmail.com> --- Created attachment 859989 --> http://bugzilla.opensuse.org/attachment.cgi?id=859989&action=edit solver test case Attached here is required archive. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 http://bugzilla.opensuse.org/show_bug.cgi?id=1200658#c3 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |Maintenance Assignee|zypp-maintainers@suse.de |maintenance@opensuse.org --- Comment #3 from Michael Andres <ma@suse.com> --- @maintenance: If we ship our patches as .noarch, they must be indeed noarch or cover _all_ architecutes. - The system here is Leap-15.4-1.armv7hl - Installed: libldap-2_4-2-2.4.46-14.9.1.armv7hl (99)@System libldap-data-2.4.46-14.9.1.noarch (99)@System - The patch:openSUSE-SLE-15.4-2022-1670-1.noarch(repo-sle-update) CONFLICTS (62){ libldap-2_4-2.x86_64 < 2.4.46-150200.14.8.1 libldap-2_4-2.noarch < 2.4.46-150200.14.8.1 libldap-2_4-2-32bit.x86_64 < 2.4.46-150200.14.8.1 libldap-2_4-2-32bit.noarch < 2.4.46-150200.14.8.1 libldap-data < 2.4.46-150200.14.8.1 libldap-2_4-2.s390x < 2.4.46-150200.14.8.1 libldap-2_4-2.ppc64le < 2.4.46-150200.14.8.1 libldap-2_4-2.aarch64 < 2.4.46-150200.14.8.1 ...(list just the libldap* conflicts) } Issue: - The patch claims to be noarch. so it is applicable on armv7hl - The patch requires to update libldap-data, which is noarch and provided - The patch however provides no updated ibldap-2_4-2.armv7hl So the installed ibldap-2_4 remains unchanged; libldap-data however must be updated and this leads to the issue because both versions don't fit: installed libldap-2_4-2-2.4.46-14.9.1.armv7hl requires 'libldap-data = 2.4.46-14.9.1', but this requirement cannot be provided -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 http://bugzilla.opensuse.org/show_bug.cgi?id=1200658#c5 --- Comment #5 from Matwey Kornilov <matwey.kornilov@gmail.com> --- Hi Marcus, Thank you for the reply. But, I don't quite agree with INVALID since I've simply downloaded the image from opensuse.org and it doesn't work as expected. If the image is not supposed to be working at all, then why is it here? If there are no update repositories for armv7l YET, then it is worth to reassign the issue to somebody could help with it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(meissner@suse.com | |) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 http://bugzilla.opensuse.org/show_bug.cgi?id=1200658#c6 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |dmueller@suse.com Resolution|INVALID |--- Assignee|maintenance@opensuse.org |guillaume.gardet@opensuse.o | |rg --- Comment #6 from Michael Andres <ma@suse.com> --- @Guillaume/Dirk I pass it to you, hoping you find a way to resole this issue on ARM. Without arm binary packages in the SLE update repos, they are not usable on Leap-15.4.arm. But the SLE update repos are included in the arm images (and maybe proposed to be added to the system elsewhere). --- Just a hint: [https://doc.opensuse.org/projects/libzypp/HEAD/zypp-services.html#services-u...] I know opensuse - for whatever reason - does not want to offer services (RIS), but they could be a way to handle those issues. A repoindex.xml for ARM e.g. could leave the SLE repos disabled or add an additional repo that provides the missing arm packages. It would not even be necessary to host such a repoindex.xml on d.o.o. It could as well be shipped by a package and installed on the local system. This way changes to the repo set could be distributed by a package update. Installed e.g as /Local/Service/repo/repoindex.xml the service would be added by 'zypper as -f /Local/Service openSUSE' If actually maintained by a package, switches like debugenable and sourceenable in the example should be replaced by repovariables, so the user could maintain the values in /etc/zypp/vars.d rather than having to edit the repoindex.xml itself. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200658 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guillaume.gardet@arm.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com