Modify source points to the/etc/yum repos, d/centos - media, successful
'Yum also points to the/MNT/cdrom
But an error
[root @ servervtedb yum. Repos. D] # yum install GCC - c + +
The Loaded plugins: fastestmirror
The c7 - media | 3.6 kB 00:00
file:///mnt/cdrom/repodata/repomd.xml: [Errno 1] Error importing repomd. The XML for the c7 - media: on repomd. XML file
Trying other mirror.
Ever also often because of the network, so implement iso source of local yum, have not seen such said repomd XML damage problem,
Search entire network, there is no like me this is
Help you big fairy, who've had the question,
CodePudding user response:
Clear the cache, try to mountCodePudding user response:
The results said once:Reboot the machine
After the unmount to mount the
Can't
Helpless, let the system administrators, temporary opened the network direct yum,
Subsequent eggs: I heard that the yum localinstall, in the case of a full range of RPM patch can be used, the next time try this method,