0

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?

  • 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 http://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
  • The answer by Steven Myers is right. Did you follow correctly the instructions here https://software.opensuse.org/download.html?project=home:colomboem&package=dukto – Thanos Apostolou Jun 12 '16 at 23:24

1 Answers1

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
  • -rw-rw-r-- 1 root root 3276 Jun 13 04:24 sources.list. Do I need to change any permissions? – Sandeep Chatterjee Jun 12 '16 at 23:50
  • Ah ok. Sudo into the location using your terminal. I.E: sudo gedit location/of/sources.list - then make your changes and be sure to save the file. Let us know the results of this. – Steven Myers Jun 12 '16 at 23:53
  • 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 00:00
  • Don't just post a link as an answer. That isn't helpful if the link ever disappears. If the link is an askubuntu one then flag the question as a duplicate. – Seth Jun 16 '16 at 01:01