REDHAT 5.5 rpm files not found

Discussions about using Linux guests in VirtualBox.
Post Reply
geldridg
Posts: 2
Joined: 29. Mar 2011, 19:15
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: XP

REDHAT 5.5 rpm files not found

Post by geldridg »

I do not see 5.50 directory under http://download.virtualbox.org/virtualbox/rpm/rhel/ only 5 and 5Client, when I go under 5Client/i386 I see only redhat 5.1 rpm files.

How can I get the installation to use the proper download rpm files?

install failure below...

/etc/yum.repos.d
[root@mbclnt3 yum.repos.d]# yum install virtualbox.repo
http://download.virtualbox.org/virtualb ... repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: virtualbox. Please verify its path and try again
[root@mbclnt3 yum.repos.d]#

Current release my client is on...(below)...

[root@mbclnt3 yum.repos.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.5 (Tikanga)

[root@mbclnt3 yum.repos.d]# cat /etc/issue
Red Hat Enterprise Linux Client release 5.5 (Tikanga)
Kernel \r on an \m
Last edited by geldridg on 29. Mar 2011, 21:19, edited 1 time in total.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: REDHAT 5.5 rpm files not found

Post by frank »

What did you do exactly? You have to put the virtualbox.repo file to /etc/yum.repos.d, then yum update and yum install VirtualBox-4.0. There is only one RHEL5 package and it should work on all RHEL5 distributions.
geldridg
Posts: 2
Joined: 29. Mar 2011, 19:15
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: XP

Re: REDHAT 5.5 rpm files not found

Post by geldridg »

yes, I did as you suggested, the problem appears to be that the attempt to utilize the repro file to access the rpm file, it uses my version 5.5 as a directory path.

"http://download.virtualbox.org/virtualb ... repomd.xml"

Since 5.50 does not exist, can not be found.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: REDHAT 5.5 rpm files not found

Post by frank »

I have no RedHat 5.5 here but I wonder why CentOS 5 behaves differently ...
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: REDHAT 5.5 rpm files not found

Post by frank »

I've added proper links, please try again.
shea1roh
Posts: 19
Joined: 25. Feb 2010, 03:03
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mandriva, Windows XP, Windows 7

Re: REDHAT 5.5 rpm files not found

Post by shea1roh »

I am having the same problem on a CentOS 5.4 install. I placed the repo file in /etc/yum.repo.d & ran 'yum update' but still no luck. Here is the result:

Code: Select all

Loading "protect-packages" plugin
Loading "kmod" plugin
http://download.virtualbox.org/virtualbox/rpm/rhel/%24releasever/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: virtualbox. Please verify its path and try again
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: REDHAT 5.5 rpm files not found

Post by Martin »

Looks like a type in the repo file.
The baseurl line shold be
baseurl=http://download.virtualbox.org/virtualb ... /$basearch
Did you get the repo file from http://download.virtualbox.org/virtualb ... albox.repo ?
shea1roh
Posts: 19
Joined: 25. Feb 2010, 03:03
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mandriva, Windows XP, Windows 7

Re: REDHAT 5.5 rpm files not found

Post by shea1roh »

Yes I did download the repo file from the website link you gave, here is the contents of it:

Code: Select all

[virtualbox]
name=RHEL/CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/rhel/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc

But I still get these results when I try to install:

Code: Select all

[virtualbox]
Loading "protect-packages" plugin
Loading "kmod" plugin
http://download.virtualbox.org/virtualbox/rpm/rhel/%24releasever/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: virtualbox. Please verify its path and try again
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: REDHAT 5.5 rpm files not found

Post by frank »

I have no idea why your package installer replaces '$' by '%24'. Could you manually replace '$releasever' by '5.5' and test if 'yum update' works?
shea1roh
Posts: 19
Joined: 25. Feb 2010, 03:03
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mandriva, Windows XP, Windows 7

Re: REDHAT 5.5 rpm files not found

Post by shea1roh »

I did that & it works. Thanks
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: REDHAT 5.5 rpm files not found

Post by frank »

So I fear you have to live with that workaround as I don't know why it is required for your system but not for others. Hope that is OK.
Post Reply