I Think That I Lost Yast

Hello All,
I am running openSUSE 42.3 Leap which I installed a couple of weeks ago. It was a clean install to a freshly formatted SSD. The installation went smoothly with no problems and I have been using this installation of openSUSE without any problems for a couple of weeks. My problem just started today.

I am multibooting with a couple of other distros, but each distro has its own SSD. I was working on my openSUSE a couple of days ago to install VLC and some multimedia CODECS, and at that time YAST was working perfectly. I had to do some stuff with my Linux Mint 18.2 so I logged off of openSUSE on Sunday and began using Linux Mint.When I logged back into openSUSE this morning there was no YAST.

I looked in the System area in the start menu, I typed in yast in the start menu and I also used the command line to try to find YAST, but it is nowhere to be seen.

My system is an Intel 4th generation Haswell i5 4690, Asus Z97-A motherboard and no external GPU. I went back to my other distros and there is no problem there, and right now I am using openSUSE with no problems, it just seems that I can access YAST.

Any help or suggestions will be much appreciated.

Rocky Bennett

Just a note to this. Besides not having access to YAST, when I type update into the start menu, nothing comes back. My system is borked.

Apart from the YaST issue you’re describing, are there any other apparent issues?

It might pay to share your current configured repos to start with

zypper lr -d

If you try starting yast from a terminal, what is reported?

xdg-su -c yast2

Does the ncurses (terminal) version run ok?

sudo /usr/sbin/yast

Thank you very much for you help. Apart from the YAST issue, everything seems to be working fine.

Here is the output from the first command;

rocky@linux-8k4p:~> zypper lr -d
If 'zypper' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf zypper
rocky@linux-8k4p:~> 



After that Itried the next line of code and a dialog box came up for me to enter my password. I thought, yeah, this will work. After I entered my password and pressed enter, another dialog box came back that said;

“Can not execute command.”

After that I tried the third command, this is what happened.

rocky@linux-8k4p:~> zypper lr -d
If 'zypper' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf zypper
rocky@linux-8k4p:~> xdg-su -c yast2
rocky@linux-8k4p:~> sudo /usr/sbin/yast
[sudo] password for root: 
sudo: /usr/sbin/yast: command not found
rocky@linux-8k4p:~> 




But system seems to operate very well, I just have no YAST.

Rocky

There is more wrong than you realise. For zypper and yast to both be missing is a serious problem - no package management (and likely other missing vital system components).

Try

rpm -qa|egrep "zypper|yast"
echo $PATH

I’d recommend backing up any important data you have in ~/ as you may well need to reinstall openSUSE.

Well I have my USB stick ready just in case I need to do a another install. Everything was fine up until a couple of days ago, but today YAST was missing, but everything else “seems” good. Here is the out put

rocky@linux-8k4p:~> rpm -qa|egrep "zypper|yast"
yast2-nfs-common-3.1.9-3.4.noarch
yast2-core-3.2.2-6.5.x86_64
yast2-hardware-detection-3.1.8-11.4.x86_64
yast2-transfer-3.1.3-3.4.x86_64
yast2-branding-openSUSE-3.2.3-1.1.noarch
yast2-trans-en_US-84.87.20170719.20cc14dd-1.1.noarch
yast2-xml-3.1.1-6.4.x86_64
yast2-country-data-3.2.11-1.5.x86_64
yast2-perl-bindings-3.2.0-10.4.x86_64
yast2-branding-openSUSE-Oxygen-3.2.3-1.1.noarch
yast2-trans-stats-2.19.0-20.6.noarch
yast2-ycp-ui-bindings-3.2.0-1.4.x86_64
zypper-log-1.13.30-5.9.1.noarch
yast2-ruby-bindings-3.2.14-1.1.x86_64
yast2-x11-3.1.5-3.5.x86_64
rocky@linux-8k4p:~> echo $PATH
/home/rocky/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
rocky@linux-8k4p:~> 






Thanks again for your help.

I am just about ready to do a clean install of openSUSE 42.3 from scratch, but I just have one question. What could have caused this predicament that I am in? Everything was fine because I used YAST the other day to update my system, but then it was gone.

I am confused.

Rocky

That confirms zypper and a number of yast2 packages are missing, so you’ve managed to delete these somehow. Reinstalling is probably the best approach

I’m not sure if packagekit can help here. You could try

pkcon install zypper

If we can get zypper back, then perhaps we can reinstall the missing yast components. There is likely to be other stuff mssing though.

I can only think that during the act of installing some packages, you accepted some changes that then eliminated a number of other system components. The problem is not being able to see your configured repos. Are you sure you didn’t add incompatible repos during the course of adding software? Hard to know the ext scenario without having witnessed it.

Thanks again. I will just go ahead and reinstall openSUSE again. I really appreciate all of your help.
I know that I must have done something wrong, but I just don’t know that much myself to what I did.
I will report back after my reinstall is complete.

Rocky

Yes, that’s the best course of action given the circumstances. Good luck.

Thank you very much for all of your help. I reinstalled openSUSE 42.3 and the process was fairly quick and easy. Here is the print out of some the commands that were requested;

rocky@linux-s9qt:~> zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                   | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------------+--------
 1 | openSUSE-Leap-42.3-0      | openSUSE-Leap-42.3-0                    | No      | ----      | ----    |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Glide_20051737800A41F0F069-0:0-part2 |        
 2 | repo-debug                | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                   |        
 3 | repo-debug-non-oss        | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/               |        
 4 | repo-debug-update         | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/oss/                              |        
 5 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                          |        
 6 | repo-non-oss              | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                     |        
 7 | repo-oss                  | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                         |        
 8 | repo-source               | openSUSE-Leap-42.3-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/                  |        
 9 | repo-source-non-oss       | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/              |        
10 | repo-update               | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/                                    |        
11 | repo-update-non-oss       | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                                |        
rocky@linux-s9qt:~> 

rocky@linux-s9qt:~> rpm -qa|egrep "zypper|yast"
yast2-journal-3.2.0-7.2.noarch
yast2-metapackage-handler-3.1.4-9.3.noarch
yast2-pkg-bindings-3.2.3-1.1.x86_64
yast2-online-update-frontend-3.1.11-8.3.noarch
yast2-users-3.2.11-1.4.x86_64
patterns-openSUSE-yast2_basis-20170518-6.1.x86_64
yast2-pam-3.1.2-6.3.noarch
yast2-bootloader-3.2.23-1.1.x86_64
yast2-sysconfig-3.1.4-3.4.noarch
yast2-nfs-common-3.1.9-3.4.noarch
yast2-core-3.2.2-6.5.x86_64
yast2-3.2.36-1.1.x86_64
yast2-hardware-detection-3.1.8-11.4.x86_64
yast2-vm-3.2.1-1.3.x86_64
yast2-fonts-3.1.18-6.1.x86_64
yast2-mail-3.1.11-1.4.noarch
yast2-snapper-3.2.0-3.5.x86_64
yast2-transfer-3.1.3-3.4.x86_64
zypper-aptitude-1.13.28-6.1.noarch
yast2-branding-openSUSE-3.2.3-1.1.noarch
yast2-scanner-3.2.1-1.1.x86_64
yast2-proxy-3.1.6-6.4.noarch
zypper-lifecycle-plugin-0.6.1490613702.a925823-1.1.noarch
yast2-country-3.2.11-1.5.x86_64
yast2-security-3.2.3-3.4.noarch
yast2-sound-3.1.10-3.13.x86_64
yast2-trans-en_US-84.87.20170719.20cc14dd-1.1.noarch
yast2-xml-3.1.1-6.4.x86_64
yast2-country-data-3.2.11-1.5.x86_64
yast2-vpn-3.1.5-3.2.noarch
yast2-firewall-3.2.0-1.1.noarch
yast2-iscsi-client-3.1.30-3.5.noarch
patterns-openSUSE-kde_yast-20170518-6.1.x86_64
autoyast2-installation-3.2.17-1.1.noarch
yast2-add-on-3.2.1-1.1.noarch
yast2-packager-3.2.24-1.1.x86_64
yast2-ntp-client-3.2.13-1.1.noarch
yast2-auth-client-3.3.13-6.2.noarch
yast2-tune-3.2.0-3.5.x86_64
yast2-samba-server-3.2.1-1.3.noarch
yast2-installation-3.2.47-1.1.noarch
zypper-1.13.28-6.1.x86_64
yast2-perl-bindings-3.2.0-10.4.x86_64
zypper-log-1.13.28-6.1.noarch
yast2-branding-openSUSE-Oxygen-3.2.3-1.1.noarch
yast2-slp-3.1.11-3.4.x86_64
yast2-services-manager-3.2.1-1.4.noarch
yast2-network-3.2.30-1.1.noarch
yast2-ldap-3.1.14-8.5.x86_64
yast2-control-center-qt-3.1.6-3.3.x86_64
yast2-trans-stats-2.19.0-20.6.noarch
yast2-ycp-ui-bindings-3.2.0-1.4.x86_64
yast2-inetd-3.1.13-3.3.noarch
yast2-online-update-configuration-3.1.5-8.2.noarch
yast2-printer-3.2.0-3.4.x86_64
yast2-samba-client-3.1.19-1.1.noarch
yast2-sudo-3.1.2-8.3.noarch
yast2-storage-3.2.15-1.1.x86_64
yast2-apparmor-3.2.0-1.1.noarch
yast2-control-center-3.1.6-3.3.x86_64
yast2-nis-client-3.2.1-1.1.x86_64
yast2-nfs-client-3.1.17-3.4.noarch
yast2-online-update-3.1.11-8.3.noarch
yast2-update-3.2.2-1.3.x86_64
yast2-ruby-bindings-3.2.14-1.1.x86_64
yast2-x11-3.1.5-3.5.x86_64
rocky@linux-s9qt:~> 

Of course I do not know what any of that means but the system seems to be really functioning nicely at this point.

Thanks again for all of the help.

Rocky

Actually, the request was made in relation to the borked install. It does show that the repos are consistent for openSUSE 42.3 (as one would hope), and that you haven’t yet subscribed to the Packman repo (for multimedia). Here’s the basic steps required for that…
https://forums.opensuse.org/showthread.php/526222-Multimedia-Guide-for-openSUSE-Leap-42-3

As you can also see, you have many more yast packages installed again. Good to read that you’re up and running again. :slight_smile: