get terminal to quit attempting to download virtualbox repositories

Asked by Melany Bailey

I tried to download virtualbox today and nothing worked. Then I read that there's been no release of a version for Ubuntu 22.10. Now, terminal tries to download repositories every time I run an update. I feel so stupid for not reading a bit more before trying to install virtualbox. I need to get terminal to stop attempting to download virtualbox repositories. Help please!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output that you receive for the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
dpkg -l | grep -i virtu
sudo apt update
grep -i virtu /etc/apt/sources.list /etc/apt/sources.list.d/*.list

Remark:
It is not true that there is "no release for Ubuntu 22.10"
There is version 6.1.38-dfsg-3 in the Ubuntu repositories for Ubuntu 22.10.
I am quite sure that the version for 22.04 (jammy) from the Virtualbox servers also works on Ubuntu 22.10 (and later)

Another remark:
"I tried to download virtualbox today and nothing worked."
If you provide details of what did not work, them we maybe can help getting that solved.

Revision history for this message
Melany Bailey (antisocialspice) said :
#2

I used the command you requested. Here are the results:

Linux melcomp 5.19.0-31-generic #32-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 20 15:20:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
ii gvfs:amd64 1.50.2-2 amd64 userspace virtual filesystem - GIO module
ii gvfs-backends 1.50.2-2 amd64 userspace virtual filesystem - backends
ii gvfs-common 1.50.2-2 all userspace virtual filesystem - common data files
ii gvfs-daemons 1.50.2-2 amd64 userspace virtual filesystem - servers
ii gvfs-fuse 1.50.2-2 amd64 userspace virtual filesystem - fuse server
ii gvfs-libs:amd64 1.50.2-2 amd64 userspace virtual filesystem - private libraries
ii openvpn 2.6.0~git20220818-1ubuntu1 amd64 virtual private network daemon
[sudo] password for antisocialspice:
Get:1 http://security.ubuntu.com/ubuntu kinetic-security InRelease [109 kB]
Hit:2 https://repo.protonvpn.com/debian stable InRelease
Hit:3 https://ppa.launchpadcontent.net/ubuntudde-dev/stable/ubuntu kinetic InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu kinetic InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu kinetic-updates InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu kinetic-backports InRelease
Hit:7 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Hit:8 https://dl.winehq.org/wine-builds/ubuntu kinetic InRelease
Ign:9 http://download.virtualbox.org/virtualbox/debian kinetic InRelease
Err:10 http://download.virtualbox.org/virtualbox/debian kinetic Release
  404 Not Found [IP: 23.62.216.92 80]
Reading package lists... Done
E: The repository 'http://download.virtualbox.org/virtualbox/debian kinetic 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.
/etc/apt/sources.list.d/virtualbox.list:deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] http://download.virtualbox.org/virtualbox/debian kinetic contrib

Revision history for this message
Best Manfred Hampl (m-hampl) said (last edit ):
#3

Well done.

It seems that you try downloading the virtualbox packages from the virtualbox.org servers and do not use those provided by Ubuntu. And virtualbox have not prepared a separate repository for kinetic on their repository server.

I see two possibilities for correcting the error messages that you get:

Either change the word "kinetic" to "jammy" in /etc/apt/sources.list.d/virtualbox.list

Or completely delete the file /etc/apt/sources.list.d/virtualbox.list

Revision history for this message
Melany Bailey (antisocialspice) said :
#4

Thanks Manfred Hampl, that solved my question.