VirtualBox

Ticket #4953 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

yum repo for fedora-based distros

Reported by: axet Owned by:
Priority: major Component: installer
Version: VirtualBox 3.0.6 Keywords:
Cc: Guest type: other
Host type: Linux

Description

Hi i asking repo for yum based distros!

yum repo done by:

and may others.

but only one repo is installed by correct way, by rpm is:

if you need assistance feel free to ask.

Change History

comment:1 Changed 5 years ago by axet

Create yum repo is very easy and funny.

You can done it in three steps:

  • put all rpms to one dir
  • create rpm with yum.repo.info (link users machines to your web site)
  • run createrepo util on this folder, then publish it to web!

 http://fedoraproject.org/wiki/Extras/CreateRepo

comment:2 Changed 5 years ago by frank

Thanks for these links! We will indeed consider create an RPM repository.

comment:3 Changed 5 years ago by frank

All these links are apparently for Fedora, my hope is that we can unify this procedure and apply it to Mandriva and OpenSUSE as well.

comment:4 Changed 5 years ago by axet

i think so, they SHOULD be same.

one note: the right way to install new repo on client machine is by one command: sudo rpm -i  http://virtualbox.org/..... some sites say about 'vi' command and manualy creating config file in /etc/yum.repo... its wrong.

for ex. google still do not put repo info into rpm...

here is right way example:  http://rpmfusion.org/Configuration

comment:5 Changed 5 years ago by axet

also is nice to see virtualbox-additions rpm in yum repo. which can make automaticaly (it user controlled option) update to last version of additions.

1) guest os:

2) guest os:

  • sudo sh /media/VBOXADDITIONS/*.sh

host os:

comment:6 Changed 5 years ago by frank

Now there is a repository for Fedora, RHEL and openSUSE. See the download instructions at the  Linux downloads page.

comment:7 Changed 5 years ago by axet

thank frank. why you do not put .repo file into .rpm like rpmfusion.org does?

comment:8 Changed 5 years ago by axet

  1. also .repo file should contain right repo name in first section (in your repo file it called [base]):
[virtualbox]
  1. it should have gpg link to pgp sing public key. it allow yum packager to autoimport from repository.
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-[REPONAME]
    
  1. please put .repo file into rpm, and put this rpm into virtualbox repository. this action will allow easy auto update .repo file by updating repo.rpm in your repository (no manual update\download require).

comment:9 Changed 5 years ago by axet

more details:

your rpm.repo should be called like virtualbox-release.rpm and contain those files:

/etc/pki/rpm-gpg/RPM-GPG-KEY-virtualbox /etc/yum.repos.d/virtualbox.repo

where virtualbox.repo is:

[virtualbox]
name=VirtualBox sun-tra-la-la (or just VirtualBox)
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualbox

comment:11 Changed 5 years ago by frank

virtualbox.repo section name fixed, the virtualbox-release.rpm files will follow later.

comment:12 follow-up: ↓ 13 Changed 5 years ago by axet

fedora 12 will be i686 optimized. so, better to have i686 folder instead i386 and i586

comment:13 in reply to: ↑ 12 Changed 5 years ago by frank

Replying to axet:

fedora 12 will be i686 optimized. so, better to have i686 folder instead i386 and i586

What benefit do we get from the renaming of that folder?

comment:14 Changed 5 years ago by axet

none.

comment:15 Changed 5 years ago by axet

hmm, i think one benefit: if you can rebuild virtualbox for i686 processor it cat work a little bit faster. and you probably need to put it to the i686 folder.

comment:16 Changed 4 years ago by axet

playonlinux now moved to rpm based .repo file.

look at:  http://rpm.playonlinux.com/

same as rpmfusion:  http://rpmfusion.org/Configuration

same as adobe flash player:  http://get.adobe.com/flashplayer/thankyou/?installer=Flash_Player_10_for_Linux_%28YUM%29

comment:17 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Such a repository is available since months.

comment:18 Changed 3 years ago by axet

except it still not in proper way

comment:19 Changed 3 years ago by frank

See #5271 for that.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use