error in update manager

i got this error from my terminal that i try to Install Updates of my os linux mint mate 17.2 of 32 bit.

rami@rami-System-Product-Name ~ $ sudo apt-get update
[sudo] password for rami:
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://dl.google.com stable InRelease
Get:1 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB]
Hit http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Ign http://extra.linuxmint.com rafaela InRelease
Hit http://archive.canonical.com trusty Release
Ign http://packages.linuxmint.com rafaela InRelease
Get:2 http://archive.canonical.com trusty/partner i386 Packages [6,301 B]
Hit http://dl.google.com stable Release
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.1 kB]
Hit http://archive.canonical.com trusty/partner Translation-en
Hit http://dl.google.com stable/main i386 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://extra.linuxmint.com rafaela Release.gpg
Hit http://packages.linuxmint.com rafaela Release.gpg
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
Get:4 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://extra.linuxmint.com rafaela Release
Get:5 http://ppa.launchpad.net trusty/main Translation-en [7,060 B]
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://packages.linuxmint.com rafaela Release
Hit http://ppa.launchpad.net trusty Release
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Get:6 http://archive.ubuntu.com trusty Release [11.9 kB]
Hit http://ppa.launchpad.net trusty/main Sources
Ign http://archive.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://archive.ubuntu.com trusty/main i386 Packages/DiffIndex
Ign http://archive.ubuntu.com trusty/restricted i386 Packages/DiffIndex
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://extra.linuxmint.com rafaela/main i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign http://archive.ubuntu.com trusty/universe i386 Packages/DiffIndex
Hit http://packages.linuxmint.com rafaela/main i386 Packages
Ign http://archive.ubuntu.com trusty/multiverse i386 Packages/DiffIndex
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Get:7 http://packages.linuxmint.com rafaela/upstream i386 Packages [39.1 kB]
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://archive.ubuntu.com trusty/main Translation-en
Ign http://dl.google.com stable/main Translation-he_IL
Hit http://packages.linuxmint.com rafaela/import i386 Packages
Ign http://dl.google.com stable/main Translation-he
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-he
Get:8 http://archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Hit http://archive.ubuntu.com trusty/restricted Translation-he
Get:9 http://archive.ubuntu.com trusty/restricted Translation-en [3,457 B]
Hit http://archive.ubuntu.com trusty/universe Translation-he
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:10 http://archive.ubuntu.com trusty/main i386 Packages [14 B]
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Ign http://extra.linuxmint.com rafaela/main Translation-he_IL
Ign http://archive.ubuntu.com trusty/main Translation-he_IL
Ign http://archive.ubuntu.com trusty/main Translation-he
Ign http://archive.ubuntu.com trusty/multiverse Translation-he_IL
Ign http://extra.linuxmint.com rafaela/main Translation-he
Ign http://archive.ubuntu.com trusty/restricted Translation-he_IL
Ign http://archive.ubuntu.com trusty/universe Translation-he_IL
Ign http://extra.linuxmint.com rafaela/main Translation-en
Ign http://packages.linuxmint.com rafaela/import Translation-he_IL
Ign http://packages.linuxmint.com rafaela/import Translation-he
Ign http://packages.linuxmint.com rafaela/import Translation-en
Ign http://packages.linuxmint.com rafaela/main Translation-he_IL
Ign http://packages.linuxmint.com rafaela/main Translation-he
Ign http://packages.linuxmint.com rafaela/main Translation-en
Ign http://packages.linuxmint.com rafaela/upstream Translation-he_IL
Ign http://packages.linuxmint.com rafaela/upstream Translation-he
Ign http://packages.linuxmint.com rafaela/upstream Translation-en
Fetched 261 kB in 10s (24.0 kB/s)
Reading package lists… Done
W: GPG error: http://archive.ubuntu.com trusty Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key [email protected]
rami@rami-System-Product-Name ~ $

so how to fix this problem? , thanks.

&

I am for peace

If you run:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5

do you still get the error when you now run:

sudo apt-get update

?

error again

rami@rami-System-Product-Name ~ $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
[sudo] password for rami:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.q73ZvHCGhT --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/steam.gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: “Ubuntu Archive Automatic Signing Key [email protected]” 27 new signatures
gpg: Total number processed: 1
gpg: new signatures: 27
rami@rami-System-Product-Name ~ $ sudo apt-get update
Hit http://repo.steampowered.com precise InRelease
Hit http://repo.steampowered.com precise/steam Sources
Hit http://repo.steampowered.com precise/steam amd64 Packages
Ign http://dl.google.com stable InRelease
Hit http://repo.steampowered.com precise/steam i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Get:1 http://archive.canonical.com trusty Release.gpg [933 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:2 http://archive.canonical.com trusty Release [9,359 B]
Hit http://dl.google.com stable Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB]
Hit http://ppa.launchpad.net trusty InRelease
Get:4 http://archive.canonical.com trusty/partner i386 Packages [6,301 B]
Get:5 http://archive.canonical.com trusty/partner Translation-en [4,588 B]
Get:6 http://archive.ubuntu.com trusty Release.gpg [72 B]
Hit http://dl.google.com stable Release
Ign http://extra.linuxmint.com rafaela InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Get:7 http://extra.linuxmint.com rafaela Release.gpg [198 B]
Ign http://packages.linuxmint.com rafaela InRelease
Get:8 http://extra.linuxmint.com rafaela Release [3,212 B]
Get:9 http://archive.ubuntu.com trusty-updates/main i386 Packages [615 kB]
Hit http://dl.google.com stable/main i386 Packages
Get:10 http://extra.linuxmint.com rafaela/main i386 Packages [8,049 B]
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty/main Sources
Get:11 http://packages.linuxmint.com rafaela Release.gpg [198 B]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:12 http://packages.linuxmint.com rafaela Release [24.2 kB]
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://ppa.launchpad.net trusty Release
Get:13 http://packages.linuxmint.com rafaela/main i386 Packages [32.8 kB]
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:14 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.1 kB]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Ign http://dl.google.com stable/main Translation-he_IL
Get:15 http://packages.linuxmint.com rafaela/upstream i386 Packages [39.1 kB]
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
Get:16 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Ign http://dl.google.com stable/main Translation-he
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Get:17 http://packages.linuxmint.com rafaela/import i386 Packages [302 kB]
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Get:18 http://archive.ubuntu.com trusty Release [11.9 kB]
Get:19 http://archive.ubuntu.com trusty/main i386 Packages [14 B]
Ign http://extra.linuxmint.com rafaela/main Translation-he_IL
Ign http://extra.linuxmint.com rafaela/main Translation-he
Ign http://extra.linuxmint.com rafaela/main Translation-en
Ign http://repo.steampowered.com precise/steam Translation-he_IL
Ign http://repo.steampowered.com precise/steam Translation-he
Ign http://repo.steampowered.com precise/steam Translation-en
Ign http://packages.linuxmint.com rafaela/import Translation-he_IL
Ign http://packages.linuxmint.com rafaela/import Translation-he
Ign http://packages.linuxmint.com rafaela/import Translation-en
Ign http://packages.linuxmint.com rafaela/main Translation-he_IL
Ign http://packages.linuxmint.com rafaela/main Translation-he
Ign http://packages.linuxmint.com rafaela/main Translation-en
Ign http://packages.linuxmint.com rafaela/upstream Translation-he_IL
Ign http://packages.linuxmint.com rafaela/upstream Translation-he
Ign http://packages.linuxmint.com rafaela/upstream Translation-en
Fetched 1,150 kB in 20s (55.8 kB/s)
W: Failure to bring http://archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry ‘restricted/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.
rami@rami-System-Product-Name ~ $

OK, try this:

sudo mv -v /var/lib/apt/lists /var/lib/apt/lists.old

then

sudo mkdir -p /var/lib/apt/lists/partial

then

sudo apt-get clean

then

sudo apt-get update

any errors this time ?

(if there are errors, you don’t have to post the entire output … just the last 10 lines or so, that contain the error

Meanwhile, no error
if it’s back
i write here

Okay :slight_smile:

I think later to install os of linux of kubuntu 64 bit