Hello everyone,
I recently switched over to openSUSE and I absolutlely love it. I came from a rolling release distro and therefore I decided to use Tumbleweed aswell.
Now to my problem. I think I really borked the repositories in zypper and did some updates, then removed some repositories and so on, is it possible for packages to lurk on my system after I removed the repository it came from?
The system works perfectly fine, but whenever I want to use Yast, I can open the progam itself, but I can’t open a single module. There are always error messages regarding Ruby3.1. The same thing happens in GUI and ncurses mode.
I read about similar problems on the forum and on SO, but they somehow could fix it with
sudo zypper dup --from <OSS-repo>
this is sadly not possible for me.
My repositories are:
zypper lr -pu
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | URI
--+--------------------+--------------------+---------+-----------+---------+----------+------------------------------------------------------------------------------
1 | NVIDIA | NVIDIA | Yes | (r ) Yes | Yes | 99 | https://download.nvidia.com/opensuse/tumbleweed
2 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99 | https://dl.google.com/linux/chrome/rpm/stable/x86_64
3 | snappy | snappy | Yes | (r ) Yes | Yes | 99 | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed
4 | tumbleweed-non-oss | tumbleweed-non-oss | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/tumbleweed/repo/non-oss/
5 | tumbleweed-oss | tumbleweed-oss | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/tumbleweed/repo/oss/
6 | tumbleweed-update | tumbleweed-update | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/update/tumbleweed/
And the error I get when I open a module in Yast, for example the “Media Check” module, is:
Internal error. Please report a bug report with logs.
Run save_y2logs to get complete logs.
Caller: /usr/lib64/ruby/vendor_ruby/3.1.0/yast/yast.rb:186:in `import_pure'
Details: Failed to load Module 'PackageCallbacks' due to: Failed to load Module 'CommandLine' due to: undefined method `message' for nil:NilClass
import_pure(mname)
^^^^^^^^^^^
I also tried doing this:
sudo zypper remove Ruby
sudo zypper remove Ruby3.1
sudo zypper remove Yast2
and reinstalling, but this did not change anything either.
Is there a neat solution to solve problems like this? How do I even get started?
If there is more informations you need to help me out on this, I’m happy to provide.
Thanks in advance,
eXo