Bugzilla – Bug 230223
Zypper should handle local/HTTP RPMs
Last modified: 2008-03-04 12:08:52 UTC
I think it would be really nice to have Zypper being able to handle local RPMs, as well as ones on a particular site. This is already handled in a similar way with the YaST installer, and of course I can directly use rpm, but then it won't be able to solve dependencies. If it's on a HTTP/FTP site, then it should download the RPM, then try to solve dependencies and install it. One should be able to do: zypper in http://somedomain.com/package.rpm packageonrepo somelocalpackage.rpm Thoughts?
Local repositories should be supported by adding the directory where the RPMs are located as an installation repository. Installing a single, local RPM should also be possible I agree. Accessing single, remote RPMs is somewhat problematic since one has to do a (partial) download and extract the RPM header to see the package provides/requires. Its certainly possible but rather seldomly requested.
I think downloading the whole package first is a good tradeoff for installing a remote RPM, and it's the way that rpm handles remote RPMs as well. If it were to just download the whole RPM then it becomes simply a case of installing a local RPM with zypper.
Jano is taking over as the primary maintainer of zypper, I am a co-maintainer.
To implement, basically - download the rpm to a TmpDir (zypp class) - Add the tmpdir as PlainDir source
*** Bug 236677 has been marked as a duplicate of this bug. ***
Apologies, but since I can't see the FATE entry I can't tell -- will this not be done in time for 10.3? Installing Local/Remote RPMs with zypper would be really handy. :)
We would all love it - but it's not going in for 10.3, zypper needs quite a lot bugfixes first (check how long Jan's bugzilla list is) :-(
reopening for 11.0
*** Bug 341834 has been marked as a duplicate of this bug. ***
*** Bug 308660 has been marked as a duplicate of this bug. ***
*** Bug 350619 has been marked as a duplicate of this bug. ***
done in zypper 0.9.5
This doesn't seem to be working for me in current factory: linux-mxbx:/home/geeko/stuff # ls kflickr-0.9-1.32.i586.rpm linux-mxbx:/home/geeko/stuff # zypper in kflickr-0.9-1.32.i586.rpm * Adding repository 'RPM files cache' Repository 'RPM files cache' successfully addedEnabled: Yes Autorefresh: Yes URL: dir:///var/cache/zypper/RPMS Repository 'RPM files cache' is invalid. Repo exception Please check if the URLs defined for this repository are pointing to a valid repository. Warning: Disabling repository 'RPM files cache' because of the above error. Reading installed packages... Problem: nothing provides requested kflickr = 0.9-1.32 Solution 1: do not ask to install a solvable providing kflickr = 0.9-1.32 Choose the number, (s)kip, (r)etry or (c)ancel [#/s/r/c]:
Yes, this is because plaindir repos are temporarily not available: bug 364386
I found a duplicate (bug 360412) so closing this one. In the future please don't reopen feature requests which were done. File a new bug report instead as the bug clearly isn't in the fact that the feature was not implemented :O)