torsdag 14 november 2013

Fixing strange apt-get update error in xubuntu


I got this strange error when trying to do apt-get update on my xubuntu:

W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/Release Unable to find expected entry 'universedeb/source/Sources' in Release file (Wrong sources.list entry or malformed file)


Or in swedish:
Hämtade 13,0 kB på 17s (750 B/s)
W: Misslyckades med att hämta http://archive.ubuntu.com/ubuntu/dists/saucy/Release  Kunde inte hitta förväntad post "universedeb/source/Sources" i Release-filen (Felaktig post i sources.list eller felformulerad fil)

E: Några indexfiler gick inte att hämta. De kommer att ignoreras eller så används de gamla istället.

So after searching the web: i got the idea to inactivate random repositories in my /etc/apt/sources.list file.

I found that by deactivating part of this section this :
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu saucy universe
deb-src http://archive.ubuntu.com/ubuntu saucy universedeb http://se.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://archive.ubuntu.com/ubuntu saucy-updates universe


by commenting (putting # before)
deb-src http://se.archive.ubuntu.com/ubuntu/ saucy universedeb http://se.archive.ubuntu.com/ubuntu/ saucy-updates universe
The problem disappeared.

Still dont krow what's behind the strange error.. but now I can at least use my computer as normal.