YAST modules not loading in GUI

So I am a complete and utter noob when it comes to anything linux. I have been using OpenSUSE stably for about a month now and it has gone 100x better than any of my other linux experiences. However, I have now encountered my first problem. I am thankful though, because I want to learn my way around and be able to troubleshoot any future issues. So, let me explain to you my situation:

I decided to update today, so I went to the package updater and installed all of those. Then I went to the terminal and executed “sudo zypper update,” which took me to OpenSUSE Leap. I am fine with this upgrade, as it seems much smoother for some unknown reason. Though my adventurous self was not done, so I wanted to finally install the drivers for my NVIDIA GTX 650. I went to the following page:
https://en.opensuse.org/SDB:NVIDIA_drivers#Easy_way_to_get_NVIDIA_drivers

I opened YAST and clicked the Software Repositories module, but it simply tries loading it for a few seconds and then nothing. No error message or anything. I went into terminal and it seems to launch just fine through there. I have also found that my one-click installs do not work anymore. Instead of it simply opening in YAST after the download, nothing happens. Any help will be appreciated. I will be heading to bed at the moment, but I will be actively on here tomorrow. Ask me any followup questions and I will do my best to answer them.

Regards,
tstor

Yes, openSUSE is the best distro. I’m glad you found out before wasting
time on others. Well done on being willing to learn.

Simple starting point:

/var/log/YaST2/y2log

In particular, look for anything written during one of your tests, using
something like the following in a terminal with a big scrollback buffer,
or using ‘tee’, or something. I’ll show a couple ways, all mutually
exclusive, and all assuming you are a non-root user (thus the use of ‘sudo’):


#Follow new lines added to the files so you can then test YaST2 and see
#what is written to its log file.

sudo tail -f /var/log/YaST2/y2log



#In case your konsole/gnome-terminal/xterm scrollback is small, see
#that output and also write it to a new file for you to review later.
#Look at /tmp/yast-testing.log for the specific output from your test.

sudo tail -f /var/log/YaST2/y2log | tee -a /tmp/yast-testing.log

Regarding one-click installs, that may be something broken in your
browser, or it may be related since it basically uses a lot of the same
things you mentioned are broken. Hard to say, and I’m no expert on
troubleshooting broken YaST stuff, but the log is very verbose and often
helps.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

As far as I know, the recommendation is to use “sudo zypper dup” (distribution upgrade). Possibly you now have a mixture of 13.2 and Leap 42.1 software, resulting in the problem that you are seeing.

I am assuming that you switched to the 42.1 repos, though you did not mention that.

Okay, so I tried to access the YaST2 folder, but I do not have permission. How would I go about gaining permission to view the content? Apparently it is not as simple as I was expecting, as I have went to 5 different website and received 5 different (equally as confusing) answers. I did, however, run the line you gave me consisting of “sudo tail -f /var/log/YaST2/y2log.” It gave me the following output:

2016-02-09 06:50:35 <1> linux.suse(3058) [ui] YSettings.cc(setLocaleDir):147 localeDir is now locked.
2016-02-09 06:50:35 <1> linux.suse(3058) [ui] YPath.cc(YPath):49 Given filename: libyui-qt.so.7
2016-02-09 06:50:35 <1> linux.suse(3058) [ui] YSettings.cc(progDir):73 progDir: "/usr/share/YaST2"
2016-02-09 06:50:35 <1> linux.suse(3058) [ui] YPath.cc(YPath):65 Preferring subdir: /usr/share/YaST2
2016-02-09 06:50:35 <1> linux.suse(3058) [ui] YPath.cc(YPath):66 Subdir given with filename: 
2016-02-09 06:50:35 <1> linux.suse(3058) [ui] YPath.cc(YPath):67 Looking for: libyui-qt.so.7
2016-02-09 06:50:35 <1> linux.suse(3058) [ui] YPath.cc(lsDir):138 Looking in /usr/lib64/yui
2016-02-09 06:50:35 <1> linux.suse(3058) [ui] YPath.cc(YPath):121 Could NOT find libyui-qt.so.7 by looking recursive inside /usr/lib64/yui
2016-02-09 06:50:35 <3> linux.suse(3058) [ui] YUIPlugin.cc(YUIPlugin):50 Could not load UI plugin "qt": libyui-qt.so.7: cannot open shared object file: No such file or directory
2016-02-09 06:50:35 <2> linux.suse(3058) [ui] YUILoader.cc(loadPlugin):136     THROW:    Couldn't load plug-in qt

I am not sure how to decipher this message.

Alright, so I went into the terminal and ran the line “sudo yast” and I got access to the software repositories module (will not open in GUI). I do have a majority 13.2 repo selection. Specifically, I can see the following:


│Priority     │Enabled│Autorefresh│Name                        ││ 
  │ 99 (Default)│   x   │     x     │openSUSE-13.2-Update-Non-Oss││ 
  │ 99 (Default)│   x   │     x     │openSUSE-13.2-Oss           ││ 
  │ 99 (Default)│   x   │     x     │mono-project                ││ 
  │ 99 (Default)│   x   │     x     │openSUSE-13.2-Update        ││ 
  │ 99 (Default)│   x   │     x     │openSUSE-13.2-Non-Oss       ││ 
  │ 99 (Default)│   x   │     x     │openSUSE:Leap:42.1          ││ 

At this stage, you should either change them to all 42.1 or to all 13.2. A mixture is going to cause problems. And maybe disable that mono repo. Then use “zypper dup” to bring everything to a consistent version. You can look into getting the right repo for mono and updating that after all else is working.

How would I do this? I was reading on the OpenSUSE wiki that adding a repo in the terminal can be done through the command “zypper ar -f <URL> <alias>.” I noticed that the repos can be found here:
https://en.opensuse.org/Package_repositories#Official_Repositories

So, for example, if I wanted to add the OSS repo, would it look something like “zypper ar -f <http://download.opensuse.org/distribution/leap/42.1/repo/oss/&gt; <openSUSE-42.1-Oss>”?

Also, how would I remove a repo?

To remove all repos for OS 13.2:


su -
(type root password)
zypper repos

You get a list of all repositories in your system; note down the numbers of those marked 13.2; then:


zypper removerepo <all the numbers marked above>

Then if you have already your 42.1 repos listed, type:


zypper ref
zypper dup

After that you should truly have a Leap updated system and the “new” Yast should work, unless there are other problems…

Sorry for missing part of your question, you have to type in URI and alias WITHOUT <> brackets… e.g.


zypper ar -f http://download.opensuse.org/distribution/leap/42.1/repo/oss/ openSUSE-42.1-Oss

I have followed your instructions and now the only repo remaining is openSUSE:Leap:42.1. So which repos do I need to add? I assume I would add the following:
OSS (http://download.opensuse.org/distribution/leap/42.1/repo/oss/)
Non-OSS (http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/)
Update (http://download.opensuse.org/update/leap/42.1/oss/)
Update Non-OSS (http://download.opensuse.org/update/leap/42.1/non-oss/)

Would those be the repos I need to add? If they are, then would those be the correct URLs to use when adding the repos?

Those should be there by default you should not need to add them. But all repos must be for the same version of openSUSE if you mix you get problems. so remove any repos that aer not for the version you want to run.

View current repos’ with

zypper lr -d

or in Yast -repository management

They were there, but just for the wrong version :stuck_out_tongue: Are those all the repos I would need?

Fpr the moment, yes. You now first need to make sure all installed packages are of one and the same openSUSE version. Changing the repos doesn’t perform that change for you.
Run


su -c 'zypper dup'

and accept the changes. Then reboot. If you don’t get the graphical login, but a console login prompt, don’t worry, login with username and password and do


su -c 'yast'

Use the repo manager to add the nvidia repo ( from Repositories maintained by the community ), and run


su -c 'zypper inr'

This should install the nvidia driver package and compile the kernel modules. Wait for it to finish, then reboot. You should now see a graphical login.

I added the following repos:
zypper ar -f http://download.opensuse.org/distribution/leap/42.1/repo/oss/ openSUSE-42.1-Oss
zypper ar -f http://download.opensuse.org/distrib…/repo/non-oss/ openSUSE-42.1-Non-Oss
zypper ar -f http://download.opensuse.org/update/leap/42.1/oss/ openSUSE-42.1-Update
zypper ar -f http://download.opensuse.org/update/leap/42.1/non-oss/ openSUSE-42.1-Update-Non-Oss

I then ran the line “zypper repos” and they are in there. However, when I run the line “su -c ‘yast’,” I get the following output:

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.
Retrieving repository 'openSUSE-42.1-Non-Oss' metadata ..............................................................................[error]
Repository 'openSUSE-42.1-Non-Oss' is invalid.
[openSUSE-42.1-Non-Oss|http://download.opensuse.org/distrib.../repo/non-oss/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-42.1-Non-Oss' because of the above error.
Retrieving repository 'openSUSE-42.1-Oss' metadata ...................................................................................[done]
Building repository 'openSUSE-42.1-Oss' cache ........................................................................................[done]
Retrieving repository 'openSUSE-42.1-Update' metadata ................................................................................[done]
Building repository 'openSUSE-42.1-Update' cache .....................................................................................[done]
Retrieving repository 'openSUSE-42.1-Update-Non-Oss' metadata ........................................................................[done]
Building repository 'openSUSE-42.1-Update-Non-Oss' cache .............................................................................[done]
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
7 Problems:
Problem: hdjmod-kmp-desktop-1.28_k3.16.7_32-18.16.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
Problem: hdjmod-kmp-desktop-1.28_k3.16.6_2-18.2.12.x86_64 requires kernel-uname-r = 3.16.6-2-desktop, but this requirement cannot be provided
Problem: ipset-kmp-desktop-6.23_k3.16.7_32-15.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
Problem: ipset-kmp-desktop-6.23_k3.16.6_2-1.10.x86_64 requires kernel-uname-r = 3.16.6-2-desktop, but this requirement cannot be provided
Problem: virtualbox-guest-kmp-desktop-4.3.34_k3.16.7_32-37.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
Problem: virtualbox-guest-kmp-desktop-4.3.18_k3.16.6_2-1.6.x86_64 requires kernel-uname-r = 3.16.6-2-desktop, but this requirement cannot be provided
Problem: virtualbox-host-kmp-desktop-4.3.34_k3.16.7_32-37.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided

Problem: hdjmod-kmp-desktop-1.28_k3.16.7_32-18.16.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
  deleted providers: kernel-desktop-3.16.7-32.1.x86_64
 Solution 1: Following actions will be done:
  deinstallation of hdjmod-kmp-desktop-1.28_k3.16.6_2-18.2.12.x86_64
  deinstallation of virtualbox-host-kmp-desktop-4.3.34_k3.16.7_32-37.1.x86_64
  deinstallation of xen-kmp-desktop-4.4.1_06_k3.16.6_2-3.3.x86_64
  deinstallation of xen-kmp-desktop-4.4.3_08_k3.16.7_32-38.1.x86_64
 Solution 2: keep obsolete kernel-desktop-3.16.6-2.1.x86_64
 Solution 3: break hdjmod-kmp-desktop-1.28_k3.16.7_32-18.16.1.x86_64 by ignoring some of its dependencies

Any suggestions?

Sorry for the double post, but I have gotten a new issue. I updated the non-oss repo and that is now working fine. However, when I execute the line “su -c ‘zypper dup’” (not su -c ‘yast’, which is what I said I did in my last post) I get the following output:

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.
Retrieving repository 'openSUSE-42.1-Non-Oss' metadata ...............................................................................[done]
Building repository 'openSUSE-42.1-Non-Oss' cache ....................................................................................[done]
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
7 Problems:
Problem: hdjmod-kmp-desktop-1.28_k3.16.7_32-18.16.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
Problem: hdjmod-kmp-desktop-1.28_k3.16.6_2-18.2.12.x86_64 requires kernel-uname-r = 3.16.6-2-desktop, but this requirement cannot be provided
Problem: ipset-kmp-desktop-6.23_k3.16.7_32-15.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
Problem: ipset-kmp-desktop-6.23_k3.16.6_2-1.10.x86_64 requires kernel-uname-r = 3.16.6-2-desktop, but this requirement cannot be provided
Problem: virtualbox-guest-kmp-desktop-4.3.34_k3.16.7_32-37.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
Problem: virtualbox-guest-kmp-desktop-4.3.18_k3.16.6_2-1.6.x86_64 requires kernel-uname-r = 3.16.6-2-desktop, but this requirement cannot be provided
Problem: virtualbox-host-kmp-desktop-4.3.34_k3.16.7_32-37.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided

Problem: hdjmod-kmp-desktop-1.28_k3.16.7_32-18.16.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
  deleted providers: kernel-desktop-3.16.7-32.1.x86_64
 Solution 1: Following actions will be done:
  deinstallation of hdjmod-kmp-desktop-1.28_k3.16.6_2-18.2.12.x86_64
  deinstallation of virtualbox-host-kmp-desktop-4.3.34_k3.16.7_32-37.1.x86_64
  deinstallation of xen-kmp-desktop-4.4.1_06_k3.16.6_2-3.3.x86_64
  deinstallation of xen-kmp-desktop-4.4.3_08_k3.16.7_32-38.1.x86_64
 Solution 2: keep obsolete kernel-desktop-3.16.6-2.1.x86_64
 Solution 3: break hdjmod-kmp-desktop-1.28_k3.16.7_32-18.16.1.x86_64 by ignoring some of its dependencies

Upon selecting solution 1, I get the following output:

Problem: hdjmod-kmp-desktop-1.28_k3.16.6_2-18.2.12.x86_64 requires kernel-uname-r = 3.16.6-2-desktop, but this requirement cannot be provided
  deleted providers: kernel-desktop-3.16.6-2.1.x86_64
 Solution 1: Following actions will be done:
  deinstallation of hdjmod-kmp-desktop-1.28_k3.16.7_32-18.16.1.x86_64
  deinstallation of virtualbox-host-kmp-desktop-4.3.34_k3.16.7_32-37.1.x86_64
  deinstallation of xen-kmp-desktop-4.4.1_06_k3.16.6_2-3.3.x86_64
  deinstallation of xen-kmp-desktop-4.4.3_08_k3.16.7_32-38.1.x86_64
 Solution 2: keep obsolete kernel-desktop-3.16.7-29.1.x86_64
 Solution 3: break hdjmod-kmp-desktop-1.28_k3.16.6_2-18.2.12.x86_64 by ignoring some of its dependencies

Sorry for double post!

OK, nothing too strange.
Accept Solution 1 again, this will remove leftover kernel modules from 13.2.

I get the following:

Problem: ipset-kmp-desktop-6.23_k3.16.7_32-15.1.x86_64 requires kernel-uname-r = 3.16.7-32-desktop, but this requirement cannot be provided
  deleted providers: kernel-desktop-3.16.7-32.1.x86_64
 Solution 1: Following actions will be done:
  deinstallation of ipset-kmp-desktop-6.23_k3.16.6_2-1.10.x86_64
  deinstallation of virtualbox-host-kmp-desktop-4.3.34_k3.16.7_32-37.1.x86_64
  deinstallation of xen-kmp-desktop-4.4.1_06_k3.16.6_2-3.3.x86_64
  deinstallation of xen-kmp-desktop-4.4.3_08_k3.16.7_32-38.1.x86_64
 Solution 2: keep obsolete kernel-desktop-3.16.7-32.1.x86_64
 Solution 3: break ipset-kmp-desktop-6.23_k3.16.7_32-15.1.x86_64 by ignoring some of its dependencies

Third time is a charm? :wink:

Yessir, whenever you read “k3.16.6_” or “k3.16.7_” these are leftovers from OS13.2 and should be removed.

Thank you for all the help! I have finally got everything up and running. After I got through “su -c ‘zypper dup’,” which took some time, I was able to reboot. Upon rebooting, I went ahead and used the line “su -c ‘yast’” and added in the nvidia repo. My GTX 650 is now recognized! Of course, the core issue is also solved, which is that YAST now will load the modules in GUI. I have not tested one-click installs, but I will update this thread if that is still an issue later on. I would like to personally thank the following people for helping me out:
ab
nrickert
OrsoBruno
gogalthorp
Knurpht

I deeply appreciate the patience and help that each of you provided.

“Don’t look out only for your own interests, but take an interest in others, too.” - Philippians 2:4 (NL)

If you have not already done so, and if you do not mind my suggestion, why not choose one post from each of them and, at the bottom left of the message border, you will see a star symbol. Click on that and you can add to the reputation of the person who posted it.:wink:

Thank you for the reminder! I do recall ab mentioning it actually. I will also do the same for you, as you have given some good advise :smiley: