Complex error message from zypper. What should I do?

Here’s the error message. What should I do? I’m not a technical person.

advait@localhost:~> sudo zypper dup
[sudo] password for root: 
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
2 Problems:
Problem: 1: the installed libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64 requires 'libxenlight.so.4.18()(64bit)', but this requirement cannot be provided
deleted providers: xen-libs-4.18.2_06-2.1.x86_64
not installable providers: xen-libs-4.18.1_02-Virt.1699.856.7.x86_64[Virtualization]

Problem: 2: the installed libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64 requires 'libxenlight.so.4.18()(64bit)', but this requirement cannot be provided
deleted providers: xen-libs-4.18.2_06-2.1.x86_64
not installable providers: xen-libs-4.18.1_02-Virt.1699.856.7.x86_64[Virtualization]


Problem: 1: the installed libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64 requires 'libxenlight.so.4.18()(64bit)', but this requirement cannot be provided
deleted providers: xen-libs-4.18.2_06-2.1.x86_64
not installable providers: xen-libs-4.18.1_02-Virt.1699.856.7.x86_64[Virtualization]

 Solution 1: deinstallation of libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64
 Solution 2: install xen-libs-4.18.1_02-Virt.1699.856.7.x86_64 from vendor obs://build.opensuse.org/Virtualization
  replacing xen-libs-4.18.2_06-2.1.x86_64 from vendor openSUSE
 Solution 3: keep obsolete xen-libs-4.18.2_06-2.1.x86_64
 Solution 4: break libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/3/4/s/r/c/d/?] (c): 

advait@localhost:~> sudo zypper dup
[sudo] password for root: 
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

2 Problems:

Problem: 1: the installed libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64 requires 'libxenlight.so.4.18()(64bit)', but this requirement cannot be provided
deleted providers: xen-libs-4.18.2_06-2.1.x86_64
not installable providers: xen-libs-4.18.1_02-Virt.1699.856.7.x86_64[Virtualization]

Problem: 2: the installed libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64 requires 'libxenlight.so.4.18()(64bit)', but this requirement cannot be provided
deleted providers: xen-libs-4.18.2_06-2.1.x86_64
not installable providers: xen-libs-4.18.1_02-Virt.1699.856.7.x86_64[Virtualization]

Problem: 1: the installed libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64 requires 'libxenlight.so.4.18()(64bit)', but this requirement cannot be provided
deleted providers: xen-libs-4.18.2_06-2.1.x86_64
not installable providers: xen-libs-4.18.1_02-Virt.1699.856.7.x86_64[Virtualization]

 Solution 1: deinstallation of libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64

 Solution 2: install xen-libs-4.18.1_02-Virt.1699.856.7.x86_64 from vendor obs://build.opensuse.org/Virtualization
  replacing xen-libs-4.18.2_06-2.1.x86_64 from vendor openSUSE

 Solution 3: keep obsolete xen-libs-4.18.2_06-2.1.x86_64

 Solution 4: break libvirt-daemon-driver-libxl-10.2.0-Virt.1699.1111.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/3/4/s/r/c/d/?] (c):

If you show us, using code tags (</> above input window here), input/output from command sudo zypper lr -d (list repositories configuration), we can very likely help you.

1 Like

Sure, see below. Any clues for a fix?

advait@localhost:~> sudo zypper lr -d
[sudo] password for root: 
#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                            | Service
---+----------------------------------+----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------+--------
 1 | Virtualization                   | Virtualization (openSUSE_Tumbleweed)   | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/repositories/Virtualization/openSUSE_Tumbleweed/ | 
 2 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                          | 
 3 | download.opensuse.org-oss        | Main Repository (OSS)                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                              | 
 4 | download.opensuse.org-tumbleweed | Main Update Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                | 
 5 | google-chrome                    | google-chrome                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://dl.google.com/linux/chrome/rpm/stable/x86_64                           | 
 6 | openSUSE-20240112-0              | openSUSE-20240112-0                    | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-hp_v250w_0426580071705207-0:0-part2            | 
 7 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/debug/tumbleweed/repo/oss/                        | 
 8 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                        | 
 9 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/source/tumbleweed/repo/oss/                       | 
10 | snappy                           | snappy                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed  | 
11 | teamviewer                       | TeamViewer - x86_64                    | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://linux.teamviewer.com/yum/stable/main/binary-x86_64/                    | 
advait@localhost:~> 

Is there a reason why you use an additional repo with older package versions than from the official repos? If not, install the libvirt packages from the official repo and remove the Virtualization repo.

1 Like

And one reason for such issues is, that you have refresh for the Virtualisation repo disabled. So either enable auto refresh or always do a zypper ref before zypper dup.

1 Like

TTBOMK, I’ve never messed with any repos. I also have no idea at all how to change or install a repo. They’re a total black box to me. And I have zero idea how to fix a repo.

What would cause my repos to get messed up?

You added the repo and did not enable auto refresh. Simply open “YaST Software repositories” and enable auto refresh for the Virtualization repo when you want to use a GUI. Or read up on zypper mr to modifie the repo.

1 Like

Should I enable “refresh for virtualization”? If so, how? Could you provide step by step instructions suitable for a complete noob? I have essentially zero knowledge of the CLI.

I have no idea how I added this repo. Once or twice I went into the Software GUI and installed some apps. Is that what you mean?

You have 3 external/additional repositories on your system. Someone added them to your system…

It worked. Very nice. Thank goodness for the YAST GUIs. Makes it much easier for a noob like me to fix something. I ran sudo zypper dup and it worked fine.

All fixed. Thanks.

PS: When I added the repo, it never asked me if I wanted to enable refresh or showed the option. An example of bad UI/UX. I may submit the issue to the devs.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.