LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 12-21-2018, 02:43 PM   #1
TheHybrid
LQ Newbie
 
Registered: Dec 2018
Posts: 2

Rep: Reputation: Disabled
Issues With Adding To Sources List


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.

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-mozi...ity/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.

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-mozi...ity/ppa/ubuntu bionic main
deb-src http://ppa.launchpad.net/ubuntu-mozi...ity/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?

-TH
 
Old 12-21-2018, 06:50 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
If you followed the instructions from here - https://tecadmin.net/install-oracle-...box-on-ubuntu/ - it didn't work because

Code:
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian `lsb_release -cs` contrib"
was written specifically for Ubuntu. The lsb_release -cs section added "tara" for your version of Mint and that repo subsection doesn't exist.

The relevant software source .list file should read:

Code:
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib
If you don't know how to replace what you've got with the line above, let us know.

In future posts, it would be best if you included all output and code within CODE tags (please see (see https://www.linuxquestions.org/quest...g.php?b=36313;). That way, for example, the URLs won't be interpreted and shortened. Cheers.
 
1 members found this post helpful.
Old 12-21-2018, 09:28 PM   #3
TheHybrid
LQ Newbie
 
Registered: Dec 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hey, thanks for the help. That actually worked.

I apologize for the messy post. I wasn't sure if it automatically formatted the text correctly as I've seen in other places. I'll add the right tags next time. Thanks again for the help.
 
Old 12-21-2018, 09:32 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by TheHybrid View Post
Hey, thanks for the help. That actually worked.

I apologize for the messy post. I wasn't sure if it automatically formatted the text correctly as I've seen in other places. I'll add the right tags next time. Thanks again for the help.
No problem, TheHybrid. Welcome to LQ by the way!

If you want, you can mark this thread as "Solved" (see "Thread Tools" at the top of the thread).
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/mono-official.list 221B Linux - Newbie 6 09-07-2017 12:14 PM
'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of vsssuccess@gmail.com Linux - Desktop 1 11-17-2010 08:17 AM
sources.list...no sources! phantom_cyph Fedora 4 10-16-2007 09:26 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration