Home > OS >  For help, Linux network articulated iso installation file configuration source of local yum, yum tim
For help, Linux network articulated iso installation file configuration source of local yum, yum tim

Time:11-15

Mount the iso file to/MNT/cdrom success
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 mount

CodePudding 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,
  • Related