LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-11-2014, 03:13 PM   #1
gkasica
Member
 
Registered: Jan 2011
Location: Jackson WI
Distribution: Fedora Core/Generic
Posts: 116

Rep: Reputation: 0
CentOS release 6.5 (Final) yum not finding updates


Trying to update two identical production systems here and am having issues where yum is not locating nearly enough updates - its been 6+ months where the previous admin didn't update the systems so there should be more than the 3 I see below.

# yum update
Loaded plugins: downloadonly, fastestmirror
Determining fastest mirrors
* base: mirrors.centarra.com
* extras: mirror.itc.virginia.edu
* updates: reflector.westga.edu
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:03
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 4.7 MB 00:04
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package ca-certificates.noarch 0:2013.1.95-65.1.el6_5 will be updated
---> Package ca-certificates.noarch 0:2014.1.98-65.0.el6_5 will be an update
---> Package kernel.x86_64 0:2.6.32-431.23.3.el6 will be installed
---> Package kernel-firmware.noarch 0:2.6.32-431.20.5.el6 will be updated
---> Package kernel-firmware.noarch 0:2.6.32-431.23.3.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================== =================================
Package Arch Version Repository Size
==================================================================================================== =================================
Installing:
kernel x86_64 2.6.32-431.23.3.el6 updates 28 M
Updating:
ca-certificates noarch 2014.1.98-65.0.el6_5 updates 1.1 M
kernel-firmware noarch 2.6.32-431.23.3.el6 updates 13 M

Transaction Summary
==================================================================================================== =================================
Install 1 Package(s)
Upgrade 2 Package(s)

Total download size: 42 M
Is this ok [y/N]: n
Exiting on user Command


Previously I had done a

yum upgrade --downloadonly

so I could apply them during a downtime without needing to burn time downloading which at the time was several hundred - however a

yum clean all

was done and that's all gone.

Now when I run

yum upgrade I see the previous few only.

Below is yum.conf and yum.repos.d

How do I fix this I've tried

rpm --rebuilddb
yum check

and no success.

# ll /etc/yum.repos.d/
total 20
-rw-r--r--. 1 root root 1926 Nov 30 2013 CentOS-Base.repo
-rw-r--r--. 1 root root 638 Nov 30 2013 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 630 Nov 30 2013 CentOS-Media.repo
-rw-r--r--. 1 root root 4528 Nov 30 2013 CentOS-Vault.repo


# more /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d


In the various repo file they are enabled as follows with enabled=1 for each section:
atomic
base
updates
extras


Just FYI

yum upgrade has similar results

]# yum upgrade
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www6.atomicorp.com
* base: mirror.kentdigital.net
* extras: mirror.itc.virginia.edu
* updates: reflector.westga.edu
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package ca-certificates.noarch 0:2013.1.95-65.1.el6_5 will be updated
---> Package ca-certificates.noarch 0:2014.1.98-65.0.el6_5 will be an update
---> Package kernel.x86_64 0:2.6.32-431.23.3.el6 will be installed
---> Package kernel-firmware.noarch 0:2.6.32-431.20.5.el6 will be updated
---> Package kernel-firmware.noarch 0:2.6.32-431.23.3.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================== =================================
Package Arch Version Repository Size
==================================================================================================== =================================
Installing:
kernel x86_64 2.6.32-431.23.3.el6 updates 28 M
Updating:
ca-certificates noarch 2014.1.98-65.0.el6_5 updates 1.1 M
kernel-firmware noarch 2.6.32-431.23.3.el6 updates 13 M

Transaction Summary
==================================================================================================== =================================
Install 1 Package(s)
Upgrade 2 Package(s)

Total download size: 42 M
Is this ok [y/N]: n
Exiting on user Command

Last edited by gkasica; 08-11-2014 at 03:34 PM. Reason: added info
 
Old 08-11-2014, 03:29 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,676

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
once the kernel is updates
reboot and rerun the yum update command

you should see more updates

PS
Quote:
-rw-r--r--. 1 root root 630 Nov 30 2013 CentOS-Media.repo
-rw-r--r--. 1 root root 4528 Nov 30 2013 CentOS-Vault.repo
the install dvd and the OLD and dead and unsupported "vault" should NOT!!!!!!!! be in the yum.repos.d folder !!!!!!

the vault is for centos 6.4 ,6.3,6.2... and so on

it is for UNSUPPORTED software

Last edited by John VV; 08-11-2014 at 03:32 PM.
 
Old 08-11-2014, 03:53 PM   #3
gkasica
Member
 
Registered: Jan 2011
Location: Jackson WI
Distribution: Fedora Core/Generic
Posts: 116

Original Poster
Rep: Reputation: 0
OK.

Will give that a go here as soon as I can get the OK to take the system (it's prod, just rebooting it would probably not go over really well - )

Also, have removed those 2 repos you mention as well. Again, I'm the new Admin inheriting this stuff so there's a TON of cleanup.

Thanks and will update this once I update kernel, reboot, and recheck.
 
Old 08-11-2014, 03:59 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I would hope that before you upgrade/update a production system, you have an ironclad backup. Most go without problem, but the occasional issue still pops up.
 
Old 08-11-2014, 04:04 PM   #5
gkasica
Member
 
Registered: Jan 2011
Location: Jackson WI
Distribution: Fedora Core/Generic
Posts: 116

Original Poster
Rep: Reputation: 0
VMware Boxes so clones of the machines prior to updates
 
Old 08-13-2014, 12:02 AM   #6
gkasica
Member
 
Registered: Jan 2011
Location: Jackson WI
Distribution: Fedora Core/Generic
Posts: 116

Original Poster
Rep: Reputation: 0
Ran the few updates that showed for each and rebooted the boxes.
Rerunning the

yum upgrade

and found no new items. a

yum clean all

didn't result in anything new either.

Seems like there should be more here since when it was done as download only (and not applied) there were well over 100 nearly 200 items.

Any ideas on how to test or fix?

At least I have a current kernel, but I don't think I've patched the majority of the items.
 
Old 08-13-2014, 12:16 AM   #7
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
To find out if you are set up to use any external repo's, you can do:

Code:
yum repolist
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Upgrade CentOS release 5.9 (Final) to CentOS 6.x yogesh_attarde Linux - Server 3 06-07-2013 02:42 AM
huwawi E173 modem install in CentOS release 4.9 (Final) narakaya Linux - Hardware 1 11-28-2011 07:50 AM
Cannot test variable within Range in Bash using CentOS release 5.3 (Final) erclinux Linux - Newbie 7 02-19-2010 07:24 PM
Problems running ant on CentOS release 5.2 (Final) paulstanyer Linux - Newbie 0 12-19-2008 11:57 AM
CentOS release 4.6 (Final) - Kernel Oops harry edwards Linux - Server 2 03-17-2008 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration