virtualbox and DKMS

Asked by Antonio

Hi all,
I'm a newbie for ubuntu so please be patient with me! :)

I've installed the 14.04 LTS version. Then, I searched for virtualbox in the Ubuntu software center... Found and Installed v. 4.3.10.

On yesterday I found and updated version useful for me (4.3.16) directly on the official website, not in USC, so I downloaded the .deb package and tried to install it hoping to overwrite the exsting version but.. tadaaa, something goes wrong. (Maybe here it's my fault). Sorry but I didn't get any note about it.

So I opened again the .deb package decided to uninstall the newer one, so I could uninstall also the original version but again errors (also ant note here). I went on the USC looked for VirtualBox and remove it.. I did. OK

When I tried to reinstall the original version (4.3.10 from USC), now I got this error:

  ERROR: DKMS version is too old and virtualbox-dkms was notbuild with legacy DKMS support.
  You must either rebuild virtualbox-dkms with legacy postinst support or upgrade DKMS to a more current version.

But the virtualbox seems to be installed and working...

what happened???

Thanks,
Anthony

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
Antonio
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo apt-get --reinstall install dkms

You need to rebuild the DKMS for the new version.

Revision history for this message
Antonio (harlequin-net) said :
#2

Hi,
yes I used

sudo apt-get --reinstall install dkms

then

sudo apt-get --reinstall install dpkg

but the main problem was in the file /var/lib/dpkg/triggers/File where there were some duplicates of packages in both version 32 and 64 bit. It has been sufficient to remove the 32 bit packages versione and

sudo dpkg --configure -a

Revision history for this message
Antonio (harlequin-net) said :
#3

..and thanks Andrew. :)