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.

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 6 in source list /etc/apt/sources.list (dist parse)' 

This has happened when I tried to install skype through terminal command. Please help me as I am just learning ubuntu 12.4LTS

Below I have pasted the sources.list content

# /etc/apt/sources.list Note -: I removed 2 obliq lines after colon below as was giving error while posting question

 deb http:archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
 deb http:security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
 deb http:archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
 deb http:archive.canonical.com/ patner
 deb-src http:archive.canonical.com/ patner
 deb http:archive.canonical.com/ precise patner
 deb-src http:archive.canonical.com/ precise patner

share|improve this question
    
Can you add the output of cat -n /etc/apt/sources.list in your question, so we can see what needs correction. –  Mitch Jul 29 '13 at 17:26
    
cat -n /etc/apt/sources.list 1 # /etc/apt/sources.list 2 3 deb archive.ubuntu.com/ubuntu precise main restricted universe multiverse 4 deb security.ubuntu.com/ubuntu precise-security main restricted universe multiverse 5 deb archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse 6 deb archive.canonical.com patner 7 deb-src archive.canonical.com patner 8 deb archive.canonical.com precise patner 9 deb-src archive.canonical.com precise patner –  Shailendra Tendulkar Jul 30 '13 at 13:16
    
Hi mitch thanks for your prompt response as per your request i have pasted the output of above cat comand for your reference. Please do the needful asap as I am not able to view show updates as it flashes the error thanks shailendra –  Shailendra Tendulkar Jul 30 '13 at 13:19
    
Try to comment line 6 # deb http:archive.canonical.com/ precise patner Also make sure you fix the word partner. –  Mitch Jul 30 '13 at 13:53
    
As per informed by mitch the changes have been done and have been saved in the same file sources.list –  Shailendra Tendulkar Jul 30 '13 at 17:06
show 8 more comments

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.