LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2024, 02:18 AM   #46
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by enigma9o7 View Post
Because you don't have a VM named "virtualbox-7.0" of course. What does that have to do with anything?

You also did not share the apt policy that would confirm where the virtualbox-7.0 package came from.
This is what I tried:

Code:
apt policy virtualbox-7.0
virtualbox-7.0:
  Installed: 7.0.14-161095~Ubuntu~jammy
  Candidate: 7.0.14-161095~Ubuntu~jammy
  Version table:
 *** 7.0.14-161095~Ubuntu~jammy 100
        100 /var/lib/dpkg/status
 
Old 02-13-2024, 09:21 AM   #47
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
So that shows there is no source repository for the version you have installed. You likely installed a deb file that you downloaded manually, or removed the repository it came from.
 
Old 02-13-2024, 01:25 PM   #48
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
So that shows there is no source repository for the version you have installed. You likely installed a deb file that you downloaded manually, or removed the repository it came from.
I downloaded and installed VirtualBox from the VirtualBox Website.
Yes, it is a deb file : virtualbox-7.0_7.0.14-161095~Ubuntu~jammy_amd64.deb
So, how do I add what is missing?

Thanks
 
Old 02-13-2024, 04:50 PM   #49
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by alex4buba View Post
So, how do I add what is missing?Thanks
What is missing?

What you might want to do, if you intend to stick with oracle's package, is add their repo, so you get updates from them.
 
Old 02-14-2024, 12:24 AM   #50
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
What is missing?

What you might want to do, if you intend to stick with oracle's package, is add their repo, so you get updates from them.
In your previous post you said to me :

Code:
no source repository for the version you have installed
So, if it is missing, haw can I add it?
I ave installed the VirtualBox website version, is that not Oracle version?
Do I intend to stick with it? Why not

Please help
Thanks
 
Old 02-14-2024, 10:18 AM   #51
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
To add their repository, follow the instructions on their website. First, add their signing key:

Code:
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor
Then add the following line to your apt sources (using "sudo apt edit-sources"):

Code:
deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib
If you still haven't yet removed debian's fasttrack repo, now would be a convenient time while you have the source list open.

Verify you've done everything right by checking policy of both packages after updating sources, and share output here if you don't yet understand.

Code:
sudo apt update
apt policy virtualbox
apt policy virtualbox-7.0
If everything good, mark this thread as solved.

Last edited by enigma9o7; 02-14-2024 at 10:20 AM.
 
Old 02-14-2024, 10:22 AM   #52
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,638

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
If you want to avoid problems then you want to avoid going to outside repositories and unsupported software.
And by "unsupported", I mean not supported by your distribution maintainers.
IF you pulled this from the ORACLE site and you are not running ORACLE LINUX then that is how you cause the issue.

The question is, can you totally remove and purge Virtualbox (but NOT the guests or guest metadata, unless you WANT to), and install your distribution version properly.
 
Old 02-14-2024, 02:04 PM   #53
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
To add their repository, follow the instructions on their website. First, add their signing key:

Code:
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor
Then add the following line to your apt sources (using "sudo apt edit-sources"):

Code:
deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib
If you still haven't yet removed debian's fasttrack repo, now would be a convenient time while you have the source list open.

Verify you've done everything right by checking policy of both packages after updating sources, and share output here if you don't yet understand.

Code:
sudo apt update
apt policy virtualbox
apt policy virtualbox-7.0
If everything good, mark this thread as solved.
The first command resulted in the following :

Code:
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor
--2024-02-15 06:58:18--  https://www.virtualbox.org/download/oracle_vbox_2016.asc
Resolving www.virtualbox.org (www.virtualbox.org)... [sudo] password for alexe: 2600:1415:3800:ff82::37b7, 2600:1415:3800:ffa6::37b7, 122.252.42.110
Connecting to www.virtualbox.org (www.virtualbox.org)|2600:1415:3800:ff82::37b7|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3157 (3.1K) [application/pgp-signature]
Saving to: ‘STDOUT’

-                                  100%[================================================================>]   3.08K  --.-KB/s    in 0s      

2024-02-15 06:58:22 (60.1 MB/s) - written to stdout [3157/3157]
At that point, the command line is frozen....

What to do now?
Thanks
 
Old 02-14-2024, 02:16 PM   #54
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
blame oracle for poor syntax, i copied that straight from their instructions on the virtualbox installation page. just fix it manually, tired of spoonfeeding anyway.
 
Old 02-14-2024, 02:23 PM   #55
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
blame oracle for poor syntax, i copied that straight from their instructions on the virtualbox installation page. just fix it manually, tired of spoonfeeding anyway.
No idea how to fix manually.
Sorry to bother you
 
Old 02-15-2024, 02:03 AM   #56
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
you can blame oracle of even microsoft or apple for this, but that won't help.
you can split that command into two parts:
Code:
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc > /tmp/oracle_vbox_2016.asc
cat /tmp/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor
does the first command (line) work?
 
Old 02-15-2024, 02:35 AM   #57
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
you can blame oracle of even microsoft or apple for this, but that won't help.
you can split that command into two parts:
Code:
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc > /tmp/oracle_vbox_2016.asc
cat /tmp/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor
does the first command (line) work?
Sorry, what is the command supposed to do? It ended with written to STDOUT
What was written, what did that achieve?

Thanks
 
Old 02-15-2024, 02:54 AM   #58
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Code:
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc > /tmp/oracle_vbox_2016.asc
This is the command, the first line. It will create a file /tmp/oracle_vbox_2016.asc which will begin with:
Code:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)

mQINBFcZ9OEBEACSvycoAEIKJnyyIpZ9cZLCWa+rHjXJzPymndnPOwZr9lksZVYs
 
Old 02-15-2024, 01:28 PM   #59
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,638

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Why not use use apt and pull the distribution SUPPORTED version from the distribution SUPPORTED repositories?
 
Old 02-15-2024, 01:30 PM   #60
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by wpeckham View Post
Why not use use apt and pull the distribution SUPPORTED version from the distribution SUPPORTED repositories?
How can you blame anybody if it works without any trouble?
 
  


Reply

Tags
kde plasma, virtualbox



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
[SOLVED] New install: Virtualbox run fails: Critical Error: Virtualbox COM object maschelsea Slackware 1 03-29-2020 05:42 PM
[SOLVED] virtualbox is installed along with virtualbox-dkms and virtualbox-ext-pack and linux-headers-generic, but error for no /dev/vboxdrv Astral Axiom Linux - Software 2 03-04-2019 08:09 PM
4MLinux as VirtualBox guest - how can I install VirtualBox Guest Additions? wghay 4MLinux 11 09-30-2018 12:17 PM
[SOLVED] VirtualBox Install Script Fails On 32bit Slackware Current MarkVickers Slackware 6 07-27-2017 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:17 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