Junyeon Julian Weon
Junyeon Julian Weon

Reputation: 111

Updating Ubuntu packages fails to fetch

I'm trying to get my ubuntu(14.04LTS) updated, and I failed with this message:

W: Failed to fetch this Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)

I'm quite sure this should be i386, not 1386, but I have no idea how to fix this ridiculous error.

How should I handle this situation?

Upvotes: 0

Views: 193

Answers (1)

Dan King
Dan King

Reputation: 1100

Edit the arch file located here:

vi /var/lib/dpkg/arch

There will be an entry 1386, it should either be removed or changed to i386 depending on the architecture of your system and the other entries within the file.

Upvotes: 1

Related Questions