这是我运行sudo apt-get install -y libnginx-mod-http-passenger的代码,这是我得到的输出
sudo apt-get install -y libnginx-mod-http-passenger
Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libnginx-mod-http-passenger
lnlaulya1#
你必须先手动将phusionpassenger仓库添加到ubuntu,如Installing Passenger on Ubuntu 22.04 LTS中所述:
phusionpassenger
curl https://oss-binaries.phusionpassenger.com/auto-software-signing-gpg-key.txt | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/phusion.gpg >/dev/null # Add our APT repository sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger jammy main > /etc/apt/sources.list.d/passenger.list' sudo apt-get update # Install Passenger + Nginx module sudo apt-get install -y libnginx-mod-http-passenger
1条答案
按热度按时间lnlaulya1#
你必须先手动将
phusionpassenger
仓库添加到ubuntu,如Installing Passenger on Ubuntu 22.04 LTS中所述: