etc/apt/sources.list errors when trying to edit
I've searched google and forums and can't figure this out, so I'm asking.(Fair warning: I'm willing to learn and try things, but I'm very very new to Linux.)
I'm using Ubuntu 6.06 Dapper.
I am following the Ubuntu directions from this page (I had to edit the front of the page info because I haven't posted enough here yet to be allowed to enter a url):
debianadmin.com/install-libdvdcss-and-w32-video-codecs-in-debian-and-ubuntu.html[/url]
to try and add W32 codecs to my install (Ubuntu 6.06 Dapper amd64).
When I use the terminal and type:
sudo gedit etc/apt/sources.list
in order to add the repositories, it asks for and appears to accept my password, and it opens the file in gedit, but it also posts (in the terminal window) the message:
(gedit:13095): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
/home/(my name)/.esd_auth: File exists
The etc/apt/sources.list file opens in the gedit window, but there is nothing there. If I try and add the repositories that the website says to and save the file I get a yellow error bar across the top of the edit window that says:
Could not save the file /home/(my name)/etc/apt/sources.list.
Unexpected error: File not found
So I hit the cancel button, close down the edit window using the 'x' in the corner and tell it not to save (anything else gets the same yellow bar error as above) and am right back where I started.
Can anyone help me find what I am doing wrong and how to fix it?
|