zypper install of local rpm file failed: package not found
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.
Zypper looks for the package in the repositories, so all you need to do is:
Code:
zypper install agrep
or first
Code:
zypper search agrep
without downloading package. It'll do that for you.
Thanks, I know about that, but the rpm I actually want to install is not in the suse repositories. It's an old one for checkgmail I found sitting on my hard drive, it originally came from the Fedora repositories. I just used the agrep one to ensure it wasn't a problem with that particular file, i.e. compatibility with suse or a corrupted file. According to the documentation I should be able to install local rpms with the zypper command above, so I'm trying to find out what's going wrong.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.