top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

CentOS 6 update issues

0 votes
440 views

I manage a few servers overseas that are running CentOS 6. When performing a yum update, it fails because it's trying to download from:

mirror.centos.org/centos/*6.6*/extras/x86_64/repodata/repomd.xml

Which fails due to the fact that the entire 6.6 directory is empty on all of the mirrors I have checked. From what I can tell it should be using:

mirror.centos.org/centos/*6*/extras/x86_64/repodata/repomd.xml

Does anyone have any idea why this would be happening? Obviously changing the CentOS-Base file to use 'baseurl' rather than 'mirrorlist' is a workaround, but I would prefer a more permanent solution, and would like to know why this is happening.

posted Oct 19, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

Found on the internet -

In most cases you would expect mirrorlist to be defined rather than baseurl unless you want to be pointing to a specific repository.
I would suggest that you do a fresh install somewhere update it and then compare the files in /etc/yum.repos.d/ with your existing systems.

As examples of base and updates from one of the system

[base]
name=CentOS-$releasever - Base
mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
answer Oct 19, 2015 by Luv Kumar
0 votes

I had something similar happen recently when upgrading a box from 6.6 to 6.7
I 'fixed' it by running 'yum clean all' first
I did think it odd at the time - but didn't get round to trying to find out why ...

answer Oct 19, 2015 by Ankit
Similar Questions
+1 vote

I use "yum list installed" to determine if a package has been installed on centos. In particular, I was interested in the "man" program, installed with the command "yum install man".

In Centos6, if I look at the results, I see that "man" was installed. This is good.
In Centos7, if I look at the results, I see that "man-db" was installed. This is inconsistent.

The result is that the generic algorithm:

if I want package X , check the "yum list installed" output.
If X is not listed, install it, otherwise assume it's already installed.

Is there a reason for this inconsistency? The above algorithm works with most other packages.

+2 votes

I have a need to use a project management software package under Centos 6.6 and have started looking at ProjectLibre which is a Java package.

Unfortunately it seems to have shortcomings when it comes to following up projects and my current understanding is that it falls short of Microsoft Project 2010, i.e., a previous version.

Does anyone have experience with this type of software and what would you recommend?

+2 votes

I'm having an issue getting a C6.6 install to work on a 3 TB dual hard drive system, raid 0. I'm hoping that someone here can help.

So, I install as normal, but then reboot, and it comes to a grub prompt. Going into the system via Linux rescue, I see that most of the files dealing with the kernel haven't been installed.

I asked the maker of the server and he said that they have noticed this happen recently. A solution is to put the kernel files on a thumb drive, and then point the OS to look for them there.

I have yet to try it, but is there a better way to deal with this issue that anyone else has done?

...