# Problem with virtualbox repo on rocky 8.5

**URL:** <https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549>\
**Category:** Rocky Linux Help & Support\
**Created:** [March 7, 2022, 3:32pm UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549 "2022-03-07T15:32:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://forums.rockylinux.org/u/tomasz)\
**Post date:** [March 7, 2022, 3:32pm UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/1 "2022-03-07T15:32:50Z")

</div>

Hi,

I’m unable to install virtualbox on rocky linux 8.5

here is an error from dnf

Oracle Linux / RHEL / CentOS - 8 x86\_64 - VirtualBox 598 B/s | 190 kB 05:26  
Errors during downloading metadata for repository ‘virtualbox’:

- Curl error (28): Timeout was reached for [http://download.virtualbox.org/virtualbox/rpm/rhel/8/x86\_64/repodata/a085d513d5c91646b12eca2ef3a534f50c4515748dd4363519ed3af5a6c5e134-primary.xml.gz](http://download.virtualbox.org/virtualbox/rpm/rhel/8/x86_64/repodata/a085d513d5c91646b12eca2ef3a534f50c4515748dd4363519ed3af5a6c5e134-primary.xml.gz) [Operation too slow. Less than 1000 bytes/sec transferred the last 100 seconds]
- Curl error (28): Timeout was reached for [http://download.virtualbox.org/virtualbox/rpm/rhel/8/x86\_64/repodata/74539113786ce91222a95c4e1368ff16d65f1bf85276d206401ac5db03aeb37b-filelists.xml.gz](http://download.virtualbox.org/virtualbox/rpm/rhel/8/x86_64/repodata/74539113786ce91222a95c4e1368ff16d65f1bf85276d206401ac5db03aeb37b-filelists.xml.gz) [Operation too slow. Less than 1000 bytes/sec transferred the last 100 seconds]  
Error: Failed to download metadata for repo ‘virtualbox’: Yum repo downloading error: Downloading error(s): repodata/74539113786ce91222a95c4e1368ff16d65f1bf85276d206401ac5db03aeb37b-filelists.xml.gz - Cannot download, all mirrors were already tried without success; repodata/a085d513d5c91646b12eca2ef3a534f50c4515748dd4363519ed3af5a6c5e134-primary.xml.gz - Cannot download, all mirrors were already tried without success

here some system information.  
Any idea what could be wrong?

Thank you,  
tj

[root@rockyresearch tomasz]# cat /etc/yum.repos.d/virtualbox.repo  
[virtualbox]  
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox  
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch  
enabled=1  
gpgcheck=1  
repo\_gpgcheck=1  
gpgkey=https://www.virtualbox.org/download/oracle\_vbox.asc

python3 -c ‘import dnf, pprint; db = dnf.dnf.Base(); pprint.pprint(db.conf.substitutions,width=1)’  
{‘arch’: ‘x86\_64’,  
‘basearch’: ‘x86\_64’,  
‘releasever’: ‘8’}

[root@rockyresearch tomasz]# cat /etc/redhat-release  
Rocky Linux release 8.5 (Green Obsidian)

---

<div class="post-metadata">

**Author:** ![schroedingersdog](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/schroedingersdog/32/1519_2.png) [@schroedingersdog](https://forums.rockylinux.org/u/schroedingersdog)\
**Post date:** [March 7, 2022, 3:49pm UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/2 "2022-03-07T15:49:16Z")

</div>

Hey @tomasz , that looks like VirtualBox’s repo was unreachable, too busy or the connection was too slow at the time when trying to download the files. Is that a permanent error, still happening for you?  
I just checked from here and it looks okay to me, I can curl the files from the stated links without problem…

Cheers, Thomas

---

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://forums.rockylinux.org/u/tomasz)\
**Post date:** [March 7, 2022, 4:50pm UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/3 "2022-03-07T16:50:33Z")

</div>

hi schroedingersdog

still happening since Friday when I was trying to install vb first time. I can not curl the xml.gz files (server in center iowa) and also download via www in Poland…

but I can download with curl rpm file [http://download.virtualbox.org/virtualbox/rpm/rhel/8/x86\_64/VirtualBox-6.1-6.1.8\_137981\_el8-1.x86\_64.rpm](http://download.virtualbox.org/virtualbox/rpm/rhel/8/x86_64/VirtualBox-6.1-6.1.8_137981_el8-1.x86_64.rpm)

will command  
rpm -qpl VirtualBox-6.1-6.1.8\_137981\_el8-1.x86\_64.rpm do the same what dnf do?

Thank you

[tomasz@rockyresearch ~]$ curl -O [Index of http://download.virtualbox.org/virtualbox/rpm](http://download.virtualbox.org/virtualbox/rpm/) rhel/8/x86\_64/repodata/a085d513d5c91646b12eca2ef3a534f50c4515748dd4363519ed3af5a 6c5e134-primary.xml.gz  
% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed  
95 6875 95 6550 0 0 10 0 0:11:27 0:10:15 0:01:12 0  
curl: (56) Recv failure: Connection timed out

---

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://forums.rockylinux.org/u/tomasz)\
**Post date:** [March 7, 2022, 5:07pm UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/4 "2022-03-07T17:07:25Z")

</div>

"rpm -qpl " will only list files.  
so question is what command mimics dnf?  
thank you

---

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://forums.rockylinux.org/u/tomasz)\
**Post date:** [March 7, 2022, 7:43pm UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/5 "2022-03-07T19:43:30Z")

</div>

the same problem with epel repo…  
im wondering what is wrong here…

Thank you

---

<div class="post-metadata">

**Author:** ![schroedingersdog](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/schroedingersdog/32/1519_2.png) [@schroedingersdog](https://forums.rockylinux.org/u/schroedingersdog)\
**Post date:** [March 8, 2022, 7:04am UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/6 "2022-03-08T07:04:51Z")

</div>

Hi @tomasz,

I don’t know why the repo files (xml.gz) don’t work for you. Sorry.  
However, if the question is how to install a package from its .rpm file, it’s basically one of 2 ways:

1. In GUI / gnome:  
Open file manager, navigate to downloads directory and double-click the downloaded .rpm file

2. From command-line:  
Open terminal, `cd` to downloads directory and enter  
`sudo rpm -i PACKAGEFILE.rpm`  
(…and replace “PACKAGEFILE” accordingly)

In order to make sure that your downloaded file was not corrupted during transfer, you can do a checksum verification. The checksums are available directly from the download page of rocky (rightmost of the minimal|DVD|boot… .ISO links). More details here:  
[https://docs.rockylinux.org/guides/installation/#verifying-the-installer-iso-file](https://docs.rockylinux.org/guides/installation/#verifying-the-installer-iso-file)

Also, if you need to download it again, simply use wget instead of curl. My experience is, that I often struggle with the many options of curl while wget works perfectly for downloading without having to specify anything except the filename.

Finally, this link summarizes all of the above:

> **[How To Install an RPM File on Linux (CentOS/RHEL & Fedora)](https://phoenixnap.com/kb/how-to-install-rpm-file-centos-linux)**
>
> RPM (RPM Package Manager) is a popular utility to makes software installation & upgrading easier. Learn How To Install an RPM File In Linux (CentOS/RHEL)!

Hope this helps, cheers, Thomas

---

<div class="post-metadata">

**Author:** ![microlinux](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/microlinux/32/1244_2.png) [@microlinux](https://forums.rockylinux.org/u/microlinux)\
**Post date:** [March 9, 2022, 9:36am UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/7 "2022-03-09T09:36:59Z")

</div>

VirtualBox from RPMFusion repository works perfectly here.

---

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://forums.rockylinux.org/u/tomasz)\
**Post date:** [March 10, 2022, 2:37pm UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/8 "2022-03-10T14:37:48Z")

</div>

Hi All,  
I have the same problem with rpmfusion repository ☹

Errors during downloading metadata for repository ‘rpmfusion-free-updates’:

- Curl error (28): Timeout was reached for [http://mirror.uta.edu.ec/rpmfusion/free/el/updates/8/x86\_64/repodata/edc0d718c62859b3f6e348ff2fb16](http://mirror.uta.edu.ec/rpmfusion/free/el/updates/8/x86_64/repodata/edc0d718c62859b3f6e348ff2fb16) 03b1b5e1782286642bc3e962bb5c1cce7ae-filelists.xml.gz [Operation too slow. Less than 1000 bytes/sec transferred the last 100 seconds]
- Curl error (28): Timeout was reached for [http://ftp.nluug.nl/os/Linux/distr/rpmfusion/free/el/updates/8/x86\_64/repodata/c815513c6764a616fd6](http://ftp.nluug.nl/os/Linux/distr/rpmfusion/free/el/updates/8/x86_64/repodata/c815513c6764a616fd6) f40f17d24fb55b4ab1568b591270df8c16a9fca6ab35a-primary.xml.gz [Operation too slow. Less than 1000 bytes/sec transferred the last 100 seconds]

except Rocky- repositories I have also epel repo configured  
epel-modular.repo epel-playground.repo epel.repo epel-testing-modular.repo epel-testing.repo  
epel works fine.

docker repo also works fine

Thank you

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:53am UTC](https://forums.rockylinux.org/t/problem-with-virtualbox-repo-on-rocky-8-5/5549/9 "2023-08-25T03:53:55Z")

</div>


