LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   YAST error message (https://www.linuxquestions.org/questions/suse-opensuse-60/yast-error-message-464513/)

ionmich 07-16-2006 05:53 AM

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.

reddazz 07-16-2006 03:35 PM

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.

gkiagia 07-17-2006 08:12 AM

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.

ionmich 07-17-2006 12:20 PM

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?

gkiagia 07-18-2006 08:37 AM

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

ionmich 07-19-2006 03:40 PM

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.


All times are GMT -5. The time now is 07:03 AM.