As ownCloud 9.1.1 was shipped the apt-key got replaced and the old one is not valid anymore, which in other words means that you can’t update ownCloud through apt-get anymore. The fix for this is very easy and done in just a few simple steps. Open a terminal and write these commands:
-
sudo apt-key list
-
sudo apt-key del [OWNCLOUD KEY NUMBER]
-
sudo wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/Release.key -O Release.key
-
sudo apt-key add - < Release.key
Now the key is replaced and you should be able to update ownCloud through apt-get. If you run the ownCloud VM just run this command:
sudo bash /var/scripts/owncloud_update.sh