Score:0

Can't install virtualbox on Ubuntu 18.04

za flag

I simply couldn't install virtualbox on Ubuntu 18.04 (Kernel 5.4.0-90-generic). Trying different versions from 5.2 to 6.1 and always have the same error when requested /sbin/vboxconfig:

vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

I have tried all approaches mentioned out there, like this, that, there (already had UEFI secure boot disabled), none of them works.

It's getting really frustrating. Anyone got some ideas?

pasman pasmański avatar
mx flag
What is content of the file /var/log/vbox-setup.log ?
EternaLCompleX avatar
za flag
@pasmanpasmański It's a pretty long file, and this is one of the errors `./arch/x86/include/asm/tlbflush.h: In function ‘__native_flush_tlb’: ././include/linux/compiler_types.h:214:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline `
pasman pasmański avatar
mx flag
@EternaL You probably has too old gcc. Best is to install newer release of Ubuntu, 20.04LTS or 21.10 (only 9 month support)
EternaLCompleX avatar
za flag
@pasmanpasmański Good point, I upgraded to gcc 9 and the error went away. Thanks a lot.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.