系统版本是
[root@master ~]# uname -a Linux master 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
本地YUM源文件
[root@master ~]# vim /etc/yum.repos.d/rhel-source.repo [rhel-source] name=Red Hat Enterprise Linux $releasever - $basearch - Source baseurl=file:///media/cdrom enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release [rhel-HighAvailable] name=RHEL-HA baseurl=file:///media/cdrom/HighAvailability/ enabled=1 gpgcheck=0
安装正常,安装光盘文件正常,卸载报错
[root@master ~]# yum remove -y lrzsz Loaded plugins: product-id, refresh-packagekit, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package lrzsz.x86_64 0:0.12.20-27.1.el6 will be erased --> Finished Dependency Resolution Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest