Easy way of testing packages?
Stefan Schulze Frielinghaus
stefan at seekline.net
Mon Jun 4 13:57:26 UTC 2012
On Sun, 2012-06-03 at 23:51 -0700, Adam Williamson wrote:
> If you're in a hurry to get an update earlier, you can use koji or bodhi
> command-line tools to download specific NEVRs or (in the case of bodhi)
> update IDs.
> bodhi -D FEDORA-2012-7716
> bodhi -D mesa-8.0.2-8.fc17
> koji download-build --arch=x86_64 --arch=noarch 321768
> koji download-build --arch=x86_64 --arch=noarch ocaml-3.12.1-9.fc17
> see 'man koji' and 'man bodhi' for more details.
> If you do this regularly it's probably easiest to set up a local 'side'
> repo - I have ~/local/repo/x86_64 and a file in /etc/yum.repos.d/ to
> make that directory a repository (with a very short metadata expiry
> time). I download the packages to that path, run 'createrepo .', and
> then use yum to install the packages. For occasional use, you can just
> run yum directly on the packages; it's getting quite good at that. e.g.
> running 'yum update *' on a directory full of .rpms will do what you'd
> (probably) expect - for any of those packages you have installed, it'll
> update them; others will be left out.
Ah this is really nice. koji/bodhi commands make life really easy, and
since yum accepts RPMs from the current directory, an update is made
easy! Next time I will provide Karma faster and _easier_ :D
Thanks a lot,
More information about the devel