LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 07-16-2006, 05:53 AM   #1
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: SUSE 10.3, Microware OS-9, Caldera 2.4
Posts: 223

Rep: Reputation: 30
YAST error message


I downloaded three .rpm's (smart, smart-addons, and smart-gui) to my home directory. Using konqueror I clicked on each of the files and chose the "Install package with YaST" option. Two of the files were installed, but the smart-addons file produced the error message "Following packages haven't been found on the medium : smart-addons".

Could someone explain exactly what this means? They are all in the same directory and have the same permissions.

Thanks.
 
Old 07-16-2006, 03:35 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you are having problems installing local packages, just use the rpm command to do it yourself e.g. rpm -Uvh somefile.rpm. YAST does not always play along nicely with some local rpms.
 
Old 07-17-2006, 08:12 AM   #3
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
Yast is garbage. The best way to install rpms is:
1) Using konqueror navigate to the folder where there are the rpms.
2) Go to the Tools menu and click Open Terminal (Note that this may not work if you use KDE 3.4.x and you navigate through the media:/ protocol. Either use the file:/ protocol or upgrade to kde 3.5.3)
3) In the terminal that appears, write:
Code:
sudo rpm -Uvh package1.rpm package2.rpm ...
where package1.rpm and package2.rpm are the rpms you want to install. If you want to install all the rpms in a directory, do:
Code:
sudo rpm -Uvh *.rpm
Note that rpm does not resolve dependencies so you have to do this job manually.
 
Old 07-17-2006, 12:20 PM   #4
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: SUSE 10.3, Microware OS-9, Caldera 2.4
Posts: 223

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gkiagia
Yast is garbage. The best way to install rpms is:
1) Using konqueror navigate to the folder where there are the rpms.
2) Go to the Tools menu and click Open Terminal (Note that this may not work if you use KDE 3.4.x and you navigate through the media:/ protocol. Either use the file:/ protocol or upgrade to kde 3.5.3)
3) In the terminal that appears, write:
Code:
sudo rpm -Uvh package1.rpm package2.rpm ...
where package1.rpm and package2.rpm are the rpms you want to install. If you want to install all the rpms in a directory, do:
Code:
sudo rpm -Uvh *.rpm
Note that rpm does not resolve dependencies so you have to do this job manually.
Thanks for the advice.

Please correct me if I am wrong, but I thought that YaST kept a database of installed software so that I could cleanly remove what I did not want to keep. Does rpm keep a similar database, and if so where does it reside?
 
Old 07-18-2006, 08:37 AM   #5
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
Quote:
Originally Posted by ionmich
Thanks for the advice.

Please correct me if I am wrong, but I thought that YaST kept a database of installed software so that I could cleanly remove what I did not want to keep. Does rpm keep a similar database, and if so where does it reside?
In fact rpm keeps a database and yast just uses the rpm database. You can remove any package with
Code:
rpm -e packagename
and see a list with all packages with
Code:
rpm -qa | less
You can also see if a package is installed and which version, with
Code:
rpm -q packagename
To see details about an installed package, you can use
Code:
rpm -qi packagename
To see details about an rpm file, use
Code:
rpm -qpi package.rpm
I could tell you a ton of other command line parameters for rpm but I think you can learn them yourself by using
Code:
rpm --help
and
Code:
man rpm
 
Old 07-19-2006, 03:40 PM   #6
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: SUSE 10.3, Microware OS-9, Caldera 2.4
Posts: 223

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gkiagia
In fact rpm keeps a database and yast just uses the rpm database. You can remove any package with
Code:
rpm -e packagename
and see a list with all packages with
Code:
rpm -qa | less
You can also see if a package is installed and which version, with
Code:
rpm -q packagename
To see details about an installed package, you can use
Code:
rpm -qi packagename
To see details about an rpm file, use
Code:
rpm -qpi package.rpm
I could tell you a ton of other command line parameters for rpm but I think you can learn them yourself by using
Code:
rpm --help
and
Code:
man rpm
Many thanks. You have opened a new door for me. YaST was good but this is even better. I'm going to be studying the man page carefully.
 
  


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
MPlayer Error Message - Error Opening/Initializing Video Out Device Harpo Linux - Newbie 12 12-29-2009 11:26 PM
Error message received from system Error while reading filter description for true Steel_J Linux - Software 2 03-04-2006 06:10 PM
YaST is broken. Error message about database apachedude Suse/Novell 4 01-24-2006 07:06 PM
Yast DHCP server setup warning message RichardD Linux - Networking 0 11-15-2005 05:30 AM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 12:53 PM


All times are GMT -5. The time now is 01:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration