那你把 yast2 相关的包也重装下吧,你应该是跟 openSUSE:Factory 里的搞混了
这些包怎么找呢?
或者干脆重装yast行不行?
我感觉就是你说的这个问题
我又试了试别的yast内的软件
包括bootloader 一样打不开!
zypper install --force yast2
之后再运行YaST2,还是不行
/usr/lib/YaST2/bin/./sw_single_wrapper
还是得到一样的报错信息
又是耽误大量时间什么也解决不了
最后学会一堆没用的东西
发现
sudo yast2 --qt
sudo yast2 -gtk,没有任何区别,
YaST2 相关的包,意思是 zypper se -i yast2 出来的全部包都要重装,你光弄一个 yast2。
刚刚回到家。log out了一次,才发现,sddm里面没有gnome了!难道我把gnome都删了?可是nautilus和gedit都在
我重启之后选择dvd,之后选择upgrade,安装程序能找到我的btrfs
之后还显示了我的repository
跳过了网络config
最后看到这个界面,
我发现不仅两个Gnome都没有选,连KDE、XFCE、X window system也都没选,我都选上了。
奇怪的是,gnome-common竟然是红叉子。
不知道敢不敢下一步
别浪费时间了,重装10分钟搞定
按照上一个帖子描述的情况点下一步不行么?
输入 zypper se -i yast2
返回
Loading repository data…
Reading installed packages…
S | Name | Summary | Type
—±-------------------------------±-------------------------------------------±-------
i+ | autoyast2-installation | YaST2 - Auto Installation Modules | package
i+ | patterns-yast-yast2_basis | YaST System Administration | package
i+ | patterns-yast-yast2_install_wf | YaST Installation Packages | package
i+ | yast2 | YaST2 - Main Package | package
i+ | yast2-add-on | YaST2 - Add-On media installation code | package
i+ | yast2-apparmor | YaST2 - Plugins for AppArmor Profile Man-> | package
i+ | yast2-auth-client | YaST2 - Centralised System Authenticatio-> | package
i+ | yast2-auth-server | A tool for creating identity management -> | package
i+ | yast2-bootloader | YaST2 - Bootloader Configuration | package
i+ | yast2-branding-openSUSE | YaST2 - Theme (openSUSE) | package
i+ | yast2-branding-openSUSE-Oxygen | YaST2 - switcher into Oxygen icon theme | package
i+ | yast2-control-center | YaST2 - Control Center | package
i+ | yast2-control-center-qt | YaST2 - Control Center (Qt Version) | package
i+ | yast2-core | YaST2 - Core Libraries | package
i+ | yast2-country | YaST2 - Country Settings (Language, Keyb-> | package
i+ | yast2-country-data | YaST2 - Data files for Country settings | package
i+ | yast2-firewall | YaST2 - Firewall Configuration | package
i+ | yast2-fonts | YaST2 - Fonts Configuration | package
i+ | yast2-hardware-detection | YaST2 - Hardware Detection Interface | package
i+ | yast2-installation | YaST2 - Installation Parts | package
i+ | yast2-iscsi-client | YaST2 - iSCSI Client Configuration | package
i+ | yast2-journal | YaST2 - Reading of systemd journal | package
i+ | yast2-kdump | Configuration of kdump | package
i+ | yast2-ldap | YaST2 - LDAP Agent | package
i+ | yast2-mail | YaST2 - Mail Configuration | package
i+ | yast2-metapackage-handler | YaST2 - Easy Installation of Add-on RPMs-> | package
i+ | yast2-network | YaST2 - Network Configuration | package
i+ | yast2-nfs-client | YaST2 - NFS Configuration | package
i+ | yast2-nfs-common | Configuration of NFS, common parts | package
i+ | yast2-nis-client | YaST2 - Network Information Services (NI-> | package
i+ | yast2-ntp-client | YaST2 - NTP Client Configuration | package
i+ | yast2-online-update | YaST2 - Online Update (YOU) | package
i+ | yast2-online-update-frontend | YaST2 - Online Update (YOU) | package
i+ | yast2-packager | YaST2 - Package Library | package
i+ | yast2-pam | YaST2 - PAM Agent | package
i+ | yast2-perl-bindings | YaST2 - Perl Bindings | package
i+ | yast2-pkg-bindings | YaST2 - Package Manager Access | package
i+ | yast2-printer | YaST2 - Printer Configuration | package
i+ | yast2-proxy | YaST2 - Proxy Configuration | package
i+ | yast2-qt-branding-openSUSE | openSUSE branding for yast2-qt | package
i+ | yast2-ruby-bindings | Ruby bindings for the YaST platform | package
i+ | yast2-samba-client | YaST2 - Samba Client Configuration | package
i+ | yast2-samba-server | YaST2 - Samba Server Configuration | package
i+ | yast2-scanner | YaST2 - Scanner Configuration | package
i+ | yast2-security | YaST2 - Security Configuration | package
i+ | yast2-services-manager | YaST2 - Services Manager | package
i+ | yast2-slp | YaST2 - SLP Agent and Library | package
i+ | yast2-snapper | YaST - file system snapshots review | package
i+ | yast2-sound | YaST2 - Sound Configuration | package
i+ | yast2-storage-ng | YaST2 - Storage Configuration | package
i+ | yast2-sudo | YaST2 - sudo configuration | package
i+ | yast2-support | YaST2 - Support Inquiries | package
i+ | yast2-sysconfig | YaST2 - Sysconfig Editor | package
i+ | yast2-trans-cs | YaST2 - Czech Translations | package
i+ | yast2-trans-da | YaST2 - Danish Translations | package
i+ | yast2-trans-de | YaST2 - German Translations | package
i+ | yast2-trans-en | YaST2 - English Translations | package
i+ | yast2-trans-en_GB | YaST2 - British English Translations | package
i+ | yast2-trans-en_US | YaST2 - Translations | package
i+ | yast2-trans-es | YaST2 - Spanish Translations | package
i+ | yast2-trans-fr | YaST2 - French Translations | package
i+ | yast2-trans-hu | YaST2 - Hungarian Translations | package
i+ | yast2-trans-it | YaST2 - Italian Translations | package
i+ | yast2-trans-ja | YaST2 - Japanese Translations | package
i+ | yast2-trans-pl | YaST2 - Polish Translations | package
i+ | yast2-trans-pt | YaST2 - Portuguese Translations | package
i+ | yast2-trans-pt_BR | YaST2 - Brazilian Portuguese Translations | package
i+ | yast2-trans-ru | YaST2 - Russian Translations | package
i+ | yast2-trans-stats | YaST2 - Translation Statistics | package
i+ | yast2-trans-sv | YaST2 - Swedish Translations | package
i+ | yast2-trans-zh_CN | YaST2 - Simplified Chinese Translations | package
i+ | yast2-trans-zh_TW | YaST2 - Traditional Chinese Translations | package
i+ | yast2-transfer | YaST2 - Agent for Various Transfer Proto-> | package
i+ | yast2-tune | YaST2 - Hardware Tuning | package
i+ | yast2-update | YaST2 - Update | package
i+ | yast2-users | YaST2 - User and Group Configuration | package
i+ | yast2-vm | Configure Hypervisor and Tools for Xen a-> | package
i+ | yast2-vpn | A YaST module for configuring VPN gatewa-> | package
i+ | yast2-x11 | YaST2 - X11 support | package
i+ | yast2-xml | YaST2 - XML Agent | package
i+ | yast2-ycp-ui-bindings | YaST2 - YCP Bindings for the YaST2 User -> | package
i+ | yast2_basis | YaST System Administration | pattern
这些全部装一遍?
我已经把这些包全部重新安装了一遍
结束的时候有一句红色提示
Installation has completed with error.
但是之后我运行/usr/lib/YaST2/bin/./sw_single_wrapper
确实可以进入图形界面了!非常感谢你的指导!
其实之前不回你是因为我写辅助工具去了:
把这个下载下来,
sudo zypper in go
go build consistent-repo.go
./consistent-repo -p yast2 -r openSUSE-Leap-15.0-Oss
就能自动找出来需要重装的软件包了。其中:
yast2 是发送给 zypper se 的字符串,可以同时检查多个,用英文逗号分开,比如 yast2,bash
openSUSE-Leap-15.0-Oss 是那个软件源在你本地的别名,可以用 zypper lr 查找。
你可以收藏一下备用
这是整个论坛的宝贵财富!
很惭愧的是,还是有问题。
gnome现在勉强能登录了
sddm里有两个gnome,只有一个能登录,还有一个gnome classic,登录进去就进入了KDE plasma 5
最大的问题还是cinnamon
有两个cinnamon 其中一个是 cinnamon (software rentered)
可以登录进去,但是cinnamon-settings运行不了
执行cinnamon-settings得到的信息是
Traceback (most recent call last):
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 18, in <module>
import gi
File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 42, in <module>
from . import _gi
ImportError: /usr/lib64/libgio-2.0.so.0: undefined symbol: g_utf8_validate_len
我就尝试重装libgio, libgobject都不行。在YaST2 -->software management里搜索cinnamon然后重装所有搜索出来的包,也不行……
你老精通go语言!佩服佩服!
执行 go build consistent-repo.go -o consistent-repo 这一句时出错
named files must be .go files
把 -o consistent-repo 去掉试试
这下好了。但又需要再在最后一句开头出插入 “./”
sudo zypper in go
go build consistent-repo.go
./consistent-repo -p yast2 -r openSUSE-Leap-15.0-Oss
这样可以运行
本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。