Page 1 of 1

Cannot remove a package.

Posted: Fri Aug 23, 2019 6:26 am
by waywayka
Hi all,

I hope someone can help me.

I cannot seem to remove a package:

virtualbox-ext-pack 5.2 10-3

Every time I try to download a new package or remove an old package, an error appears telling me that some packages could not be installed or removed. The error is referring to the above 'stuck' package. Something in the error report talked about a 'hash mismatch'. It doesn't affect these other packages from being removed or installed, by the way.

I've tried removing it manually from my package manager, but the damn thing reappeared!

And now the 'mark for complete removal' option is greyed out.

Any information would be greatly appreciated.

Re: Cannot remove a package.

Posted: Fri Aug 23, 2019 7:23 am
by Larry78723
If you'd post the actual text of the error it would help us to help you.

Larry

Re: Cannot remove a package.

Posted: Fri Aug 23, 2019 9:42 pm
by pbear
The repo version of VirtualBox seems to be on version 5.2.23, so looks like you're way out of sync. Can you boot VBox? What version do you have?

Re: Cannot remove a package.

Posted: Fri Aug 30, 2019 8:36 am
by waywayka
Thank you for your replies.

Have decided to restore my OS from a snapshot in Timeshift.

I will investigate the non-repo version of Virtualbox.

Duly noted - I will provide more textual information next time I have a problem.

Again, thank you.

Re: Cannot remove a package.

Posted: Fri Aug 30, 2019 12:50 pm
by pbear
waywayka wrote:
Fri Aug 30, 2019 8:36 am
Have decided to restore my OS from a snapshot in Timeshift.
Good plan. The crucial question is whether the system then updates cleanly. If so, you're good to go and this was all just a bad dream. If not, you're gonna have to do the nitty-gritty troubleshooting. BTW, typo, the current repo version of VBox is 5.2.32. If you want to move to direct install of VBox (how-to here), be sure to run apt purge virtualbox* first. Notably, purge leaves your VMs undisturbed, so no need to worry about that.

Re: Cannot remove a package.

Posted: Fri Aug 30, 2019 1:57 pm
by AndyMH
Another way to delete the extension pack. In VB File > preferences > extensions, right click on it and select remove package.
Workspace 1_026.png
But if you are running VirtualBox you need the extension pack if you are going the exploit the full functionality of VB.

Re: Cannot remove a package.

Posted: Sun Sep 01, 2019 12:25 am
by waywayka
You people are first class.

Thanks for your help.