PDA

View Full Version : [ubuntu] sources.list - 13: Permission denied)



johnata
January 25th, 2010, 10:18 PM
Someone could help me?

Appear sometimes ago a message:
E: Opening /etc/apt/sources.list - ifstream::ifstream (13: Permission denied)

I'm trying update my computers but I don't get.. Please.. All my docs, movies and pictures are in this PC... What Can I Do to fix?

ibuclaw
January 25th, 2010, 10:20 PM
Curious,

Can you run:

ls -l /etc/apt/sources.list
And post the output.

Regards
Iain

johnata
January 25th, 2010, 11:10 PM
Appeared:

-rw-r--r-- 1 root root 3254 2010-01-25 17:32 /etc/apt/sources.list

Please, answer me... u.u

ibuclaw
January 26th, 2010, 08:36 AM
Hmm, seems fine, perhaps there are some other attributes at play here.

Oh well, perhaps creating a new file will resolve it.



sudo mv /etc/apt/sources.list /etc/apt/sources.list.old
sudo cat /etc/apt/sources.list.old | sudo tee /etc/apt/sources.list


Regards
Iain