After upgrading openSUSE from 12.3 => 13.1 YaST fails to start, both from the GUI and command line.
When started from the command line this is the YaST ‘error’ message.
Orion-1:/ # yast
/sbin/yast: line 34: .: /usr/lib/YaST2/bin/yast2-funcs: cannot execute binary file
/sbin/yast: line 256: set_lang_from_sysconfig: command not found
/sbin/yast: line 285: check_ncurses: command not found
package yast2-ncurses is not installed
package yast2-qt is not installed
package yast2-gtk is not installed
Something is wrong with the YaST user interface.
The claimed missing packages are installed.
'yast2-funcs' in '/usr/lib/YaST2/bin/' and has the x bit set.
'libyui-ncurses5' providing 'yast2-ncurses' is already installed.
'libyui-qt5' providing 'yast2-qt' is already installed.
'libyui-gtk5' providing 'yast2-gtk' is already installed.
The upgrade apparently went smoothly with no obvious errors, it was performed using ‘zypper dup’ with the following repos enabled.
Orion-1:/ # zypper lr
# | Alias | Name | Enabled | Refresh
--+---------------------+------------------------------+---------+--------
1 | VideoLan | VideoLan | No | No
2 | nvidia | nVidia Graphics Drivers | No | No
3 | repo-non-oss | openSUSE-13.1-Non-Oss | Yes | No
4 | repo-oss | openSUSE-13.1-Oss | Yes | No
5 | repo-update | openSUSE-13.1-Update | Yes | No
6 | repo-update-non-oss | openSUSE-13.1-Update-Non-Oss | Yes | No
Zypper reports dependencies OK and no further updates.
Orion-1:/ # zypper verify
Loading repository data...
Reading installed packages...
Dependencies of all installed packages are satisfied.
Orion-1:/ # zypper lu
Loading repository data...
Reading installed packages...
No updates found.
I have tried reinstalling YaST; deleting the contents of /tmp and /var/tmp; trying with a new user. None of which helped…
Possibly relevant ?? - Previously I had the OBS KDE:Upstream repos enabled and KDE version 4.11.4 installed, ‘zypper dup’ downgraded KDE to 4.11.3
The further error messages about “command not found” and “xxx is not installed” are a consequence of the first one, because yast2-funcs contains the functions set_lang_from_sysconfig and check_ncurses and so on, which check if yast2-ncurses and so on are installed.
yast2-funcs should be a text file, no binary.
Maybe it got corrupted somehow?
That would mean that all files are unchanged to the versions in the package.
Strange, especially because of…
Reinstalling ‘yast2’ resulted in partial success - YaST now starts, but with no images displayed, as seen here : SUSE Paste
The icons are in yast2-theme-openSUSE-Oxygen, so reinstall that as well:
sudo zypper in -f yast2-theme-openSUSE-Oxygen
As a try, I uninstalled that package on my system, and YaST looked exactly like on your screenshot…
Although nothing else (yet) appears untoward, I’m of the opinion that a fresh install may be the better option.
Well, such things shouldn’t happen just like that.
Maybe there’s something wrong with your filesystem or even the hard disk?
Better check “dmesg” if there are errors in there.
On 2013-12-23 15:36, tannington wrote:
> Although nothing else (yet) appears untoward, I’m of the opinion that a
> fresh install may be the better option.
How exactly did you upgrade?
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))
Well, such things shouldn’t happen just like that.
Maybe there’s something wrong with your filesystem or even the hard disk?
Better check “dmesg” if there are errors in there.
Only HD related errors in dmesg is a long standing one, “ata1: applying PMP SRST workaround and retrying”, which is a known problem with the AMD SB600 controller on this PC. Only happens when the SATA link is first brought up, adds around 200ms to the boot time.
Provided I don’t find any further oddities I’ll leave the upgrade as it is.