1

Whenever I put in the command

sudo apt-get update

It returns:

Ign http://security.ubuntu.com vivid-security InRelease
Ign http://us.archive.ubuntu.com vivid InRelease
Get:1 http://security.ubuntu.com vivid-security Release.gpg [933 B]
Ign http://us.archive.ubuntu.com vivid-updates InRelease                       
Ign http://archive.canonical.com vivid InRelease                     
Get:2 http://security.ubuntu.com vivid-security Release [63.5 kB]    
Ign http://us.archive.ubuntu.com vivid-backports InRelease                 
Ign http://archive.canonical.com vivid InRelease                           
Hit http://us.archive.ubuntu.com vivid Release.gpg       
Get:3 http://us.archive.ubuntu.com vivid-updates Release.gpg [933 B]
Hit http://archive.canonical.com vivid Release.gpg
Hit http://us.archive.ubuntu.com vivid-backports Release.gpg             
Get:4 http://security.ubuntu.com vivid-security/main Sources [26.4 kB]
Hit http://archive.canonical.com vivid Release.gpg                             
Hit http://us.archive.ubuntu.com vivid Release                                 
Get:5 http://security.ubuntu.com vivid-security/restricted Sources [28 B]      
Get:6 http://us.archive.ubuntu.com vivid-updates Release [63.5 kB]             
Hit http://archive.canonical.com vivid Release                              
Get:7 http://security.ubuntu.com vivid-security/universe Sources [12.3 kB]     
Hit http://archive.canonical.com vivid Release                                 
Hit http://us.archive.ubuntu.com vivid-backports Release  
Get:8 http://us.archive.ubuntu.com vivid-updates/main Sources [59.1 kB]
Get:9 http://us.archive.ubuntu.com vivid-updates/restricted Sources [28 B]
Get:10 http://us.archive.ubuntu.com vivid-updates/universe Sources [26.7 kB]
Hit http://us.archive.ubuntu.com vivid-backports/main Sources
Hit http://us.archive.ubuntu.com vivid-backports/restricted Sources
Hit http://us.archive.ubuntu.com vivid/main Sources
Hit http://us.archive.ubuntu.com vivid/restricted Sources
Hit http://us.archive.ubuntu.com vivid/universe Sources
Hit http://us.archive.ubuntu.com vivid-backports/universe Sources
Fetched 253 kB in 4s (62.5 kB/s)        
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/vivid-security/Release  Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid/Release  Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid-updates/Release  Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/vivid/Release  Unable to find expected entry 'partner/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/vivid-backports/Release  Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://archive.canonical.com/dists/vivid/Release  Unable to find expected entry 'partner/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

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

Please help. I've been trying to install skype for a very long time and I've tried countless fixes.

UPDATE: I can't install steam because of this either.

Nathan
  • 11
  • 3

1 Answers1

-2

I had sometimes the same issue. I guess you can not install anything right? I fixed it with 2 solutions.

First try better mirror for updates.

Finding fastest mirror from the graphical mode is very easy. All you to do is open Synaptic package Manager, go to Settings -> Repositories. From the Ubuntu Software section, Select “Other” in the “Download From” drop-down box, and click on Select Best Mirror.

Source

And second remove any ppa that is not working.

Remove a PPA using a GUI: A PPA can also be removed by opening Software Sources (Ubuntu Software Center > Edit > Software Sources), then going to the "Other Software" tab, selecting the PPA you want to remove and then clicking the "Remove" button.

Each PPA should have two lines here, one for the compiled packages and one for the source, so remove both lines.

Source

One of these may help you.

  • Although your post may answer your question it is suggested to put the essential information from the links in your post rather than just the links. – Ron Jul 10 '15 at 06:49
  • I couldn't install Synaptic package manager because of the pre-existing problem and after removing all ppa it still gives me the same errors. – Nathan Jul 10 '15 at 06:49
  • You have a malformed line in your sources file. See http://askubuntu.com/questions/78951/how-do-i-remove-a-malformed-line-from-my-sources-list – Ron Jul 10 '15 at 06:50
  • My fault, sorry! Edited – trelozakinthinos Jul 10 '15 at 08:48
  • I didn't see this solution in time but when I woke up I tried a fresh install and it seems to be working fine now. Thanks for all your help! – Nathan Jul 10 '15 at 19:00