Why is it that when i am trying to update my linux i am gettin this error?

Asked by rojo2000r

if i update it through the package manager, i get this error:

Could not download all repository indexes The repository might be no longer available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and the correct writing of the repository address in the preferences. DEBIAN

if i do it through command line, i get this error:

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

can someone please help me?

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
rojo2000r
Solved:
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

you have a typo in your sources.list file -- Can you please post it here?

To do so, open gedit, then open /etc/apt/sources.list, then cut and paste the entire contents of the sources.list file back here.

I suspect that you have mistyped, or put a space in the wrong spot for the keyword "deb" which follows the URL.

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

here you go Mycae. thanks for you help

deb http://packages.linuxmint.com/ katya main upstream import
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://extras.ubuntu.com/ubuntu natty main
deb http://packages.medibuntu.org/ natty free non-free

# deb http://archive.getdeb.net/ubuntu natty-getdeb apps
# deb http://archive.getdeb.net/ubuntu natty-getdeb games
deb http://download.virtualbox.org/virtualbox/debian maverick contrib
deb-src http://download.virtualbox.org/virtualbox/debian maverick contrib

deb http://mirrors.kernel.org/debian/ squeeze main non-free
deb-src http://mirrors.kernel.org/debian/ squeeze main non-free

eb http://security.debian.org/ squeeze/updates main non-free
deb-src http://security.debian.org/ squeeze/updates main non-free

Revision history for this message
daemox (daemox) said :
#3

"eb http://security.debian.org/ squeeze/updates main non-free"

There is a typo at the start of this line, it should read "deb" not "eb".

Revision history for this message
rojo2000r (rojo2000r) said :
#4

Daemox, and how do i fix this? i tried to edit this file when i pulled out, i couldn't. what i did is that i opened it with a text file and pasted it here. so i guess my question is, how can i edit this file? i am new with linux....

thanks

Revision history for this message
daemox (daemox) said :
#5

Hey Rojo,

If you go into "Settings" in Ubuntu's Update Manager then click on the Other Software tab, there will be a list here of all your sources above, find the one with the missing "d" and edit it to correct it, save and you should be golden (though I'm honestly not clear on why you're running Debian sources under Ubuntu).

Best of luck,

Revision history for this message
rojo2000r (rojo2000r) said :
#6

guys, it is solved. i just had edit the typo, and it was solved. thanks for all your help!