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 http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -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) <info@virtualbox.org>
sub 2048g/281DDC4B 2010-05-18