zypper install of local rpm file failed: package not found
Hi,
I'm using opensuse 10.3, and trying to install an rpm using zypper (dependencies also need to be installed, hence why I'm not just using rpm -i) According to this I should be able to just give zypper the path to the rpm, but that's not working, it says it can't find the package. To ensure there isn't a problem with the rpm file itself, I've downloaded one from the standard opensuse repo here to demo the problem: http://download.opensuse.org/distrib...s/suse/x86_64/ Code:
:~$ su |
Zypper looks for the package in the repositories, so all you need to do is:
Code:
zypper install agrep Code:
zypper search agrep |
Quote:
|
Sorry about that openSauce. Have you already tried to install that file with "rpm -i"? In worst case scenario the installation will fail with unresolved dependencies, which should give you a clue what else do you need. Your version of agrep requires:
rpmlib(PayloadIsBzip2) <= 3.0.5-1 libc.so.6()(64bit) rpmlib(CompressedFileNames) <= 3.0.4-1 libtre.so.4()(64bit) rpmlib(PayloadFilesHavePrefix) <= 4.0-1 libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) Another way is to install that from source, to have dependencies checks during config... (good old days ;)) |
Unfortunately it turns out the checkgmail rpm I want to install has some dependencies that are not in the suse repositories, so the whole thing was doomed to fail anyway. It would still be good to know how to attempt to do a local install of an rpm with zypper, if anyone can chime in with that.
|
All times are GMT -5. The time now is 05:40 PM. |