Gryu Asked: 2020-08-08 01:46:42 +0800 CST2020-08-08 01:46:42 +0800 CST 2020-08-08 01:46:42 +0800 CST How to install libnginx-mod-http-passenger on 20.04 772 How could I install libnginx-mod-http-passenger on 20.04? 20.04 2 Answers Voted Kevin Cooper 2021-02-12T11:22:49+08:002021-02-12T11:22:49+08:00 The fix, as suggested here, is to run: echo "deb https://oss-binaries.phusionpassenger.com/apt/passenger focal main" | sudo tee /etc/apt/sources.list.d/passenger.list Then try installing again. This will fix errors such as: The following packages have unmet dependencies: libnginx-mod-http-passenger : Depends: nginx-common (< 1.14.1) but 1.18.0-0ubuntu1 is to be installed Gryu 2020-08-08T01:46:42+08:002020-08-08T01:46:42+08:00 To install it on amd64 arch machine: $ sudo apt install -y dirmngr gnupg $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 $ sudo apt install -y apt-transport-https ca-certificates $ su # echo deb [arch=amd64] https://oss-binaries.phusionpassenger.com/apt/passenger focal main > /etc/apt/sources.list.d/passenger.list # exit Then $ sudo apt update $ sudo apt-get install -y libnginx-mod-http-passenger And it would be successfully installed
The fix, as suggested here, is to run:
Then try installing again. This will fix errors such as:
To install it on amd64 arch machine:
Then
And it would be successfully installed