1

Running on 13.10 and trying to make a release upgrade but getting this:

W:Failed to fetch 
http://extras.ubuntu.com/ubuntu/dists/trusty/Release Unable to find 
expected entry 'main/binary-ia386/Packages' in Release file (Wrong 
sources.list entry or malformed file) 
, W:Failed to fetch 
http://archive.canonical.com/ubuntu/dists/trusty/Release Unable to 
find expected entry 'partner/binary-ia386/Packages' in Release file 
(Wrong sources.list entry or malformed file) 
, W:Failed to fetch 
http://security.ubuntu.com/ubuntu/dists/trusty-security/Release 
Unable to find expected entry 'main/binary-ia386/Packages' in Release 
file (Wrong sources.list entry or malformed file) 
, W:Failed to fetch 
http://us.archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to 
find expected entry 'main/binary-ia386/Packages' in Release file 
(Wrong sources.list entry or malformed file) 

Any hints how to resolve it ?

halfred
  • 113
  • 1
    binary-ia386? There is no such architecture. Did you do something odd to your system? Try grep -rH ia386 /etc – bain May 08 '14 at 18:28
  • there is ia but I don't know why it doesn't show up. – halfred May 08 '14 at 18:36
  • Did the grep turn up anything? What is the output of dpkg --print-architecture? – bain May 08 '14 at 18:40
  • it shows up as i386 but why is it when do-release-upgrade changed to ia386 ? – halfred May 08 '14 at 18:44
  • And the grep command? – bain May 08 '14 at 18:45
  • Nothing shows up when grepping /etc for ia386, all ppa's where purged and the sources.list was replaced with the default one. – halfred May 09 '14 at 10:06
  • Can you post the output of apt-config dump – bain May 09 '14 at 11:26
  • Also dpkg -l|grep ia386 – bain May 09 '14 at 11:29
  • So in apt-config dump I can see ia386 shows up APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Archives::MinAge "2"; APT::Archives::MaxSize "500"; APT::Changelogs ""; APT::Changelogs::Server "http://changelogs.ubuntu.com/changelogs"; APT::Architectures ""; APT::Architectures:: "i386"; APT::Architectures:: "ia386"; – halfred May 10 '14 at 11:04
  • and dpk -l|grep ia386 brings no output – halfred May 10 '14 at 11:11
  • Try dpkg --remove-architecture ia386 – bain May 10 '14 at 11:15

1 Answers1

0

Try using these commands in terminal:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Or change your server in system preferences > software & updates and then choose "download from:".

check if your updates are checked in updates tab (in software & updates) and check: Important security updates, Recommended updates and unsupported updates (check Pre-release updates if you want).

If there's a problem, post it.

Hope this helps!

  • Thanks for hint, but I still doesn't work because of the same error. http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/saucy/Release Unable to find expected entry 'main/binary-ia386/Packages' in Release file (Wrong sources.list entry or malformed file) I have tried to change servers - doesn't work. Tried to change nameservers in resolv.conf - no success. – halfred May 08 '14 at 18:10
  • Maybe in your proxy settings? –  May 08 '14 at 18:13
  • Maybe this site can help you: http://askubuntu.com/questions/298177/a-failed-to-fetch-error-occurs-when-apt-get-update-is-run-how-do-i-fix-this –  May 08 '14 at 18:16
  • The error in the comment is different. BTW, it is highly advisable to purge all PPAs before doing an upgrade. – Rmano May 08 '14 at 18:18
  • Couldn't it be because on the repo my architecture is missing ? Architectures: amd64 arm64 armhf i386 powerpc – halfred May 08 '14 at 18:26