Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everyone! I just installed CentOS 5 in one partition and can't seem to find how to update it. Can someone please help guide me as to how to update ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274

    [SOLVED] CentOS - how to update? :)


    Hi everyone!

    I just installed CentOS 5 in one partition and can't seem to find how to update it.

    Can someone please help guide me as to how to update CentOS?
    Code:
    [jun@localhost ~]$ sudo yum update
    Password: 
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: mirror.web.com.ph
     * base: mirror.web.com.ph
     * c5-media: 
     * centosplus: mirror.web.com.ph
     * contrib: mirror.web.com.ph
     * extras: mirror.web.com.ph
     * updates: mirror.web.com.ph
    file:///media/CentOS/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/CentOS/repodata/repomd.xml'
    Trying other mirror.
    file:///media/cdrecorder/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrecorder/repodata/repomd.xml'
    Trying other mirror.
    file:///media/cdrom/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrom/repodata/repomd.xml'
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: c5-media. Please verify its path and try again
    [jun@localhost ~]$
    nujinini
    Linux User #489667

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Hello!

    I made a fresh reinstall with internet cable on and am now updating using "yum update" as root.

    Thanks!
    nujinini
    Linux User #489667

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •