Problem with Software Center using Ubuntu 12.10

Asked by Douglas Facey on 2012-10-25

I am having problem with Service center and I am at a lost on what to do. I have installed service center because it kept crashing because of an error say:

E: Malformed line 4 in source list /etc/apt/source.list (dist parse)
E: the list of source could not be read

In the terminal, I ran gksu gedit /etc/apt/sources.list and got the following results:

deb quantal main restricted universe multiverse
deb quantal-security main restricted universe multiverse
deb quantal-updates main restricted universe multiverse
deb partner
deb-src partner
deb quantal partner
deb-src quantal partner

I am not sure what is line 4 is wrong, can someone please help me. I am new to Linux and have been trying to learn it for few days.


Question information

English Edit question
Ubuntu apt Edit question
No assignee Edit question
Solved by:
Douglas Facey
Last query:
Last reply:
Subin Hutton (djlynux) said : #1

Please attach your source.list.


gksudo gedit /etc/apt/sources.list

delete these 2 lines:

deb partner
deb-src partner

Not only do you not have the word 'quantal' on the line, you also ALREADY have 2 lines defining the partner repo correctly, so they are not needed.

Douglas Facey (dfacey7) said : #3

The problem was solved by typing the word pricise in front of the word partner:

deb percise partner
deb-src percise partner

Thanks for you all help. This is a great spot to find answers!! I will be here looking for help and adding what I ahve leraned.