密钥 ID fd431d51: NOKEYName : kernelVersion : 2.6.32Release : 573.65.2.el6Architecture: x86_64Install Date: (not installed)Group : System Environment/KernelSize : 134270842License : GPLv2Signature : RSA/SHA256, 2018年09月20日 星期
(4)用rpm -i –replacepkgs命令修复foo软件包; (5)因为修复时未用–allfiles选项,所以用ls命令列文件/etc/foo.conf时出错了:文件不存在,没有安装上; (6)用rpm -i –replacepkgs –allfiles命令安装修复foo软件包; (7)再度用ls命令列文件,列了出来,表明这次安装上了。 由本例看出,若用户确实想安全恢复(修...
4.清除缓存目录(/var/cache/yum)下的软件包及旧的headers 命令:yum clean, yum cleanall (= yum clean packages; yum clean oldheaders)
[root@script~]# rpm--helpUsage: rpm [OPTION...] Query/Verify package selection options:-a,--all query/verify all packages #查询/验证所有包-f,--file query/verify package(s) owning file #查询/验证包(拥有)文件-g,--group query/verify package(s) in group-p,--package query/verify a pa...
show command help --allowerasing allow erasing of installed packages to resolve dependencies -b, --best try the best available package versions in transactions. --nobest do not limit the transaction to the best candidate -C, --cacheonly run entirely from system cache, don't update cache ...
rpm -qa Show all installed RPM packages. rpm -qpl <rpm-file> List contents of a specific RPM package. rpm -qpi <rpm-file> Show information about an RPM package. rpm -qp --requires <rpm-file> Show package requirements of an RPM package. rpm -qf </path/to/xyz> Identify the RPM pac...
#yum clean packages //清除缓存目录(/var/cache/yum)下的软件包 #yum clean headers //清除缓存目录(/var/cache/yum)下的 headers #yum clean oldheaders //清除缓存目录(/var/cache/yum)下旧的 headers #yum clean all //清除缓存目录(/var/cache/yum)下的软件包及旧的headers ...
lists from installed package headers Install/Upgrade/Erase options: --aid add suggested packages to transaction --allfiles install all files, even configurations which might otherwise be skipped --allmatches remove all packages which match <package> (normally an error is generated if <package> ...
#yum clean 或#yum clean all 注:相当于yum clean packages + yum clean oldheaders 包列表 列出资源库中所有可以安装或更新的rpm包 #yum list 列出资源库中特定的可以安装或更新以及已经安装的rpm包 #yum list mozilla#yum list mozilla* 注:可以在rpm包名中使用匹配符,如列出所有以mozilla开头的rpm包 ...
packages: -multisystem -gksu sources: -debhttp://us.archive.ubuntu.com/ubuntu/xenialmainuniverse -debhttp://liveusb.info/multisystem/depotallmain exclude: -qemu -qemu-kvm -cryptsetup -libwebkitgtk-3.0-0 -dmsetup # Pretending certain versions of dependencies being installed ...