RedHat服务器上[Errno 5] OSError: [Errno 2]的解决方法

RedHat服务器上[Errno 5] OSError: [Errno 2]的解决方法

  [root@DB-Server Server]# rpm -ivh createrepo-0.4.11-3.el5.noarch.rpm

  warning: createrepo-0.4.11-3.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

  Preparing... ########################################### [100%]

  1:createrepo ########################################### [100%]

  [root@DB-Server Server]# createrepo --update /mnt/cdrom/LinuxSrc

  Previous repo file missing: /mnt/cdrom/LinuxSrc/repodata/primary.xml.gz3388/3388 - VT/etherboot-roms-5.4.4-15.el5.x86_64.rpm mm

  Saving Primary metadata

  Saving file lists metadata

  Saving other metadata

  You have new mail in /var/spool/mail/root

  [root@DB-Server Server]# yum makecacheLoaded plugins: product-id, security, subscription-manager

  Updating Red Hat repositories.

  media | 951 B 00:00

  media/filelists | 3.1 MB 00:00

  media/other | 11 MB 00:00

  media/primary | 1.1 MB 00:00

  media 3388/3388

  media 3388/3388

  media 3388/3388

  Metadata Cache Created[root@DB-Server Server]#

推荐阅读