Bug 30506 - a tool to download pkgs from yum repos, for example: mrepo (yam)
Summary: a tool to download pkgs from yum repos, for example: mrepo (yam)
Status: NEW
Alias: None
Product: New/proposed packages
Classification: Development
Component: Обычный репозиторий (show other bugs)
Version: не указана
Hardware: all Linux
: P3 enhancement
Assignee: Andrey Cherepanov
QA Contact: Andrey Cherepanov
URL: http://dag.wiee.rs/home-made/mrepo/
Depends on:
Reported: 2014-11-25 13:05 MSK by Ivan Zakharyaschev
Modified: 2014-11-25 13:45 MSK (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2014-11-25 13:05:02 MSK
Sometimes, we need to fetch packages from 3rd-party yum repos (and then apt-get-install them).

From the yum repo's URL, I can't figure out where to download the RPMs (the webserver hides them). Example: http://downloads.hipchat.com/linux/yum

So I'd like to have a tool to fetch the packages such that it is aware of the location of RPMs in a yum repo.

Perhaps, mrepo (yam) can fulfill this task, or such a program could be extracted from its source: 



 mrepo builds a local APT/Yum RPM repository from local ISO files, downloaded updates, and extra packages from 3rd party repositories. It takes care of setting up the ISO files, downloading the RPMs, configuring HTTP access and providing PXE/TFTP resources for remote network installations.


For updating your local systems, configure either Smart, Apt, Yum or up2date and point them to your local mrepo server.


* Easy Yum-alike configuration
* Supports mirroring using FISH, FTP, HTTP, RSYNC, SFTP, YOU and RHN
* Supports Smart, Apt, Yum and up2date (as well as synaptic, yumgui and other derivatives)
* Can download and distribute updates from RHN (Red Hat Network) channels
* Can download and distribute updates from YOU (YaST Online Update) channels
Comment 1 Ivan Zakharyaschev 2014-11-25 13:45:57 MSK
A possible workaround of the problem:


* apt-get install mrepo.rpm from the author's site: http://pkgs.repoforge.org/mrepo/

or (if there are problems with missing deps in Sisyphus):

* add their APT repo (by installing/inspecting their rpmforge-release package as described at http://dag.wiee.rs/rpm/FAQ.php#B2 and then "apt-get install mrepo"

2) use mrepo