Help! How to use YUM.

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Crit
Forum User
Forum User
Posts: 11
Joined: Wed Jul 13, 2005 8:40 pm
Location: Corona, California
Contact:

Help! How to use YUM.

Unread post by Crit »

This is my first time dealing with YUM.

Here is my default yum configuration from my dedicated (root) server with 1and1. It is a Plesk 7.5.3 installation. My greatest desire is to upgrade MySQL from 3.23.58 to anything above 4.0.
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://update.onlinehome-server.com/fed ... search/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://update.onlinehome-server.com/fed ... $basearch/

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/f ... $basearch/
Here is the ART info. My question is...How do I use it? Do I replace the old with the new? What combintation of ART's [base], [updates] & [psa-7.5] do I use? In other words, what will my new yum.conf file look like?
[psa-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/
baseurl=http://www.atomicrocketturtle.com/atomi ... eleasever/

[base]
name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-p ... eleasever/

[updates]
name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-p ... eleasever/
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Unread post by Galactic Zero »

Just add the channels you need for your server to your /etc/yum.conf file. Then do a yum update packagename.
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
Crit
Forum User
Forum User
Posts: 11
Joined: Wed Jul 13, 2005 8:40 pm
Location: Corona, California
Contact:

Unread post by Crit »

There are two mysql's...

mysql
mysql-server

When I try to do an update it says "no update available" even though MySQL is at 3.23.58 and has a number of updates that should be available.

Idea's?

Also, when I do an info or an update I get this error.
error: rpmdb: damaged header #53 retrieved -- skipping.
error: rpmdb: damaged header #241 retrieved -- skipping.
error: rpmdb: damaged header #253 retrieved -- skipping.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

You need the [atomic] channel, from the downloads page:

# THIS CHANNEL CONTAINS MY PSA COMPATIBLE RPMS (php, mysql, qmail-scanner, etc)
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/
baseurl=http://www.atomicrocketturtle.com/atomi ... eleasever/
Crit
Forum User
Forum User
Posts: 11
Joined: Wed Jul 13, 2005 8:40 pm
Location: Corona, California
Contact:

Unread post by Crit »

Thanks!

That did it. Now I get the logic as well. :D
Post Reply