0

This question already has an answer here:

When I do a sudo apt-get update, I encounter the following:

Fetched 189 B in 10s (18 B/s)                                                  
W: There is no public key available for the following key IDs:
1397BC53640DB551
W: GPG error: http://download.opensuse.org ./ Release: The following signatures were invalid: KEYEXPIRED 1436387333
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/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.

What would be a good/recommended way to fix this?

marked as duplicate by Seth Jun 16 '16 at 1:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    The error W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) is there because chrome is not supported for 32 bit systems anymore. So, remove the ppa and chrome and use chromium instead because chrome will be outdated and dangerous (keep in mind you won't have flash since pepper flash is downloaded from google and can only work for 64bit systems nowadays). – Thanos Apostolou Jun 12 '16 at 22:41
  • I removed Google Chrome using sudo apt-get purge google-chrome-stable and rm ~/.config/google-chrome/ -rf and ran sudo apt-get update again. That message is still there. – Sandeep Chatterjee Jun 12 '16 at 22:50
  • You need to remove the ppa also from Software & Updates – Thanos Apostolou Jun 12 '16 at 22:51
  • I removed it from there. Now, the message reduces to: W: GPG error: http://download.opensuse.org ./ Release: The following signatures ... were invalid: KEYEXPIRED 1436387333 – Sandeep Chatterjee Jun 12 '16 at 22:57
  • Possibly some other ppa problem. Can you provide 2 links at your question using imgur.com , one with a screenshot of Other Software tab and a second with a screenshot of Authentication tab from Software & Updates? – Thanos Apostolou Jun 12 '16 at 23:02
2

Because the error was reduced based on the OP's previous response -- the following link should help: https://askubuntu.com/a/650051/382121 - Let us know if this resolves your issue Sandeep Chatterjee

  • 1
    I find two occurences of opensuse in my sources.list file. deb http://download.opensuse.org/repositories/home:/sarimkhan/xUbuntu_14.04/ ./ and # deb-src http://download.opensuse.org/repositories/home:/sarimkhan/xUbuntu_14.04/ ./ I am assuming the first occurence needs to be commented. However, it is not allowing me to save the file. – Sandeep Chatterjee Jun 12 '16 at 23:37
  • Just curious, have you sudo sources.list to open the file for editing? In this case it's possible the location the file sits in is not editable for normal permissions. – Steven Myers Jun 12 '16 at 23:41
  • No, I opened the file using Atom editor. The location of sources.list is /etc/apt – Sandeep Chatterjee Jun 12 '16 at 23:45
  • 1
    This is what I did. sudo vi /etc/apt/sources.list and then in INSERT mode commented the line http://download.opensuse.org/repositories/home:/sarimkhan/xUbuntu_14.04/ ./ and saved the file. Ran sudo apt-get update again without any errors. Answer accepted :) – Sandeep Chatterjee Jun 12 '16 at 23:59
  • 1
    Excellent news Sandeep! Glad your issue is resolved my friend. Let us know if we can do anything else for you :) – Steven Myers Jun 13 '16 at 0:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.