SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.