Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

remove : '/etc/apt/sources.list.d/passenger.list'

m using Rails and each time I'm generate a command (i.e. rails generate scaffold Article)

I'm having this output at the end of the scaffold:

~/Documents/programming/rails_book/beginning_rails_3/blog3_2_11$ body:text published_at:datetime --skip-migration WARNING:root:could not open file '/etc/apt/sources.list.d/passenger.list'

I remember this morning I had some issues with passenger (doc) by intalling (passenger-install-apache2-module)

Create a file /etc/apt/sources.list.d/passenger.list and insert one of the following lines, depending on your distribution. 

I d'like to know of to remove this output?

like image 471
Papouche Guinslyzinho Avatar asked Feb 16 '14 21:02

Papouche Guinslyzinho


People also ask

How do I remove a source list?

Enter the material and plant number. Then pressENTER to display the overview screen. Select the source list record(s) to be deleted. Choose Edit Delete .

What should be in etc APT sources list?

list. Upfront, the /etc/apt/source. list is a configuration file for Linux's Advance Packaging Tool, that holds URLs and other information for remote repositories from where software packages and applications are installed.


1 Answers

WARNING:root:could not open file '/etc/apt/sources.list.d/passenger.list'

permissions related problem:

sudo chmod go=r /etc/apt/sources.list.d/passenger.list
like image 165
pragmatic_programmer Avatar answered Oct 12 '22 06:10

pragmatic_programmer