[SOLVED] Issues With Adding To Sources List

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
digitalwhispers
Level 1
Level 1
Posts: 4
Joined: Fri Dec 21, 2018 3:15 pm

[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 digitalwhispers on Fri Dec 21, 2018 6:11 pm, edited 2 times in total.

User avatar
SuperBoby
Level 3
Level 3
Posts: 106
Joined: Wed Nov 21, 2018 2:33 pm

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
LMDE 3 Cindy x64 on :
Lenovo Thinkpad T410, X220 Tablet, X61

digitalwhispers
Level 1
Level 1
Posts: 4
Joined: Fri Dec 21, 2018 3:15 pm

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."

User avatar
SuperBoby
Level 3
Level 3
Posts: 106
Joined: Wed Nov 21, 2018 2:33 pm

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 :)
LMDE 3 Cindy x64 on :
Lenovo Thinkpad T410, X220 Tablet, X61

digitalwhispers
Level 1
Level 1
Posts: 4
Joined: Fri Dec 21, 2018 3:15 pm

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'

User avatar
philotux
Level 5
Level 5
Posts: 832
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

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.

User avatar
SuperBoby
Level 3
Level 3
Posts: 106
Joined: Wed Nov 21, 2018 2:33 pm

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: )
LMDE 3 Cindy x64 on :
Lenovo Thinkpad T410, X220 Tablet, X61

User avatar
philotux
Level 5
Level 5
Posts: 832
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

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
Level 1
Level 1
Posts: 4
Joined: Fri Dec 21, 2018 3:15 pm

Re: Issues With Adding To Sources List

Post by digitalwhispers »

Thank you both! I appreciate the quick response.

Post Reply

Return to “Newbie Questions”