Page 1 of 1

Can't install 6.1 on my linux Parrot

Posted: 2. Jan 2020, 16:44
by MikeWattson
I'm trying to install VB 6.1 on my Parrot Linux, but got some errors I can't figure out to handle.

If I write this: sudo apt-get install virtualbox-6.1

I get this error:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package virtualbox-6.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'virtualbox-6.1' has no installation candidate
If I write sudo apt-get install virtualbox I get VB 6.0 installed and it works fine - but, I want 6.1

I have also tried to download the deb file from the VirtualBox website, but when I try to install the deb file I get this error:

Code: Select all

sudo dpkg -i virtualbox-6.1_6.1.0-135406~Debian~buster_amd64.deb 
dpkg: regarding virtualbox-6.1_6.1.0-135406~Debian~buster_amd64.deb containing virtualbox-6.1:
 virtualbox-6.1 conflicts with virtualbox-guest-additions-iso
  virtualbox-guest-additions-iso (version 6.0.10-1) is present and installed.

dpkg: error processing archive virtualbox-6.1_6.1.0-135406~Debian~buster_amd64.deb (--install):
 conflicting packages - not installing virtualbox-6.1
Errors were encountered while processing:
 virtualbox-6.1_6.1.0-135406~Debian~buster_amd64.deb
Anyone with a tip on how I can install 6.1 ?

Re: Can't install 6.1 on my linux Parrot

Posted: 2. Jan 2020, 16:53
by scottgus1

Re: Can't install 6.1 on my linux Parrot

Posted: 2. Jan 2020, 17:03
by MikeWattson
I have read that page many times now, but can't find the solution.

I have also added the code to my source file, but did not help. Can't show what I have added to the source file, because I have to be a member for one day, before I can post links.

Re: Can't install 6.1 on my linux Parrot

Posted: 2. Jan 2020, 17:36
by MikeWattson
I just tried to run: dpkg -l | grep virtualbox

Code: Select all

ii  virtualbox-dkms                           6.0.14-dfsg-1                        all          x86 virtualization solution - kernel module sources for dkms
ii  virtualbox-guest-additions-iso            6.0.10-1                             all          guest additions iso image for VirtualBox

Re: Can't install 6.1 on my linux Parrot

Posted: 2. Jan 2020, 17:40
by scottgus1
You can use the forum tags to post text, or the Upload Attachment tab to post text files, zips, and pictures from your first post.

I am no Linux guru, you may have to wait for others who are to join in. FWIW, they will ask you to use the build downloads from that Linux Downloads page, not the Linux distro's forked repository. One thing I have seen is that official non-distro-forked Virtualbox from the Downloads page does not use dkms anymore. So it sounds like you're pulling from the distro repository still.

Re: Can't install 6.1 on my linux Parrot

Posted: 2. Jan 2020, 17:47
by towo2099
MikeWattson wrote:I just tried to run: dpkg -l | grep virtualbox

Code: Select all

ii  virtualbox-dkms                           6.0.14-dfsg-1                        all          x86 virtualization solution - kernel module sources for dkms
ii  virtualbox-guest-additions-iso            6.0.10-1                             all          guest additions iso image for VirtualBox

Code: Select all

apt purge $(dpkg -l | awk '/virtualbox/{ print $2 }')
Then install the one from oracle.
And btw, i would assume, parrot os is not the right distribution for you, you have to learn the linux and debian bsics at 1st!

Re: Can't install 6.1 on my linux Parrot

Posted: 2. Jan 2020, 18:04
by MikeWattson
towo2099 wrote:
MikeWattson wrote:I just tried to run: dpkg -l | grep virtualbox

Code: Select all

apt purge $(dpkg -l | awk '/virtualbox/{ print $2 }')
Then install the one from oracle.
And btw, i would assume, parrot os is not the right distribution for you, you have to learn the linux and debian bsics at 1st!
Thanks. I'll try that later today.

I'm new to Parrot but I have been using Ubuntu for about a year now, but first time trying to install Virtualbox. Would it be more easy to install VB on Ubuntu or would I run into the same problem there ?

Re: Can't install 6.1 on my linux Parrot

Posted: 2. Jan 2020, 18:24
by scottgus1
Ubuntu would have Virtualbox pre-installed, and you'd have to purge & reinstall as above.