I decided to upgrade the Passenger application server today on servers with Ubuntu 18.04. I ran the following in our staging environment first and after testing the app, all was well. The standard upgrade process using APT (and other package managers) for Passenger on Ubuntu and other distros is here.
sudo apt-get update
sudo apt-get upgrade
For some reason (due to repo move?), in our production environment the same result produced the following errors:
Ign:10 https://oss-binaries.phusionpassenger.com/apt/passenger bionic InRelease
Get:11 https://oss-binaries.phusionpassenger.com/apt/passenger bionic Release [8200 B]
Get:12 https://oss-binaries.phusionpassenger.com/apt/passenger bionic Release.gpg [833 B]
Reading package lists... Done
E: Repository 'https://oss-binaries.phusionpassenger.com/apt/passenger bionic Release' changed its 'Origin' value from 'packagecloud.io/phusion/passenger' to '. bionic'
E: Repository 'https://oss-binaries.phusionpassenger.com/apt/passenger bionic Release' changed its 'Label' value from 'passenger' to '. bionic'
N: Repository 'https://oss-binaries.phusionpassenger.com/apt/passenger bionic Release' changed its 'Version' value from '1' to ''
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
In order to resolve this, you can do the following:
sudo apt-get --allow-releaseinfo-change update
sudo apt-get update
Huzzah, enjoy the latest release of your Passenger 6.0.9 install. For more detailed info, you can refer to the following issue in the Passenger github. Off to drink my coffee.