Can't install 6.1 on my linux Parrot

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MikeWattson
Posts: 4
Joined: 2. Jan 2020, 16:35
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Linux Parrot

Can't install 6.1 on my linux Parrot

Post 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 ?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Can't install 6.1 on my linux Parrot

Post by scottgus1 »

MikeWattson
Posts: 4
Joined: 2. Jan 2020, 16:35
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Linux Parrot

Re: Can't install 6.1 on my linux Parrot

Post 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.
MikeWattson
Posts: 4
Joined: 2. Jan 2020, 16:35
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Linux Parrot

Re: Can't install 6.1 on my linux Parrot

Post 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
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Can't install 6.1 on my linux Parrot

Post 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.
towo2099
Volunteer
Posts: 364
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Android, Linux

Re: Can't install 6.1 on my linux Parrot

Post 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!
MikeWattson
Posts: 4
Joined: 2. Jan 2020, 16:35
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Linux Parrot

Re: Can't install 6.1 on my linux Parrot

Post 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 ?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Can't install 6.1 on my linux Parrot

Post by scottgus1 »

Ubuntu would have Virtualbox pre-installed, and you'd have to purge & reinstall as above.
Post Reply