Hi.
I'm trying to run the package installer for a newer version of VirtualBox but I've run into the following error message:
"Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
I believe there may be remnants of the previous version of VirtualBox on my computer that are preventing the newer version of VirtualBox from installing.
If this is what this error message means, how do I remove the remnants of the older version of VirtualBox so that I can then run the package installer without issue? For instance, is there a way to do it using the terminal?
I'm a bit cautious about deleting the wrong thing because I did that once and I had to reinstall Linux Mint.
Thank you.
P.S. I'm using Linux 18.3 Sylvia with Cinnamon 3.6.6 desktop environment if that helps.
[SOLVED] How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Hi,
You can use...
This should remove an older version of VirtualBox plus its configuration files.
Then try the installation again.
If still experience issues, check to make sure the Xenial version of the .deb file was downloaded from https://www.virtualbox.org
You can use...
Code: Select all
apt purge virtualbox*
Then try the installation again.
If still experience issues, check to make sure the Xenial version of the .deb file was downloaded from https://www.virtualbox.org
GNU/Linux Versions Performance Comparison (older hardware) includes 17.2 KDE RC and 17.2 Xfce RC
Re: How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Open Synaptic. Search for anything with VirtualBox and also Vbox, remove them...
You should be able to install the newer Virtualbox properly afterwards.
You should be able to install the newer Virtualbox properly afterwards.
Re: How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Hi thx-1138,
Previously supplied purge command should perform that action without having to manually search.
Previously supplied purge command should perform that action without having to manually search.
GNU/Linux Versions Performance Comparison (older hardware) includes 17.2 KDE RC and 17.2 Xfce RC
Re: How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Hi Dave, yes, but it was missing sudo (and if the op had older versions, he/she hasn't said, then the packages could be called vbox* instead...)
...so the 100% certain terminal way, regardless of what the op has previously installed or not installed, sudo apt-get purge virtualbox* vbox*...For instance, is there a way to do it using the terminal?
Re: How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Ah, with Mint apt is self elevating for many basic commands. Supplied command automatically asks for user password. This saves typing, as well as making commands easier to remember.
So the command can be shortened to...
apt purge virtualbox* vbox*
Prefer apt to apt-get, with apt the user has a nice progress bar.
So the command can be shortened to...
apt purge virtualbox* vbox*
Prefer apt to apt-get, with apt the user has a nice progress bar.
GNU/Linux Versions Performance Comparison (older hardware) includes 17.2 KDE RC and 17.2 Xfce RC
Re: How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Update: I uninstalled the VirtualBox package that was causing the error by uninstalling it within the Synaptic program. I tried uninstalling it using the terminal, but I must not have entered the right information because it didn't seem to work for me.
I installed the new VirtualBox package without any more complications plus the virtualized version of Windows 10 that had I wanted to install (also without any complications).
Thanks everyone for your help in solving this problem!
I installed the new VirtualBox package without any more complications plus the virtualized version of Windows 10 that had I wanted to install (also without any complications).
Thanks everyone for your help in solving this problem!
Re: How do I solve this error? "Error: Breaks existing package 'virtualbox' conflict: virtualbox-5.1 ( )"
Great!
Please edit the original thread title adding <SOLVED> to the beginning. Thank you.
Please edit the original thread title adding <SOLVED> to the beginning. Thank you.
GNU/Linux Versions Performance Comparison (older hardware) includes 17.2 KDE RC and 17.2 Xfce RC