LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2008, 03:15 AM   #1
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Rep: Reputation: 15
urgetn help required regarding rpm installation error


Helo,
I have already installed my own build rpm packages and they are

ENGLISH-4.1.0.0.39.i386.rpm
ENGLISH-4.1.0.0.22.i386.rpm
ENGLISH-4.1.0.1.22.i386.rpm

I m using following command to install same rpm package with different version.

rpm -iv --replacefiles rpmname

now I build another English language rpm ENGLISH-4.1.0.0.23.i386.rpm

when I installed using this rpm using on the top of the above rpm packages,

rpm -iv --replacefiles ENGLISH-4.1.0.0.23.i386.rpm

its give me following errors

package _ENGLISH-4.1.0.1.22-1 (which is newer than ENGLISH-4.1.0.0.23-1) is already installed

why it give me such errors even though 4.1.0.0.23 version is greater than

4.1.0.1.22


Regards,
Amit
 
Old 08-14-2008, 03:19 AM   #2
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
Hi there,

How about if you try to force the rpm installation. That way, newer or not, the rpm will get installed. Try the following:
Code:
rpm -Uhv --force my-rpm-file-to-be-installed.rpm
You can also replace the U option with i. I just prefer the Update option to the install one.

Hope this helps.

Cheers
 
Old 08-14-2008, 03:37 AM   #3
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by fatra2 View Post
Hi there,

How about if you try to force the rpm installation. That way, newer or not, the rpm will get installed. Try the following:
Code:
rpm -Uhv --force my-rpm-file-to-be-installed.rpm
You can also replace the U option with i. I just prefer the Update option to the install one.

Hope this helps.

Cheers
Helo thx for replying me in quickly.
But my problem is if I used

rpm -Uhv --force my-rpm-file-to-be-installed.rpm

then my earlier rpm packages are removed.
I dont want to remove my earlier packages.

kindly appreciate urgent help

Regards,
Amit
 
Old 08-14-2008, 03:41 AM   #4
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
Hi there,

Did you try changing the name of the package installed. If you have a package called "/usr/bin/english", then change the one you want to install to "/usr/bin/english-different".

I don't know if that helps you in any way possible.

Cheers
 
Old 08-14-2008, 04:05 AM   #5
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by fatra2 View Post
Hi there,

Did you try changing the name of the package installed. If you have a package called "/usr/bin/english", then change the one you want to install to "/usr/bin/english-different".

I don't know if that helps you in any way possible.

Cheers
helo thx again for yr quickly reply.

No I cant change name of already installed rpm.

because its impack a lot. my customer requirement is that if he uninstall
latest rpm then he should be able to get previous latest rpm.

so there is no way to overcome this problem?

Regards,
Amit
 
Old 08-14-2008, 04:09 AM   #6
burschik
Member
 
Registered: Jul 2008
Posts: 159

Rep: Reputation: 31
Quote:
Originally Posted by amit_pansuria View Post
4.1.0.0.23 version is greater than 4.1.0.1.22
Are you sure? It doesn't look like that to me.
 
Old 08-14-2008, 04:16 AM   #7
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by burschik View Post
Are you sure? It doesn't look like that to me.
thx for yr quick reply.
I dont know that rpm count 4.1.0.1.22 grearthan 4.1.0.0.23


Regards,
Amit
 
Old 08-14-2008, 09:23 AM   #8
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by fatra2 View Post
Hi there,

Did you try changing the name of the package installed. If you have a package called "/usr/bin/english", then change the one you want to install to "/usr/bin/english-different".

I don't know if that helps you in any way possible.

Cheers
helo thx for yr support ,

finally i got successed in installing rpm using this option


rpm -iv --replacefiles --force rpmname

now i jsut want to confirm that if i use --force option then is there
any issue

Regards,
Amit
 
Old 08-14-2008, 09:44 AM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I am afraid but burschik is 100% right
You just downgraded from 4.1.0.1.22 to 4.1.0.0.23
The devil is in the details, look closely...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel rpm installation error trebek Linux - Software 1 06-10-2006 04:51 PM
RPM installation error Rollie Peck Linux - Software 5 02-16-2005 04:45 PM
RH9.0 rpm error: Installation Tree Not Found Thaidog Linux - Distributions 1 11-15-2004 04:02 PM
Error trying to run Opera after RPM installation timsch75 Linux - Newbie 5 03-04-2004 08:45 AM
RPM Installation error message umakar2000 Linux - Newbie 2 08-19-2002 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:01 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