LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-30-2001, 08:14 PM   #1
akfnphx
LQ Newbie
 
Registered: Feb 2001
Location: Phoenix, AZ
Posts: 7

Rep: Reputation: 0
Upgrading RPM itself seems to be a Catch22


I have an 'old' version of Redhat 6.2 and I am trying to upgrade it to Xfree86 4.0 and KDE (insert latest build number here). Xfree86 went on fine but the KDE shell script elicited a bunch of errors from rpm with the text:

"only packages with major numbers <= 3 are supported by this version of RPM..." etc

So I fugured I needed to upgrade RPM itself. I finally got it figured out that you need 5 seperate RPMs to do the upgrade:

rpm-python-4.0.2-8.i386.rpm
rpm-devel-4.0.2-8.i386.rpm
rpm-build-4.0.2-8.i386.rpm
rpm-4.0.2-8.i386.rpm
popt-1.6.2-8.i386.rpm

so I followed the following directions that I found floating aroud the web:


FWIW, the recommended way of upgrading to rpm-4.0 is
a) Get the latest packages (there are 5 sub-packages, see below) from
ftp://ftp.rpm.org/pub/rpm/test
b) Install all of the rpm-4.0 packages together
rpm -Uvh {rpm,popt}-*
c) Immediately do
rpm --rebuilddb
to convert the database format from db1 to db3.


in response rpm gave me 5 messages with the text :

"only packages with major numbers <= 3 are supported by this version of RPM..." etc


Does anyone know how I can get the new RPM files installed?
 
Old 07-01-2001, 09:12 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
This question has come up a few time before. RPM version 3.0.5 supports the new db format and comes in the old db format, making it easy to install.
 
  


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
Uninstalling MySQL - Catch22 rickh Linux - Software 1 03-15-2005 04:15 PM
Upgrading via rpm thetwin Linux - General 3 09-29-2003 02:09 PM
Suggestions requested on upgrading a stock RH rpm with a third-party rpm obarney Linux - Software 5 05-21-2003 05:07 PM
Installing GCC from source = catch22 ? Biased turkey Linux - Software 1 03-08-2002 09:39 AM
Upgrading the RPM goochable Linux - General 2 05-05-2001 12:36 PM

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

All times are GMT -5. The time now is 11:48 AM.

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