LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-22-2004, 04:34 PM   #1
kshaffer
Member
 
Registered: May 2004
Location: Chicago, IL
Distribution: SuSE Linux Professional 9.1
Posts: 50

Rep: Reputation: 15
In SuSE 9.1, YaST installs old RPMs


I have noticed several times when trying to install a newer version of a program from an RPM I downloaded, YaST installs the version that came with the system, not the one I downloaded.

For example, I have Scribus 1.1 installed on SuSE 9.1, and I found an RPM of Scribus 1.2 for SuSE. When I selected my Scribus 1.2 RPM for installation with YaST, it reinstalled 1.1! (I tried installing 1.2 from source, but this was pretty complicated since Scribus has so many specific dependencies, so I just stuck with 1.1)

In another case, I had installed Lilypond 2.2.4 from source and found an RPM for 2.2.6. When I tried to install that RPM, YaST installed 2.2.0, which came with SuSE, but had never previously been installed on my computer. (I solved this by just installing 2.2.6 from source code)

I did not have this problem with 9.0 on the same machine. What could be the difference?

Any help would be greatly appreciated. Thanks much.

Kris
 
Old 11-22-2004, 04:57 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,873

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
"I have noticed several times when trying to install a newer version of a program from an RPM I downloaded, YaST installs the version that came with the system, not the one I downloaded."

Whenever YaST refuses to do things the way that you prefer it is easier to use the command line rpm program than to beat YaST into submission. See man rpm. As an example if I have a rpm package that I want to install located at /root/data/rpms/scribus-1.2-14.i586.rpm I would use the following commands:
rpm -e scribus
rpm -i /root/data/rpms/scribus-1.2-14.i586.rpm

"I solved this by just installing 2.2.6 from source code"
I recommend that when you install from source that you first make a rpm package from the source using checkinstall. The command sequence to use checkinstall is:

./configure
make
checkinstall

Then install the resulting rpm package using the rpm command.

http://asic-linux.com.mx/~izto/checkinstall/

SuSE includes checkinstall on the distribution CD,


--------------------------
Steve Stites

Last edited by jailbait; 11-22-2004 at 05:03 PM.
 
Old 11-22-2004, 06:49 PM   #3
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 494

Rep: Reputation: 33
I agree that, if YaST is acting up, just use the command line. Using the -F option will update an older rpm to a new one. Example:

rpm -F lilypond-2.2.6.rpm

will update the older lilypond to 2.2.6. This way, you can skip the delete command (-e) mentioned above.

I also agree with jailbait about using the checkinstall command. You'll create your own rpm this way and be able to use all the rpm tools to search, update, etc.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.3: yast installs rpm's to which dir? gozinbulx Linux - Newbie 2 05-06-2005 08:04 AM
RPMs vs Source: customized installs tmadden99 Linux - Software 11 01-28-2005 02:05 PM
Suse 9.1 Pro problems with yast installing rpms fight_the_$oft SUSE / openSUSE 4 11-20-2004 10:01 PM
SuSE 9.1 -- Installing RPMs in YaST MrFubar Linux - Software 9 05-30-2004 03:46 PM
help figuring out rpms and source installs for openssh Pete Dogg Linux - Software 4 09-25-2003 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration