Can't update to 6.10 from 6.9?

General support questions
scaryvoid
Posts: 15
Joined: 2019/08/21 14:17:24

Can't update to 6.10 from 6.9?

Post by scaryvoid » 2019/08/21 14:39:50

Hello, I'm attempting to update to 6.10 but I just get a "No packages marked for Update" message. What am I doing wrong?

Code: Select all

rpm -q centos-release
centos-release-6-9.el6.12.3.i686

Code: Select all

yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base epel extras remi-php73 remi-safe updates vz-base vz-updates
Cleaning up Everything

Code: Select all

sudo yum -d10 update
[sudo] password for cory: 
Loading "fastestmirror" plugin
Config time: 0.012
Running "init" handler for "fastestmirror" plugin
Yum Version: 3.2.29
COMMAND: yum -d10 update 
Installroot: /
Reading Local RPMDB
rpmdb time: 0.000
Setting up Update Process
Updating Everything
Building updates object
Setting up Package Sacks
Running "postreposetup" handler for "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * base: yum.tamu.edu
 * epel: mirror.colorado.edu
 * extras: sjc.edge.kernel.org
 * remi-php73: mirror.sjc02.svwh.net
 * remi-safe: mirror.sjc02.svwh.net
 * updates: repos.dfw.quadranet.com
pkgsack time: 4.105
up:Obs Init time: 0.205
up:simple updates time: 0.002
up:obs time: 0.001
up:condense time: 0.000
updates time: 4.862
No Packages marked for Update

User avatar
TrevorH
Forum Moderator
Posts: 26572
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't update to 6.10 from 6.9?

Post by TrevorH » 2019/08/21 14:52:09

What's the output from grep -ir exclud /etc/yum.* ?

And how about from rpm -q kernel and also yum --disablerepo=\* --enablerepo=base,updates --noplugins --showdupli list kernel ?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

scaryvoid
Posts: 15
Joined: 2019/08/21 14:17:24

Re: Can't update to 6.10 from 6.9?

Post by scaryvoid » 2019/08/21 15:06:47

Code: Select all

-> grep -ir exclud /etc/yum.*

-> rpm -q kernel
kernel-2.6.32-220.2.1.el6.i686
kernel-2.6.32-220.7.1.el6.i686
kernel-2.6.32-431.29.2.el6.i686
kernel-2.6.32-642.15.1.el6.i686
kernel-2.6.32-696.18.7.el6.i686

-> yum --disablerepo=\* --enablerepo=base,updates --noplugins --showdupli list kernel
Installed Packages
kernel.i686                                                                                                    2.6.32-220.2.1.el6                                                                                                     @updates 
kernel.i686                                                                                                    2.6.32-220.7.1.el6                                                                                                     @updates 
kernel.i686                                                                                                    2.6.32-431.29.2.el6                                                                                                    installed
kernel.i686                                                                                                    2.6.32-642.15.1.el6                                                                                                    installed
kernel.i686                                                                                                    2.6.32-696.18.7.el6                                                                                                    @updates 


User avatar
TrevorH
Forum Moderator
Posts: 26572
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't update to 6.10 from 6.9?

Post by TrevorH » 2019/08/21 16:04:55

You appear to be pointing to a base and updates set of repos that are massively out of date. Have you hard coded a baseurl= in /etc/yum.repos.d/CentOS-Base.repo for [base] and [updates] sections?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

scaryvoid
Posts: 15
Joined: 2019/08/21 14:17:24

Re: Can't update to 6.10 from 6.9?

Post by scaryvoid » 2019/08/21 16:12:51

Not to my knowledge. Looks like there was one that is currently commented out. Here's the contents of CentOS-Base.repo:

Code: Select all

>cat /etc/yum.repos.d/CentOS-Base.repo 
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[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

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

scaryvoid
Posts: 15
Joined: 2019/08/21 14:17:24

Re: Can't update to 6.10 from 6.9?

Post by scaryvoid » 2019/08/21 16:18:24

I also tried to use the baseurls as the comment in the file suggested... still no luck.

User avatar
TrevorH
Forum Moderator
Posts: 26572
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't update to 6.10 from 6.9?

Post by TrevorH » 2019/08/21 16:27:27

And what ip address does mirrorlist.centos.org resolve to from that server?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

scaryvoid
Posts: 15
Joined: 2019/08/21 14:17:24

Re: Can't update to 6.10 from 6.9?

Post by scaryvoid » 2019/08/21 16:32:00

Code: Select all

ping mirrorlist.centos.org
PING mirrorlist.centos.org (212.69.166.138) 56(84) bytes of data.
64 bytes from babylon.castlegem.co.uk (212.69.166.138): icmp_seq=1 ttl=42 time=151 ms
64 bytes from babylon.castlegem.co.uk (212.69.166.138): icmp_seq=2 ttl=42 time=146 ms
Interesting... that's different from my other (production) servers.

User avatar
TrevorH
Forum Moderator
Posts: 26572
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't update to 6.10 from 6.9?

Post by TrevorH » 2019/08/21 16:38:48

It's a pool of ip addresses served by DNS in a round robin. What I really wanted to check is that you didn't have your own mirrorlist.centos.org in dns or /etc/hosts and it appears that you don't because that ip is one of our mirrorlist machines.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
TrevorH
Forum Moderator
Posts: 26572
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't update to 6.10 from 6.9?

Post by TrevorH » 2019/08/21 16:46:07

What does yum versionlock list say?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 6 - General Support”