是否有等效的命令?
尝试了显而易见的方法:
$ zypper update -t pattern <pattern name>
Warning: The /etc/products.d/baseproduct symlink is dangling or missing!
The link must point to your core products .prod file in /etc/products.d.
Loading repository data...
Reading installed packages...
Package '<pattern name>' is not installed.
Resolving package dependencies...
Nothing to do.
我在文档中看到,按模式删除功能尚未实现——更新也是一样吗?
答案1
据我所知,zypper update
执行相同的操作‘yum update; 即:
zypper update
将尝试更新所有已安装的软件包zypper update package-name
将尝试更新名为“package-name”的包。