YAST modules failing to load

Sorry, I don’t know when this first started as I don’t use YAST that often. I tried to load ‘Software management’ to search for a PDF editor. The module does not load - it fails with the error:

Caller: /usr/lib64/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'

Details: Failed to load Module 'Packages' due to: cannot load such file -- solv

I get a similar error when trying to load ‘Software Repositories’

Out of interest I also get an error loading ‘Network’ Same error except the module is Lan and the file is storage.

I have carried out several zypper dup operations this year (including one today and a rollback changed nothing), so I think my system is up to date (It’s a VM managed by UnRaid))

I’ll include the result of ‘zypper search -i ruby’

S | Name                            | Summary                                                              | Type
--+---------------------------------+----------------------------------------------------------------------+--------
i | libruby2_7-2_7                  | Dynamic runtime library for Ruby                                     | package
i | libruby3_0-3_0                  | Dynamic runtime library for Ruby                                     | package
i | libruby3_1-3_1                  | Dynamic runtime library for Ruby                                     | package
i | libstorage-ng-ruby              | Ruby bindings for libstorage-ng                                      | package
i | ruby                            | An Interpreted Object-Oriented Scripting Language                    | package
i | ruby-common                     | Collection of scripts and macros for ruby packaging                  | package
i | ruby-solv                       | Ruby bindings for the libsolv library                                | package
i | ruby2.7                         | An Interpreted Object-Oriented Scripting Language                    | package
i | ruby2.7-rubygem-abstract_method | Tiny library enabling you to define abstract methods in Ruby classes | package
i | ruby2.7-rubygem-cfa             | CFA (Config Files API) provides an easy way to create models on top  | package
i | ruby2.7-rubygem-cfa_grub2       | Models for GRUB2 configuration files                                 | package
i | ruby2.7-rubygem-cheetah         | Your swiss army knife for executing external commands in Ruby safely | package
i | ruby2.7-rubygem-fast_gettext    | A simple, fast, memory-efficient and threadsafe implementation of    | package
i | ruby2.7-rubygem-gem2rpm         | Generate rpm specfiles from gems                                     | package
i | ruby2.7-rubygem-nokogiri        | Nokogiri (鋸) makes it easy and painless to work with XML and HTML   | package
i | ruby2.7-rubygem-ruby-augeas     | Ruby bindings for augeas                                             | package
i | ruby2.7-rubygem-ruby-dbus       | Ruby module for interaction with D-Bus                               | package
i | ruby2.7-rubygem-simpleidn       | Punycode ACE to unicode UTF-8 (and vice-versa) string conversion     | package
i | ruby2.7-rubygem-unf             | A wrapper library to bring Unicode Normalization Form support to     | package
i | ruby2.7-rubygem-unf_ext         | Unicode Normalization Form support library for CRuby                 | package
i | ruby3.0                         | An Interpreted Object-Oriented Scripting Language                    | package
i | ruby3.0-rubygem-nokogiri        | Nokogiri (鋸) makes it easy and painless to work with XML and HTML   | package
i | yast2-ruby-bindings             | Ruby bindings for the YaST platform                                  | package

Repositories:

# | Alias                            | Name                       | Enabled | GPG Check | Refresh
--+----------------------------------+----------------------------+---------+-----------+--------
1 | NVIDIA                           | NVIDIA                     | Yes     | (r ) Yes  | Yes
2 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes
3 | download.opensuse.org-oss        | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes
4 | download.opensuse.org-tumbleweed | Main Update Repository     | Yes     | (r ) Yes  | Yes
5 | openSUSE-20211212-0              | openSUSE-20211212-0        | Yes     | (r ) Yes  | No
6 | packman                          | Packman                    | Yes     | (r ) Yes  | Yes
7 | repo-debug                       | openSUSE-Tumbleweed-Debug  | No      | ----      | ----
8 | repo-source                      | openSUSE-Tumbleweed-Source | No      | ----      | ----

Anyone have an idea as to where my problem lies?

Update with:

zypper dup

My first idea, but the OP says he did one today.

And to @yardon. when posting a repo list, always include the URL, e.g.

zypper lr -d

Now we have only your local names and aliases, which basically can be any string.

Sorry My bad. Here is the list with URL’s

# | Alias                            | Name                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                  | Service
--+----------------------------------+----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------+--------
1 | NVIDIA                           | NVIDIA                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/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 | openSUSE-20211212-0              | openSUSE-20211212-0        | Yes     | (r ) Yes  | No      |   99     | rpm-md | cd:/?devices=/dev/disk/by-id/scsi-1ATA_QEMU_DVD-ROM_QM00001          | 
6 | packman                          | Packman                    | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ | 
7 | repo-debug                       | openSUSE-Tumbleweed-Debug  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/              | 
8 | repo-source                      | openSUSE-Tumbleweed-Source | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/             | 

Hi
Have you ever run dup on this system, ruby 2.7 has been gone for some time… As user Sauerland indicated, zypper dup your system I suspect other issues as well as fallout (eg Nvidia)…

Just carried out another dup this morning…

sudo zypper dup
[sudo] password for root: 
Retrieving repository 'Main Repository (NON-OSS)' metadata ...............[done]
Building repository 'Main Repository (NON-OSS)' cache ....................[done]
Retrieving repository 'Main Repository (OSS)' metadata ...................[done]
Building repository 'Main Repository (OSS)' cache ........................[done]
Retrieving repository 'Main Update Repository' metadata ..................[done]
Building repository 'Main Update Repository' cache .......................[done]
Retrieving repository 'Packman' metadata .................................[done]
Building repository 'Packman' cache ......................................[done]
Loading repository data...
Building repository 'NVIDIA' cache .......................................[done]
Building repository 'openSUSE-20211212-0' cache ..........................[done]
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...

The following item is locked and will not be changed by any action:
 Available:
  PackageKit

The following 47 packages are going to be upgraded:
  augeas augeas-lenses branding-openSUSE cpupower ffmpeg-4
  grub2-branding-openSUSE gzip keepassxc keepassxc-lang libaugeas0
  libavcodec58_134 libavdevice58_13 libavfilter7_110 libavformat58_76
  libavresample4_0 libavutil56_70 libbabl-0_1-0 libcpupower0 libhdf5-103
  libhdf5_hl100 libopenblas_pthreads0 libotr5 libpostproc55_9
  libreoffice-branding-openSUSE libsoup-3_0-0 libsoup-lang libswresample3_9
  libswscale5_9 libvlc5 libvlccore9 MozillaFirefox
  MozillaFirefox-translations-common openSUSE-release
  openSUSE-release-appliance-custom plymouth-branding-openSUSE python38-psutil
  typelib-1_0-Soup-3_0 vim vim-data vim-data-common vlc vlc-codecs vlc-lang
  vlc-noX vlc-qt wallpaper-branding-openSUSE yast2-qt-branding-openSUSE

The following product is going to be upgraded:
  openSUSE Tumbleweed  20220410-0 -> 20220411-0

47 packages to upgrade.
Overall download size: 129.2 MiB. Already cached: 0 B. After the operation, 75.1
KiB will be freed.
Continue? [y/n/v/...? shows all options] (y): y


(46/47) Installing: MozillaFirefox-99.0-1.2.x86_64 ...........................................................................[done]
(47/47) Installing: MozillaFirefox-translations-common-99.0-1.2.x86_64 .......................................................[done]
Executing %posttrans scripts .................................................................................................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.

Still the same error when opening YAST

Better disable #5, that is the installation disk, you do not need it and I assume that a lot of zypper/YaSt > Software actions will ask for it to be mounted.

After disabling that, you should also do another “zypper dup”. That might fix your problem.

Yes, when he has that dvd in the unit all the time :\

Doh!

That sorted it. It was mounted as a virtual CD

Removing it and completing another zypper dup has cleared the problem

Thanks and sorry for being a dipstick

You are welcome.

Indeed showing the facts to others may bring up things you would never have seen yourself because you are to close to it. That is very human. :wink: