sudo sh -c 'echo "[some repository]" >> /etc/apt/sources.list, but, then I get this message:
bash: /etc/apt/sources.list: Permission denied`
And it doesn't work.
And now, when I type
sudo apt-get update or open the Update Manager, the system just shows me the error message:
E: Type '[some repository]' is not known on line 62 in source list /etc/apt/sources.list E: The list of sources could not be read.**
could not initialize the package information
How can I fix this?