View Full Version : [ubuntu] Cannot install downloaded programs -malformed source list
seantm
January 29th, 2009, 07:56 AM
Hi all, I realize there are some variations of similar problems in the forums here but i've tried the soluitons offered without luck.
am running an I. Ibex install and am unable to install anything uisng synaptic or cmd line. when I try I get:
E: Malformed line 55 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
can anyone please advise how to resolve this? thanks in advance! ;)
scragar
January 29th, 2009, 08:00 AM
cp /etc/apt/sources.list ~/Desktop/sources.list
Please upload a copy of your sources list.
hyper_ch
January 29th, 2009, 08:32 AM
you could use the tool in my sig to create a new sources.list
jrusso2
January 29th, 2009, 08:48 AM
Why change the whole sources.list when only one line is bad? Just fix it. But you might have some extra repos that are nice on yours?
seantm
January 29th, 2009, 09:00 AM
Thanks --forgive the noobishness--but how to edit or fix the one line?
jrusso2
January 29th, 2009, 09:08 AM
It would help to see your list if you can post it. The instructions were given earlier in the thread.
The problem seems to be in line 55. Probably added a repo and didn't use the right format. It should look like the other lines are far as where things are.
Always back up your sources.list either put a copy in another location like your /home or rename a copy and leave it in the same directory . Like sources.listbak Which is what I do so that I can just go in and rename it if I want to use the old one.
Boomhauer
January 29th, 2009, 09:12 AM
you can easily get your list if you go to a terminal, applications>accessories>terminal, and enter in
cat /etc/apt/sources.list then copy and paste everything that is returned here.
seantm
January 29th, 2009, 09:25 AM
deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe
deb http://security.ubuntu.com/ubuntu intrepid-security restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security restricted main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu intrepid
# deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
ahill@ahill-laptop:~$
scragar
January 29th, 2009, 09:37 AM
Grr, this is why I wanted the file uploaded, instead of half a list.
cat /etc/apt/sources.list | head -n 60 | tail -n 10
And please use the forums
... tags.
seantm
January 29th, 2009, 09:52 AM
Ok --thanks for your patience---
Grr, this is why I wanted the file uploaded, instead of half a list.
cat /etc/apt/sources.list | head -n 60 | tail -n 10And please use the forums
... tags.
ahill@ahill-laptop:~$ cat /etc/apt/sources.list | head -n 60 | tail -n 10
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe
deb http://security.ubuntu.com/ubuntu intrepid-security restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security restricted main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu intrepid
# deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
ahill@ahill-laptop:~$ cat /etc/apt/sources.list | head -n 60 | tail -n 10
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe
deb http://security.ubuntu.com/ubuntu intrepid-security restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security restricted main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu intrepid
# deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
ahill@ahill-laptop:~$
scragar
January 29th, 2009, 09:59 AM
I'm assuming:
deb http://us.archive.ubuntu.com/ubuntu intrepid
is line 55, right?
No matter what that line was supposed to read I don't think it works at all.
gksu gedit /etc/apt/sources.list
Remove the line.
zvacet
January 29th, 2009, 10:13 AM
I may be wrong but
deb http://us.archive.ubuntu.com/ubuntu intrepid
looks wrong because it doesn't point to anything.
seantm
January 29th, 2009, 10:24 AM
That was it! I edited it out and it's all working now... thnaks everyone for your time and patience...
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.