Bug 30506

Summary: a tool to download pkgs from yum repos, for example: mrepo (yam)
Product: New/proposed packages Reporter: Ivan Zakharyaschev <imz>
Component: Обычный репозиторийAssignee: Andrey Cherepanov <cas>
Status: NEW --- QA Contact: Andrey Cherepanov <cas>
Severity: enhancement    
Priority: P3 CC: viy
Version: не указана   
Hardware: all   
OS: Linux   
URL: http://dag.wiee.rs/home-made/mrepo/

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: 

http://dag.wiee.rs/home-made/mrepo/

Description:

 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.

Features:

* 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:

1)

* 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