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.

When trying to update through sudo apt-get update I am getting these errors: I am kinda new to Ubuntu so any help would be appreciated :)

W: Failed to fetch http://archive.canonical.com/quantal/dists/precise/partner/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://archive.canonical.com/quantal/dists/precise/partner/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

share|improve this question
add comment

1 Answer

You have enabled the partner repository, however clearly the above two links doesn't make any sense, since surely Quantal (12.10) can't match with Precise (12.04).

You need to change your /etc/apt/sources.list/. For example, if you are using gedit, type gksudo gedit /etc/apt/sources.list Then, change the "precise" wordings in the above link to "quantal" (without the quotes). Save the file and run sudo apt-get update again. It should work.

share|improve this answer
    
I did that but now the problem is that this is being shown on Terminal: E: Malformed line 3 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. –  Salihu May 5 '13 at 23:14
    
@Salihu can you post your /etc/apt/sources.list in the question? Thanks. –  smartboyhw May 6 '13 at 7:28
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.