Skip to content

[Bug]: Uninstalling VirtualBox breaks Linux desktop #522

@BrendonIrwan

Description

@BrendonIrwan

Version

7.2.6

Host OS Type

Linux

Host OS name + version

Debian testing

Host Architecture

x86

Guest OS Type

other

Guest Architecture

x86

Guest OS name + version

Component

Host Installer

What happened?

Linux generic uninstaller silently fails to update-mime-database.

This issue also affects 7.0.14.

When running the Makeself script with the uninstall argument, the process was supposedly successful, but shortly followed by a desktop crash. Not even my display manager survived (I use LightDM with the GTK greeter).

Thorough investigation revealed that GTK failed to draw any pixbufs because its MIME is unknown or something like it.

update-mime-database /usr/share/mime fixes the problem.*

Given that the above is already in the uninstall script, I suspect that it failed there but was suppressed > /dev/null 2>&1. Thus we never know that it failed and why.

Since there are no fallbacks, I suggest to investigate why update-mime-database fails on the script.

*on a spare TTY (e.g. Ctrl + Alt + F1): login, then run said command as root.

How can we reproduce this?

On any GTK-bound desktop environment and with VirtualBox installed with the Makeself script, run said script with the uninstall argument.

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions