How to fix VirtualBox apt updating when you get the error Requires installation of untrusted packages

When updating VirtualBox on our Ubuntu server today I received the following error: Requires installation of untrusted package. The action would require the installation of packages from not authenticated sources.

It turns out that the authentication key for the repository had been deleted. Run the following command to resolve this problem

Open a terminal session and issue the command:

wget -q -O- | sudo apt-key add -

This will download and install the virtualbox authentication key into the apt database. To check it installed ok issue the command
sudo apt-key list
If it installed correctly you should see something like this
pub   1024D/98AB5139 2010-05-18
uid                  Oracle Corporation (VirtualBox archive signing key) <>
sub   2048g/281DDC4B 2010-05-18
Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • Facebook
  • Twitter
  • Google Bookmarks

Leave a Reply

Your email address will not be published. Required fields are marked *