use apt-get

Asked by pila

hi i need help with this problem
'E:Type 'wget' is not known on line 50 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

I have done all the steps you say here but when I try to save and then go to the next step of the alt f2. etc.
I get when I try to tax the / etc / apt / sources.list

Could not save the file /etc/apt/sources.list.
You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.
cancel.

Anyone out there with ideas to fix this.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #444892.

Revision history for this message
pila (poluxtrois) said :
#1

I have done all the steps you say here but when I try to save and then go to the next step of the alt-f2. etc.
I get when I try to tax the / etc / apt / sources.list

Could not save the file /etc/apt/sources.list.
You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.

please tell how i can resolve this problem.

thnks.

Revision history for this message
Buuntu (buuntu) said :
#2

Reporters problem involves editing /etc/apt/sources.list.

Revision history for this message
C de-Avillez (hggdh2) said :
#3

You must edit /etc/apt/sources.list as root:

sudo <editor> /etc/apt/sources.list

where <editor> is your preferred file editor.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

In a terminal type or copy and paste the row below, then press enter:

gksudo gedit /etc/apt/sources.list

the system will ask you a password give your user password, you will not see nothing when you type it, then press enter

Then do the suggested changes to the file, then save and close the file and try to update your system.

Hth

Can you help with this problem?

Provide an answer of your own, or ask pila for more information if necessary.

To post a message you must log in.