Virtualbox install on Linux Mint 19 Tara

前端 未结 1 2061
予麋鹿
予麋鹿 2021-01-26 01:00

I tried to install Virtualbox on linux

Mint version 19, 
Code name : Tara,
PackageBase : Ubuntu Bionic
Cinnamon (64-bit)

Reference link

相关标签:
1条回答
  • 2021-01-26 01:27

    I tried to install missing dependencies using command: sudo apt-get install -f

    Then removed package using command:

    xxxxxxxx:~/Downloads$ sudo dpkg -r virtualbox-5.2
    (Reading database ... 273637 files and directories currently installed.)
    Removing virtualbox-5.2 (5.2.18-124319~Ubuntu~bionic) ...
    Processing triggers for shared-mime-info (1.9-2) ...
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
    Processing triggers for desktop-file-utils (0.23+linuxmint3) ...
    Processing triggers for mime-support (3.60ubuntu1) ...
    

    Then following command is used to purge package completely

    xxxxxxxx:~/Downloads$ sudo dpkg -P virtualbox-5.2
    (Reading database ... 272816 files and directories currently installed.)
    Purging configuration files for virtualbox-5.2 (5.2.18-124319~Ubuntu~bionic) ...
    

    and then re-ran dpkg install command.

    xxxxxxxxxx:~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.18-124319_Ubuntu_bionic_amd64.deb 
    (Reading database ... 273638 files and directories currently installed.)
    Preparing to unpack virtualbox-5.2_5.2.18-124319_Ubuntu_bionic_amd64.deb ...
    Unpacking virtualbox-5.2 (5.2.18-124319~Ubuntu~bionic) over (5.2.18-124319~Ubuntu~bionic) ...
    Setting up virtualbox-5.2 (5.2.18-124319~Ubuntu~bionic) ...
    addgroup: The group `vboxusers' already exists as a system group. Exiting.
    Processing triggers for systemd (237-3ubuntu10.3) ...
    Processing triggers for ureadahead (0.100.0-20) ...
    ureadahead will be reprofiled on next reboot
    Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
    Processing triggers for desktop-file-utils (0.23+linuxmint3) ...
    Processing triggers for mime-support (3.60ubuntu1) ...
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    Processing triggers for shared-mime-info (1.9-2) ...
    

    I don't see dependencies error. TO check if it is installed,

    xxxxxxxxx:~/Downloads$ dpkg -l | grep 'virtualbox'
    ii  virtualbox-5.2                             5.2.18-124319~Ubuntu~bionic         amd64        Oracle VM VirtualBox
    
    0 讨论(0)
提交回复
热议问题