[SOLVED] Issues With Adding To Sources List

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
digitalwhispers

[SOLVED] Issues With Adding To Sources List

Post by digitalwhispers »

Hey, everyone! I was attempting to upgrade to the newest edition of Virtual Box. I followed the instructions to the letter from Tec Mint. When I run the 'sudo apt-get update' command, I get some errors from my additions.

Code: Select all

networkgeek@theether:~$ sudo apt-get update
Ign:1 http://packages.linuxmint.com tara InRelease
Hit:2 http://archive.canonical.com/ubuntu bionic InRelease                                              
Hit:3 http://packages.linuxmint.com tara Release                                                        
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease                                                 
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]                             
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                               
Hit:8 http://ppa.launchpad.net/gns3/ppa/ubuntu bionic InRelease                                         
Hit:9 http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic InRelease                      
Ign:10 http://download.virtualbox.org/virtualbox/debian tara InRelease               
Get:11 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [413 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [476 kB] 
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [706 kB]
Err:15 http://download.virtualbox.org/virtualbox/debian tara Release            
  404  Not Found [IP: 23.221.202.52 80]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [698 kB]
Reading package lists... Done                              
E: The repository 'http://download.virtualbox.org/virtualbox/debian tara 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.
Now, i didn't add those exact Virtual Box repositories. This is the result of running the 'inxi -r' command.

Code: Select all

networkgeek@theether:~$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/gns3-ppa-bionic.list
           deb http://ppa.launchpad.net/gns3/ppa/ubuntu bionic main
           deb-src http://ppa.launchpad.net/gns3/ppa/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com tara main upstream import backport #id:linuxmint_main
           deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ bionic partner
           Active apt sources in file: /etc/apt/sources.list.d/ubuntu-mozilla-security-ppa-bionic.list
           deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic main
           deb-src http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/virtualbox.list
           deb http://download.virtualbox.org/virtualbox/debian tara contrib
Where am I going wrong, friends?

-J
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
SuperBoby

Re: Issues With Adding To Sources List

Post by SuperBoby »

Have you added the repository key as explained in their download page ?

https://www.virtualbox.org/wiki/Linux_Downloads

EDIT : I think your error stands here :

Code: Select all

Active apt sources in file: /etc/apt/sources.list.d/virtualbox.list
           deb http://download.virtualbox.org/virtualbox/debian tara contrib
"Tara" is the name of the Linux Mint version, not the Ubuntu version it is based on. Try the following instead :

Code: Select all

deb http://download.virtualbox.org/virtualbox/debian bionic contrib
digitalwhispers

Re: Issues With Adding To Sources List

Post by digitalwhispers »

I get this response when I try to add it.

"W:GPG error: http://download.virtualbox.org/virtualbox/debian bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF, E:The repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' is not signed."
SuperBoby

Re: Issues With Adding To Sources List

Post by SuperBoby »

This error means that you didn't add the repository's key. See the link in my previous answer :)
digitalwhispers

Re: Issues With Adding To Sources List

Post by digitalwhispers »

I know. I just realized that and was about to respond. It's installing now. At the end of the 'apt-get update' command, I get this notification. Is this a problem?

N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'
philotux

Re: Issues With Adding To Sources List

Post by philotux »

Not a problem, by changing:

Code: Select all

deb http://download.virtualbox.org/virtualbox/debian bionic contrib
to read:

Code: Select all

deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib
the message will go away.
Last edited by philotux on Fri Dec 21, 2018 5:55 pm, edited 1 time in total.
SuperBoby

Re: Issues With Adding To Sources List

Post by SuperBoby »

Apparently there is no i386 package in this repository. If you're on a 64 bit system it is not a problem.

EDIT : better answer from philotux :)

(Don't forget to add the [Solved] tag to the title of the topic if it's ok for you :wink: )
philotux

Re: Issues With Adding To Sources List

Post by philotux »

SuperBoby wrote: Fri Dec 21, 2018 5:53 pm Apparently there is no i386 package in this repository. If you're on a 64 bit system it is not a problem.

EDIT : better answer from philotux :)

(Don't forget to add the [Solved] tag to the title of the topic if it's ok for you :wink: )
Nice teamwork!
cheers
:D
digitalwhispers

Re: Issues With Adding To Sources List

Post by digitalwhispers »

Thank you both! I appreciate the quick response.
Locked

Return to “Beginner Questions”