1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-09 13:16:45 +00:00
wiki.mbirth.de/know-how/software/linux/_posts/2008-12-11-apt-rpm.md
2016-12-27 21:58:55 +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, I decided to install apt-rpm. I'm still missing something like 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.