Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Software centre doesn't even open. When I want to Update software i get these errors:

An unresolvable problem occurred while initializing the package information.
Could not initialize the package information  
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the  
following error message:

E:Malformed line 60 in source list /etc/apt/sources.list (dist parse)

Same thing in Terminal @ubuntu:~$ sudo apt-get update

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

What to do?

share|improve this question
add comment

2 Answers

Try this

sudo apt-get clean
sudo apt-get update
sudo dpkg --configure -a
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo apt-get update -o Acquire::http::No-Cache=True
sudo apt-get clean
share|improve this answer
    
Could you explain this a little better? What does this do and why perhaps? –  Seth Jan 10 '13 at 19:57
    
Thank you a lot. :) –  Sasa Jan 25 '13 at 12:54
add comment

This is the important part: E:Malformed line 60 in source list /etc/apt/sources.list (dist parse)

Open /etc/apt/sources.list with your favorite editor and take a look at line 60. It will be different than lines above and below (if any). Edit the line to the correct format and then try again.

Example from command line:

sudo gedit /etc/apt/sources.list

This will open something like this ...

enter image description here

All the lines need to be formatted the same. Lines with a # in front are considered comments (ie. turned off).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.