openSUSE Leap 15.5 无法点击 YaST 中的 app

  1. 虚拟机环境 vmware, 系统 opsnSUSELeap 15.5
  2. YaST 界面可以打开,但是里面的任何应用点击后转圈,没任何变化,无法打开软件
  3. 命令行安装 ftp 管理,`zypper in yast2-ftp-server’ 后,YaST 界面里可以看到 ftp 管理安装,但是同样点击后无法打开 ftp 管理界面
  4. “/usr/sbin 下没有 yast 和 yast2”, 确认有
/usr/sbin/yast  /usr/sbin/yast2
localhost:/home/user # file /usr/sbin/yast
/usr/sbin/yast: symbolic link to yast2
localhost:/home/user # file /usr/sbin/yast2
/usr/sbin/yast2: Bourne-Again shell script, ASCII text executable
  1. /usr/lib64/dri/updates 下有个 README ? 查找后不存在 updates 文件夹
localhost:/home/user # cd /usr/lib64/dri/
localhost:/usr/lib64/dri # ls
crocus_dri.so  kms_swrast_dri.so     r600_drv_video.so      virtio_gpu_dri.so
d3d12_dri.so   nouveau_drv_video.so  radeonsi_dri.so        virtio_gpu_drv_video.so
i915_dri.so    r300_dri.so           radeonsi_drv_video.so  vmwgfx_dri.so
iris_dri.so    r600_dri.so           swrast_dri.so          zink_dri.so
  1. /var/log/YaST2/y2log 较短,如下:
Stage [1]: YaST2 startup level (1)...
Stage [1]: ==========================
	|-- declare -x Cmdline="splash=silent"
	|-- declare -x Device="disk/by-id/ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001"
	|-- declare -x EFI="0"
	|-- declare -x EGL_LOG_LEVEL="fatal"
	|-- declare -x ESCDELAY="10"
	|-- declare -x HOME="/"
	|-- declare -x InitrdID="2023-05-23.c455d25b"
	|-- declare -x InitrdModules="zram loop scsi_mod scsi_dh_alua scsi_dh_emc scsi_dh_rdac scsi_transport_spi mptbase mptscsih mptspi libata ata_piix pata_acpi ata_generic cdrom sr_mod crc64 crc64-rocksoft t10-pi sd_mod iscsi_boot_sysfs st sg thermal"
	|-- declare -x Insecure="0"
	|-- declare -x InstsysID="2023-05-23.c455d25b"
	|-- declare -x Keyboard="1"
	|-- declare -x LD_LIBRARY_PATH=":/y2update/lib64:/y2update/lib:/y2update/plugin"
	|-- declare -x LIBGL_ALWAYS_INDIRECT="1"
	|-- declare -x Locale="en_US"
	|-- declare -x Manual="0"
	|-- declare -x MemFree="1644340"
	|-- declare -x OLDPWD
	|-- declare -x Options="thermal tzp=50"
	|-- declare -x PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11/bin:/lbin"
	|-- declare -x PWD="/"
	|-- declare -x PYTHONPATH="/usr/lib/python3.6/site-packages:"
	|-- declare -x RepoURL="<RepoURL may contain sensitive information>"
	|-- declare -x SHLVL="3"
	|-- declare -x SSHD="0"
	|-- declare -x SelfUpdate="1"
	|-- declare -x SetHostname="1"
	|-- declare -x SetHostnameUsed="0"
	|-- declare -x Sourcemounted="0"
	|-- declare -x StartShell="0"
	|-- declare -x TERM="Linux"
	|-- declare -x Textmode="0"
	|-- declare -x UpdateDir="/linux/suse/x86_64-leap15.5"
	|-- declare -x UseNBFT="0"
	|-- declare -x UseSSH="0"
	|-- declare -x VNC="0"
	|-- declare -x WithFCoE="0"
	|-- declare -x WithiSCSI="0"
	|-- declare -x XCURSOR_THEME="DMZ"
	|-- declare -x Y2GDB="0"
	|-- declare -x YAST2_SSH="false"
	|-- declare -x YAST_DEBUG="/debug/yast.debug"
	|-- declare -x YaST2update="0"
	|-- declare -x ZyppRepoURL="<ZyppRepoURL may contain sensitive information>"
	|-- declare -x kexec_reboot="1"
	|-- declare -x linuxrc_no_auto_assembly="1"
	|-- declare -x splash="silent"
	|-- declare -x zram_swap="1G"
	|-- Creating hook script list: preFirstStage...
	|-- Level 1 stages:
	|-- F02-hwinfo
	|-- F03-umount
	|-- F04-language
	|-- F05-cmdline
	|-- F06-terminal
	|-- F08-logging
	|-- F09-start
	|-- F10-cleanup
Stage [1]: Starting F02-hwinfo...
Stage [1]: ======================
	|-- Hardware detection for arch: x86_64
Stage [1]: Starting F03-umount...
Stage [1]: ======================
	|-- Trying to umount inst-sys exits with code: 32
Stage [1]: Starting F04-language...
Stage [1]: ========================
	|-- Language set to: en_US.UTF-8
	|-- Starting UTF-8 mode...
Stage [1]: Starting F05-cmdline...
Stage [1]: =======================
Stage [1]: Starting F06-terminal...
Stage [1]: ========================
	|-- Setup virtual console:
	|-- Lines: 37
	|-- Columns: 100
	|-- Type: linux
Stage [1]: Starting F08-logging...
Stage [1]: =======================
	|-- Computed default log size: 137866 kB
	|-- Set YaST2 LOG parameters:
	|-- Maximum log size: 20000 kB
	|-- Maximum log count: 5
	|-- Start sampling memory usage data:
	|-- PID: 3177
Stage [1]: Starting F09-start...
Stage [1]: =====================
	|-- Creating hook script list: preFirstCall...
	|-- Delegate program call to YaST2.call installation initial
Stage [call]: Starting prequalification checks...
Stage [call]: ===================================
	|-- X-Server is needed
	|-- Copying /etc/X11/xorg.conf.template to /etc/X11/xorg.conf
	|-- No SSH daemon running -> Medium SSH disabled
Stage [call]: Evaluate medium selection...
Stage [call]: ============================
Stage [call]: Check selected medium...
Stage [call]: ========================
	|-- Wished medium is: QT
	|-- Selected medium is: QT
	|-- X-Server is ready: 3661
Stage [call]: HiDPI Check...
Stage [call]: ==============
	|-- Monitor size: Virtual-1 connected primary 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
	|-- Monitor width px: 800
	|-- Monitor width mm: 0
	|-- Monitor width in mm is unknown, using 96 dpi as default
	|-- (Use YAST_MON_WIDTH_MM=xx at the boot prompt to set manually)
	|-- Monitor DPI: 96
	|-- Reference DPI: 144
	|-- No Qt scaling needed.
Stage [call]: ================
Stage [call]: Starting YaST...
Stage [call]: ================
	|-- Allow big memory allocation: overcommit_memory=1
	|-- MODULE_NAME: installation
	|-- MODE_FLAGS:
	|-- MODULE_ARGS: --arg initial
	|-- MODE: qt
	|-- UI_ARGS: --noborder --auto-fonts --fullscreen
	|-- QT_IM_MODULE: xim

  1. Ruby version 2.5, 自己没动过 Ruby
localhost:/var/log/YaST2 # rpm -qi Ruby
Name        : Ruby
Version     : 2.5
Release     : 1.21
Architecture: x86_64
Install Date: Mon 16 Oct 2023 11:16:52 PM CST
Group       : Development/Languages/Ruby
Size        : 84
License     : MIT
Signature   : RSA/SHA256, Sat 26 May 2018 04:10:51 AM CST, Key ID 70af9e8139db7c82
Source RPM  : ruby-2.5-1.21.src.rpm
Build Date  : Sat 26 May 2018 04:10:44 AM CST
Build Host  : sheep54
Relocations : (not relocatable)
Packager    : https://www.suse.com/
Vendor      : SUSE LLC <https://www.suse.com/>
URL         : http://www.ruby-lang.org/
Summary     : An Interpreted Object-Oriented Scripting Language

感谢建议,不过似乎不是 which 包的问题
尝试

sudo zypper install which

后返回:

Loading repository data...
Reading installed packages...
'which' is already installed.
No update candidate for 'which-2.21-2.20.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.

可能是我用的 Leap 版本还没开始推送更新?
PS:最近有推送 4 个补丁,2 个 yast2 theme 相关的,但是安装完似乎没对 yast 无法打开 app 做出什么修复。

1赞

@fredsun 你看起来是进了 First Stage 也就是安装时候的那个界面。

你看一下你的根目录下有没有一个 .instsys.config,如果有的话把这个文件删掉。