[Yum] Re: Upgrade rpm to the latest version.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28 May 2003, seth vidal wrote:

> So you have systems, right now, running yum 1.0.X and 8.0?

Yup!!

> Here is what I would suggest.
> 
> the rpm updates go in first. but make sure you get the librpm404 updates
> from here:
> ftp://ftp.rpm.org/pub/rpm/dist/librpm404
> 
> as well.
> that way yum 1.0 has something to stand on in order to manipulate the
> rpmdb.
> 
> then update yum to 1.97+
> 
> That should do it.
> 
> you might be able to do all of that in one step, I've not actually
> tested it.
> 
> let me know the outcome.

Well I went for it and here are the results:

(tigger pts8) # yum update
Gathering package information from servers
Getting headers from: Red Hat Linux 8.0 base
Getting headers from: Red Hat Linux 8.0 docs
Getting headers from: rogueind 8.0 local updates
Getting headers from: Red Hat Linux 8.0 updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.Dependencies resolved
I will do the following:
[update: rpm.i386]
[update: yum.noarch]
[update: librpm404.i386]
[update: rpm404-python.i386]
[update: rpm-build.i386]
[update: popt.i386]
[update: rpm-python.i386]
I will install/upgrade these to satisfy the depedencies:
[deps: libxml2-python.i386]
Is this ok [y/N]: y
Getting rpm-4.1.1-1.8x.i386.rpm
Getting yum-1.97-20030528.noarch.rpm
Getting librpm404-4.0.5-1.8x.i386.rpm
Getting rpm404-python-4.0.5-1.8x.i386.rpm
Getting rpm-build-4.1.1-1.8x.i386.rpm
Getting popt-1.7.1-1.8x.i386.rpm
Getting libxml2-python-2.4.23-1.i386.rpm
Getting rpm-python-4.1.1-1.8x.i386.rpm
Calculating available disk space - this could take a bit
popt 100 % done
rpm 100 % done
librpm404 100 % done
rpm404-python 100 % done
rpm-build 100 % done
libxml2-python 100 % done
rpm-python 100 % done
warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
yum 100 % done
Updated:  rpm.i386 yum.noarch librpm404.i386 rpm404-python.i386 rpm-build.i386 \
popt.i386 rpm-python.i386 libxml2-python.i386
Transaction(s) Complete
(tigger pts8) #

Pretty painless actually. As a precaution I tarred up the rpmdb first but it 
appears that was not necessary. :-) I did a total of 3 machines this way
without a problem. I have a few more but they will have to wait for another
day.

-- 
......Tom		CLUELESSNESS: There Are No Stupid Questions, But
tdiehl@xxxxxxxxxxxx	There Are LOTS of Inquisitive Idiots. :-)
			Registered Linux User #14522	http://counter.li.org





[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux