(Daft) CentOS yum question
Author
Discussion

The Excession

Original Poster:

11,669 posts

274 months

Wednesday 22nd April 2009
quotequote all
I'm trying to roll a couple of boxes forward to CentOS 5.2 or even 5.3

I need a newer kernel - current is 2.6.18-8.el5 - I want some of the better USB support that is supposedly present in 2.6.24+

However, I can't seem to get yum to point at the newer sources.

I know this should be simple, and even after repeated `yum update` I'm still getting nowhere.

Anyone know what I'm doing wrong?

Thanks
Ex

cottonfoo

6,047 posts

234 months

Wednesday 22nd April 2009
quotequote all
what about 'yum dist-upgrade'?

The Excession

Original Poster:

11,669 posts

274 months

Wednesday 22nd April 2009
quotequote all
Thakns fella!
cottonfoo said:
what about 'yum dist-upgrade'?
How does that work?

I tried


yum dist-upgrade
Loaded plugins: fastestmirror
usage: yum [options] COMMAND

List of Commands:

check-update Check for available package updates
clean Remove cached data
deplist List a package's dependencies
erase Remove a package or packages from your system
groupinfo Display details about a package group
groupinstall Install the packages in a group on your system
grouplist List available package groups
groupremove Remove the packages in a group from your system
help Display a helpful usage message
info Display details about a package or group of packages
install Install a package or packages on your system
list List a package or groups of packages
localinstall Install a local RPM
makecache Generate the metadata cache
provides Find what package provides the given value
reinstall reinstall a package
repolist Display the configured software repositories
resolvedep Determine which package provides the given dependency
search Search package details for the given string
shell Run an interactive yum shell
update Update a package or packages on your system
upgrade Update packages taking obsoletes into account

SNIPPED AS MAKE NO SENSE



cottonfoo

6,047 posts

234 months

Wednesday 22nd April 2009
quotequote all
I thought yum supported dist-upgrade. Oh well.

Look at section 3.2.5 on here, http://www.charlescurley.com/yum/upgrading.html

The Excession

Original Poster:

11,669 posts

274 months

Wednesday 22nd April 2009
quotequote all
cottonfoo said:
I thought yum supported dist-upgrade. Oh well.

Look at section 3.2.5 on here, http://www.charlescurley.com/yum/upgrading.html
Thanks - I'll take a look. smile

gamefreaks

2,053 posts

211 months

Wednesday 22nd April 2009
quotequote all
have you tried running:

yum clean-all

It will clear the update cache and force it to find and download a fresh set of updates.

We have an SME server (which is based on CentOS) and I have to run that sometimes to get it to update correctly.

The Excession

Original Poster:

11,669 posts

274 months

Wednesday 22nd April 2009
quotequote all
gamefreaks said:
have you tried running:

yum clean-all

It will clear the update cache and force it to find and download a fresh set of updates.

We have an SME server (which is based on CentOS) and I have to run that sometimes to get it to update correctly.
Thanks - I'll take a look. smile