VirtualBox

Opened 10 months ago

Last modified 10 months ago

#21958 reopened defect

Ubuntu repos broken

Reported by: bushido Owned by:
Component: installer Version: VirtualBox 6.1.38
Keywords: clearsigned Cc:
Guest type: Windows Host type: Linux

Description (last modified by bushido)

I got

Get:7 https://virtualbox.org:443/virtualbox/debian jammy InRelease [16,8 kB]
Err:7 https://virtualbox.org:443/virtualbox/debian jammy InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done        
E: Failed to fetch http://virtualbox.org/virtualbox/debian/dists/jammy/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://virtualbox.org/virtualbox/debian jammy InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

when I executed

sudo apt-get update

in Terminal. I am running Ubuntu 22.04 LTS 64-bit.

Change History (16)

comment:1 by bushido, 10 months ago

Description: modified (diff)

comment:2 by bushido, 10 months ago

Description: modified (diff)

comment:3 by galitsyn, 10 months ago

Resolution: invalid
Status: newclosed

Hi bushido,

Please make sure sources list file contains the following. URL which you are using does not seem to be correct to me. More details can be found in "Debian-based Linux distributions" section at https://www.virtualbox.org/wiki/Linux_Downloads.

deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib

comment:4 by bushido, 10 months ago

Hi galitsyn,

I am getting now this error after updating the sources list file:

Ign:12 https://download.virtualbox.org/virtualbox/debian/dists jammy InRelease
Hit:13 https://download.virtualbox.org/virtualbox/debian jammy InRelease
Err:14 https://download.virtualbox.org/virtualbox/debian/dists jammy Release
  404  Not Found [IP: 184.50.200.91 443]
Reading package lists... Done
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'https://download.virtualbox.org/virtualbox/debian jammy InRelease' doesn't support architecture 'i386'
E: The repository 'https://download.virtualbox.org/virtualbox/debian/dists jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

comment:5 by bushido, 10 months ago

Resolution: invalid
Status: closedreopened

comment:6 by galitsyn, 10 months ago

Hi bushido,

We no longer ship i386 version of VirtualBox. It is since version 6.0.0 (almost 5 years ago).

comment:7 by bushido, 10 months ago

But I have been able to use and install official and Ubuntu fork of Virtualbox 7.0 before to 22.04 LTS. Which repository should I use then if something else (not i386) works too according to my practice?

comment:8 by galitsyn, 10 months ago

I think Ubuntu does not ship 22.04 for i386 either and amd64 repo should work. Have you tried to define repo as mentioned in comment:3?

comment:9 by bushido, 10 months ago

What do you mean by defining repo?

deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib

already includes amd64 and it gave an error.

comment:10 by galitsyn, 10 months ago

My guess is that you might have a duplicate "deb" entry somewhere under /etc/apt. Before making a comment:3, I checked if it work with my 22.04. If you are running amd64 architecture, this should work out of the box from what I can see here locally. I would recommend to double check system config.

comment:11 by galitsyn, 10 months ago

bushido,

Could you please post complete output of 'apt update'? I still not convinced that problem is on our side, just want to compare it with what I see on my end.

comment:12 by bushido, 10 months ago

I am getting

Hit:1 https://installer.id.ee/media/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]      
Hit:3 http://ee.archive.ubuntu.com/ubuntu jammy InRelease                      
Hit:4 https://brave-browser-apt-release.s3.brave.com stable InRelease          
Get:5 http://ee.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]     
Hit:6 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease  
Get:7 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [7 553 B]
Hit:8 http://ee.archive.ubuntu.com/ubuntu jammy-backports InRelease            
Get:9 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [7 456 B]
Get:10 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7 450 B]
Get:11 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7 449 B]
Get:12 http://ee.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [550 kB]
Get:13 http://ee.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1 280 kB]
Get:14 http://ee.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1 024 kB]
Get:15 http://ee.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [678 kB]
Get:16 http://ee.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [228 kB]
Get:17 http://ee.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [42,1 kB]
Get:18 http://ee.archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages [4 184 B]
Fetched 4 065 kB in 6s (668 kB/s)                                              
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
19 packages can be upgraded. Run 'apt list --upgradable' to see them.


By the way, executing

apt list --upgradable

showed

virtualbox-dkms/jammy-updates 6.1.48-dfsg-1~ubuntu1.22.04.1 amd64 [upgradable from: 6.1.38-dfsg-3~ubuntu1.22.04.1]

Should I upgrade it? If yes, how?

Ubuntu's Software updater did not find this upgrade and told that Ubuntu is up-to-date but GNOME Software did find and offered to download and restart in order to install the upgrade of DKMS.

Last edited 10 months ago by bushido (previous) (diff)

comment:13 by galitsyn, 10 months ago

Hi bushido,

Looking to comment:12 history, I think you currently have installed VirtualBox 6.1.48 from Ubuntu repo (run "apt upgrade" if you want to upgrade it and other packages in the system).

First version of the comment suggests that you might need to import our public key (but only in case if you decide to enable our repo and use VBox from it). You can do it as shown below (as shown at https://www.virtualbox.org/wiki/Linux_Downloads as well)

wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor

So, if you want to use Ubuntu repo -- disable ours and run "apt upgrade". If you want to use ours -- enable it (it is now disabled from what I can see in the last version of comment), import public key and run "apt update" and then "apt upgrade".

Last edited 10 months ago by galitsyn (previous) (diff)

comment:14 by galitsyn, 10 months ago

Resolution: invalid
Status: reopenedclosed

Issue is not related to VirtualBox. Closing.

comment:15 by bushido, 10 months ago

Hi galitsyn,

I uninstalled VirtualBox 6.1.48 from Ubuntu and installed VirtualBox 7.0.14 r161095 from you.

After that I tried to add keyrings etc but I am not confident if I succeeded. Is there a way to check if everything is set up correctly so that VirtualBox official updates appear via Software Center? Or I get the same updates if I have enabled automatic updates check in the settings of VirtualBox?

Also I had to uninstall DKMS of 6.1.48-dfsg-1~ubuntu1.22.04.1 separately with the command "sudo apt remove virtualbox-dkms" in Terminal as Ubuntu repo installed it separately and the uninstall of Ubuntu-provided Virtualbox did not remove it for some reason. Your repo has all the needed dependencies as out-of-the-box scenario which I like. NB! The Ubuntu-provided VirtualBox conflicts with the Oracle-provided VirtualBox packages, thus it is necessary to remove all the stuff that came with one of these and to use only dependencies related to your or Ubuntu-provided Virtualbox.

Last edited 10 months ago by bushido (previous) (diff)

comment:16 by bushido, 10 months ago

Resolution: invalid
Status: closedreopened
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette