1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-09-20 06:33:24 +01:00
wiki.mbirth.de/know-how/software/linux/_posts/2008-12-11-apt-rpm.md
2015-03-09 11:55:07 +01:00

3.0 KiB

title layout created updated toc tags
apt-rpm default 2008-12-11 17:06:19 +0100 2008-12-11 17:38:35 +0100 false
know-how
software
linux
software
apt

At work we have the Kerio Mailserver Appliance for VMware which is based on Fedora Core 6. Since they use the ugly [yum](http://yum.baseurl.org/), I decided to install [apt-rpm](http://apt-rpm.org/). I'm still missing something like [aptitude](http://algebraicthunk.net/~dburrows/projects/aptitude/), but it is okay now.

apt-rpm expects some *.list files in the /etc/apt/sources.list.d/ directory - as does the Ubuntu apt-get.

Repositories

Since I had some time to find all repos, here's ist an overview:

  • os.list (pre-installed, shortened to the neccessary ones)

      # Name: Operating system and updates
    
      ### Fedora Core Linux
      #repomd http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH)/core
      #repomd http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH)/updates
      rpm http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH) core updates
    
      #offline: repomd http://download.fedora.redhat.com/pub/ fedora/linux/core/$(VERSION)/$(ARCH)/os/
      repomd http://download.fedora.redhat.com/pub/ fedora/linux/extras/$(VERSION)/$(ARCH)/
      #offline: repomd http://download.fedora.redhat.com/pub/ fedora/linux/core/updates/$(VERSION)/$(ARCH)/</code>
    
  • dries.list

      # Name: Dries Repository
    
      #repomd http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$(VERSION)/$(ARCH)/dries
      rpm http://apt.sw.be fedora/$(VERSION)/en/$(ARCH) dries</code>
    
  • freshrpms.list

      # Name: freshRPMs
    
      # core and updates are used in os.list
      rpm http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH) extras freshrpms</code>
    
  • livna.list

      # Name: livna
    
      repomd http://rpm.livna.org fedora/$(VERSION)/$(ARCH)
      repomd http://rpm.livna.org fedora/testing/$(VERSION)/$(ARCH)</code>
    
  • remi.list

      # Name: Les RPM de Remi
    
      repomd http://rpms.famillecollet.com fc$(VERSION).$(ARCH)</code>
    

The difference between the rpm and the repomd is simple: A repomd points to a single repository whereas rpm can point to different in one line. Example:

repomd http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH)/core
repomd http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH)/updates

is exactly the same as

rpm http://ayo.freshrpms.net fedora/linux/$(VERSION)/$(ARCH) core updates

Notice the two last words in the last example. The resemble the two directories of the two repomd statements. You know it is a repository if the path contains a folder repodata, such as this one.

Knowing that, you can find more Repos using Google with an advanced query.