E:Type 'wget' is not known on line 40 in source list /etc/apt/sources.list, E:The list of sources could not be read.' what the heck is this I can't update or anything what do i need to do

Asked by bprockis

E:Type 'wget' is not known on line 40 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Flavius (fcopaciu-deactivatedaccount) said :
#1

Hi,

Please post here the content of the file /etc/apt/sources.list.

Best regards,
Flavius

Revision history for this message
danielgd (danielgd) said :
#2

It seems you edited /etc/apt/sources.list to add another repository (medibuntu, for example) and copied and pasted too much in. The line with "wget" should not be there.

When adding a repository, wget is usually used to retrieve GPG key (used to be sure you are downloading not tampered packages) which apt-get will later check.

In /etc/apt/sources.list there should only be lines like:
      deb http://some.place.in.the.web/ release-name free non-free

Revision history for this message
bprockis (bsp6679) said :
#3

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
“deb http://www.getautomatix.com/apt etch main”

im using 7.04 ubuntu

Revision history for this message
Dennis Dirdjaja (dcd-ditsch) said :
#4

Please delete the last line in your sources.list. This line obviously causes the error.

Can you help with this problem?

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

To post a message you must log in.