请告诉我,如何让 zypper 显示某个存储库的所有已安装包。
我想获得一个包的所有可用版本的列表,与您在 Yast 中看到的列表相同,但使用的是 zypper。
OpenSuse 13.1,zypper 1.9.16
我是一个相对较新的 OpenSuse 用户,来自 Ubuntu 几年。在 Ubuntu 中,更新管理器会时不时地弹出,让我知道什么时候我有东西要安装。如果我手动想要检查更新我会sudo apt-get update
。在 OpenSuse 中,我没有 GUI 更新程序,所以每当我想起时,我都会这样做sudo zypper update
,但我永远不会得到太多。但是,今天我得到了这个:
Loading repository data...
Reading installed packages...
The following package updates will NOT be installed:
amarok choqok curl digikam digikam-lang DirectFB DirectFB-Mesa ecj ecj-bootstrap gstreamer-0_10 gstreamer-0_10-fluendo-mp3
jpackage-utils k3b kipi-plugins kipi-plugins-acquireimage ksshaskpass ktorrent ladspa lame libcurl4 libcurl4-32bit libdca0
libdvbpsi6 libfaac0 libfaad2 libgstreamer-0_10-0 libgstreamer-0_10-0-32bit libktorrent3 liblash1 libmad0 libmp3lame0 libmpeg2-0
libopencore-amrnb0 libopencore-amrwb0 libopencv2_2 libproxy1 libqjson0 libSDL-1_2-0 libSDL_image-1_2-0 libshout3 libtag-extras1
libtheora0 libtwolame0 libvlc5 libvlccore4 libxine1 libxine1-gnome-vfs …
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用 zypper 安装软件包,但运行 Ubuntu 的 Amazon 服务器似乎没有安装 zypper。如何安装zypper?
代码: zypper install git gcc gcc-c++
错误:
> unsupported locale setting
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
callback()
File "/usr/lib/command-not-found", line 69, in main
enable_i18n()
File "/usr/lib/command-not-found", line 40, in enable_i18n
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.3/locale.py", line 541, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Run Code Online (Sandbox Code Playgroud)