LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2004, 10:35 AM   #1
Oninit
LQ Newbie
 
Registered: Feb 2004
Location: New Jersey, USA
Distribution: SuSE Professional 9.0
Posts: 1

Rep: Reputation: 0
Question SuSE Yast/RPM inconsistencies


I'm a Linux newbie, but I have a fair amount of Unix experience. I just installed SuSE Professional 9.0 a few days ago, and I had no install problems. Everything seems to be working OK.

As a learning exercise, I decided to upgrade the video player. I found and downloaded about 7 RPM's for various pieces. When I was browsing the directory containing the RPM's, I noticed I could get a display of the contents of each one, and that the display included a button labelled "Install using Yast".

Being a newbie, I figured "what the hell", so I used Yast to install the Xine library and then the Xine UI. The result was unusable, and I traced the problem to a missing Xine library .so file. However, the missing .so was in the first rpm I installed.

After much experimentation, I found that:

1) If I install using rpm from the command line, everything works OK.

2) If I install using Yast from the GUI, installing the Xine UI causes Xine library files to be removed.

I'm willing to accept that (1) Yast may have bugs and/or (2) Yast only works with RPM's specifically created for Yast, but I don't know.

Wha I'm really trying to figure out is how I decide if I should install something using Yast or using rpm. I'd appreciate any enlightenment I can get from more experienced users.
 
Old 02-13-2004, 07:51 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Wha I'm really trying to figure out is how I decide if I should install something using Yast or using rpm. I'd appreciate any enlightenment I can get from more experienced users."

YaST (SuSE), apt-get(Debian), up2date(Red Hat), and urpmi(Mandrake) are all highly automated install programs. They are designed to find the package that you want and all of its dependencies and then install them for you, if necessary removing older versions of the packages. These program are very nice when they work, which is most of the time.

On occassion they screw up you have to drop down into the lower logic level of rpm and kpackage. Screw ups happen more frequently when you are doing something complicated like a KDE or Gnome upgrade. When these installers screw up you are often left in a bad fix because you do not even know what the automated installer was trying to do when it screwed up and it may have left a partially updated set of packages.

Another case where you have to ignore the highly automated installer is when you want to install a package from someplace other than your distributions official update site or one of its mirrors. The automated installer probably will not be able to figure out an unofficial site.

So YaST is just one of the install techniques that you need to know. You need to know rpm and you will find kpackage very convenient at times. The first thing that you need to do when you are installing by hand is to know what packages you have installed. The command:
rpm -qa | sort > /root/data/every.rpm.txt
will create a file which lists all of your rpms.
rpm -qi bunny
will tell you whether you have bunny installed.

You should read:
man rpm
and learn how rpm works.

You find the rpm packages that you want with Google. You can download them with your web browser, gftp (my preference), or kbear.

kpackage is handy for installing downloaded rpm packages. You set up your konqueror file associations so that *.rpm is opened by kpackage. Then you go to the directory where you have downloaded the rpm packages and click on each to install it with kpackage.

In any case I think that the automated installers are way over hyped for what they are and when people post problems with the automated installers on LinuxQuestions I immediately tell them to abandon the automated installer and do it by hand. This causes consternation because they do not know how to do it by hand but if you know both methods then it is far easier to fix install screwups by hand than to talk the automated installer to do something that is beyond its mental capacity.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
suse yast rpm problem newtuxuser Linux - Software 1 07-27-2005 07:52 PM
Timestamp inconsistencies J.W. LQ Suggestions & Feedback 3 03-07-2005 04:47 PM
Yast and rpm locations SlowMindThinkin SUSE / openSUSE 3 11-30-2004 02:19 AM
SuSE 9.1 YasT closes when trying to install .rpm JazzSheep Linux - Software 12 09-24-2004 04:00 PM
suse 9.1 personal, gnome, yast, and rpm bennettg Linux - General 1 09-23-2004 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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