Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 5270  / 3 Years ago, sat, june 12, 2021, 4:48:51

How can I fix this? I can't update anything at all.



I've tried to switch to my best server in the options.



When I do sudo apt-get update, this is what I get:




W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/quantal/Release Unable to find
expected entry 'universe/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.*




When I do sudo apt-get upgrade, I get this:




Reading package lists... Done



Building dependency tree



Reading state information... Done



0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.




the contents of my source.list:




deb http://ubuntu.mirror.rafal.ca/ubuntu/ quantal universe restricted main




....update: when I update, it looks for 'universe/binary-1386/Packages'



however, if I go to: ubuntu.mirror.rafal.ca/ubuntu/dists/quantal/Release with Google Chrome, I see that the file is actually named "universe/binary-i386/Packages" (it's with an i, not a 1) . how can I fix this and make it expect the proper package?


More From » apt

 Answers
5

It sounds like you've run dpkg --add-architecture 1386 at some point. If dpkg --print-foreign-architectures shows 1386, running dpkg --remove-architecture 1386 should fix the problem.


[#32685] Sunday, June 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
defendle

Total Points: 219
Total Questions: 131
Total Answers: 112

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
;