Wednesday, May 1, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 991  / 1 Year ago, fri, november 25, 2022, 12:34:26

I am using Ubuntu 14.04. I installed phusion passenger in my machine using the following commands.


sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7
sudo apt-get install apt-transport-https ca-certificates
echo 'deb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main' | sudo tee /etc/apt/sources.list.d/passenger.list
sudo chown root: /etc/apt/sources.list.d/passenger.list
sudo chmod 600 /etc/apt/sources.list.d/passenger.list
sudo apt-get update

The installation is successful and I am also able to run passenger. But I am able to see the below error related to my package manager.


enter image description here


Because of this error software updater application is not working.


Can anybody help to solve this problem?


More From » package-management

 Answers
0

The problem is this command:



sudo chmod 600 /etc/apt/sources.list.d/passenger.list



Which basically renders the file inaccessible to every user beyond root. You should set read permissions to this file for everyone:



sudo chmod 644 /etc/apt/sources.list.d/passenger.list



For more details on chmod check the Manpage.


[#23471] Saturday, November 26, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
entmpy

Total Points: 52
Total Questions: 112
Total Answers: 113

Location: Marshall Islands
Member since Tue, Sep 21, 2021
3 Years ago
entmpy questions
;