VirtualBox

Opened 15 years ago

Closed 13 years ago

Last modified 21 months ago

#4953 closed defect (fixed)

yum repo for fedora-based distros

Reported by: Alexey Kuznetsov Owned by:
Component: installer Version: VirtualBox 3.0.6
Keywords: Cc:
Guest type: other Host type: Linux

Description (last modified by galitsyn)

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 (21)

comment:1 by Alexey Kuznetsov, 15 years ago

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 by Frank Mehnert, 15 years ago

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

comment:3 by Frank Mehnert, 15 years ago

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 by Alexey Kuznetsov, 15 years ago

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 by Alexey Kuznetsov, 15 years ago

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 by Frank Mehnert, 15 years ago

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

comment:7 by Alexey Kuznetsov, 15 years ago

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

comment:8 by Alexey Kuznetsov, 15 years ago

  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 by Alexey Kuznetsov, 15 years ago

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 by Frank Mehnert, 15 years ago

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

comment:12 by Alexey Kuznetsov, 15 years ago

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

in reply to:  12 comment:13 by Frank Mehnert, 15 years ago

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 by Alexey Kuznetsov, 15 years ago

none.

comment:15 by Alexey Kuznetsov, 15 years ago

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 by Alexey Kuznetsov, 14 years ago

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 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed

Such a repository is available since months.

comment:18 by Alexey Kuznetsov, 13 years ago

except it still not in proper way

comment:19 by Frank Mehnert, 13 years ago

See #5271 for that.

comment:20 by operation420.net, 21 months ago

http://download.virtualbox.org/yum.repo.rpm

Is a dead link. Is there a link for the latest repo?

EDIT: Oh PS I need the repo to install the Guest Additions in a guest VM, not for VirtualBox itself. https://forums.virtualbox.org/viewtopic.php?f=6&t=104811&p=520841#p520841

Last edited 21 months ago by operation420.net (previous) (diff)

comment:21 by galitsyn, 21 months ago

Description: modified (diff)

Hi operation420.net,

See "RPM-based Linux distributions" section on https://www.virtualbox.org/wiki/Linux_Downloads for the info on how to configure repository. We do not provide a separate package for Additions, but rather ship them as an ISO image which includes installers for all supported platforms at once.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use