Problems with Libvert daemon upgrade

Noob here. Here’s the error codes. What should I do?

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...

Problem: 1: problem with the installed libvirt-daemon-driver-interface-10.6.0-Virt.1699.1123.13.x86_64
 Solution 1: Following actions will be done:
  keep obsolete libvirt-daemon-driver-interface-10.6.0-Virt.1699.1123.13.x86_64
  keep obsolete libvirt-daemon-common-10.6.0-Virt.1699.1123.13.x86_64
  keep obsolete libvirt-libs-10.6.0-Virt.1699.1123.13.x86_64
 Solution 2: deinstallation of libvirt-daemon-driver-interface-10.6.0-Virt.1699.1123.13.x86_64

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 

@invalid_user_name Not using standard repositories then…

zypper se -si libvirt-daemon-driver-interface libvirt-daemon-common libvirt-libs

S  | Name                            | Type    | Version    | Arch   | Repository
---+---------------------------------+---------+------------+--------+----------------------
i  | libvirt-daemon-common           | package | 10.6.0-1.3 | x86_64 | Main Repository (OSS)
i  | libvirt-daemon-driver-interface | package | 10.6.0-1.3 | x86_64 | Main Repository (OSS)
i  | libvirt-libs                    | package | 10.6.0-1.3 | x86_64 | Main Repository (OSS)

Yours are appended with Virt.1699.1123.13?

1 Like

Hmmm… I don’t really know. How to find out? How to resolve this issue? Any commands you’d like me to run?

I’m a noob and don’t know much about how repos work or managing them. All a mystery to me.

advait@localhost:~> zypper se -si libvirt-daemon-driver-interface libvirt-daemon-common libvirt-libs
Loading repository data...
Reading installed packages...

S  | Name                            | Type    | Version                  | Arch   | Repository
---+---------------------------------+---------+--------------------------+--------+------------------
i  | libvirt-daemon-common           | package | 10.6.0-Virt.1699.1123.13 | x86_64 | (System Packages)
i  | libvirt-daemon-driver-interface | package | 10.6.0-Virt.1699.1123.13 | x86_64 | (System Packages)
i  | libvirt-libs                    | package | 10.6.0-Virt.1699.1123.13 | x86_64 | (System Packages)
advait@localhost:~> 

@invalid_user_name So the repo they came from is disabled or deleted?

Use zypper -vvv dup --allow-vendor-change and see what happens, basically you have to switch over to the Tumbleweed versions…

1 Like
advait@localhost:~> sudo zypper -vvv dup --allow-vendor-change
[sudo] password for root: 
Verbosity: 3
System management is locked by the application with pid 124682 (zypper).
Close this application before trying again.
advait@localhost:~> 

I need to close zypper? How to do that?

Also, I didn’t see pid 124682 in the process list.

@invalid_user_name probably packagekit running…

1 Like

what should I do?

@invalid_user_name killall packagekitd or just wait for it to finish…

1 Like

See below. How to fix?

advait@localhost:~> killall packagekitd
packagekitd: no process found

advait@localhost:~> sudo zypper -vvv dup --allow-vendor-change
Verbosity: 3
System management is locked by the application with pid 124682 (zypper).
Close this application before trying again.
advait@localhost:~> 

No. The repo they came from has these exact versions no more. How is zypper supposed to guess from which repository these packages had been installed?

rpm -q --qf '%{vendor}\n' libvirt-daemon-driver-interface
1 Like

Should I run this command and post the results?

@invalid_user_name With that ‘Virt’ It will be the Virtualization repo (they add , Release: Virt.<CI_CNT>.<B_CNT>) sure you don’t have that present? zypper lr -d

Don’t have YaST software or something else running in the background?

1 Like

Here’s the details. Anything helpful there?

advait@localhost:~> zypper lr -d
#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                            | Service
---+----------------------------------+----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------+--------
 1 | Virtualization                   | Virtualization (openSUSE_Tumbleweed)   | Yes     | (r ) Yes  | Yes     |   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  | Yes     |   99     | rpm-md | https://linux.teamviewer.com/yum/stable/main/binary-x86_64/                    | 
advait@localhost:~> 

I often have the Yast GUI and the Btrfs snapshot GUI running. Should I turn them off?

That is very vague, YaST can do many things. But when you have YaST > Software Management running, that will prevent e.g. zypper from working. You can only have active one partner using libzypp at the time.

1 Like

@invalid_user_name as indicated by @hcvv shut them all down.

So in your repository output you do have the Virtualization repository present… So try forcing a refresh and then just a zypper dup and see if that helps.

zypper -vvv refresh -f
zypper -vvv dup

Else disable repository 1, then do a zypper -vvv dup --allow-vendor-change to switch back to the Tumbleweed versions.

1 Like

I don’t know what this means. Could you explain? Shut all what down? You mean just close the Yast and snapshot GUIs?

Yes. Read again this and this comment. When you want to use zypper in a terminal, you can’t have any other application running which also uses libzypp. That is why you got the explicit warning. Only one process/application can have control over libzypp and the package database at a time.

1 Like

I ran those two commands. The first one gave a long output that ended in “All repos refreshed.”

All repositories have been refreshed.
advait@localhost:~> zypper -vvv dup
Verbosity: 3
Root privileges are required to run this command.
advait@localhost:~> sudo zypper -vvv dup
Verbosity: 3
Initializing Target
Checking whether to refresh metadata for Virtualization (openSUSE_Tumbleweed)
Checking whether to refresh metadata for Main Repository (NON-OSS)
Checking whether to refresh metadata for Main Repository (OSS)
Checking whether to refresh metadata for Main Update Repository
Checking whether to refresh metadata for google-chrome
Checking whether to refresh metadata for Open H.264 Codec (openSUSE Tumbleweed)
Checking whether to refresh metadata for snappy
Checking whether to refresh metadata for TeamViewer - x86_64
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...
Force resolution: No
Computing upgrade...

Problem: 1: problem with the installed libvirt-daemon-driver-interface-10.6.0-Virt.1699.1123.13.x86_64
 Solution 1: Following actions will be done:
  keep obsolete libvirt-daemon-driver-interface-10.6.0-Virt.1699.1123.13.x86_64
  keep obsolete libvirt-daemon-common-10.6.0-Virt.1699.1123.13.x86_64
  keep obsolete libvirt-libs-10.6.0-Virt.1699.1123.13.x86_64
 Solution 2: deinstallation of libvirt-daemon-driver-interface-10.6.0-Virt.1699.1123.13.x86_64

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 


OK, what should I choose? (Yast and snapshot GUIs are off.)

As this package is not available in the vitrtualization repo, you need to switch back to OSS repo.

1 Like