Cannot update pepperflash

According to Adobe’s version control site http://www.adobe.com/de/software/flash/about/ I have pepperflash 21,0,0,216 installed but the newest version is 21.0.0.242. So I tried to update and this is what I get:

sudo update-pepperflashplugin-nonfree -iv options : -i -v -- temporary directory: /tmp/pepperflashplugin-nonfree.i7agKD3T3Q doing apt-get update on google repository cleaning up temporary directory /tmp/pepperflashplugin-nonfree.i7agKD3T3Q ... ERROR: failed to retrieve status information from google : W: Es gibt keine öffentlichen Schlüssel für die folgenden Schlüssel-IDs: 1397BC53640DB551 More information might be available at: http://wiki.debian.org/PepperFlashPlayer

Packages are current, browser-plugin-freshplayer-pepperflash is version 0.3.2-1 and pepperflashplugin-nonfree 1.7ubuntu1.

I even tried to add the key to apt database by

[code]root@panther:/home/susan# gpg --keyserver pgp.mit.edu --recv-keys 640DB551

gpg: Verzeichnis /root/.gnupg' erzeugt gpg: Neue Konfigurationsdatei/root/.gnupg/gpg.conf’ erstellt
gpg: WARNUNG: Optionen in /root/.gnupg/gpg.conf' sind während dieses Laufes noch nicht wirksam gpg: Schlüsselbund/root/.gnupg/secring.gpg’ erstellt
gpg: Schlüsselbund `/root/.gnupg/pubring.gpg’ erstellt
gpg: Schlüssel 640DB551 von hkp-Server pgp.mit.edu anfordern
gpg: /root/.gnupg/trustdb.gpg: trust-db erzeugt
gpg: Schlüssel D38B4796: Öffentlicher Schlüssel “Google Inc. (Linux Packages Signing Authority) linux-packages-keymaster@google.com” importiert
gpg: Keine uneingeschränkt vertrauenswürdigen Schlüssel gefunden
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
gpg: importiert: 1 (RSA: 1)
root@panther:/home/susan# gpg --armor --export 640DB551 | apt-key add -
OK
root@panther:/home/susan# apt-get update
[/code]

Didn’t change anything. And why is a different key D38B4796 added than 640DB551 ?

EDIT: Please try this first before the things I wrote underneath.

Download and update the gpg key signing thing for the original pepperflash updater as root with

cd ​/usr/lib/pepperflashplugin-nonfree
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub > pubkey-google.txt

After that try the normal update mechanism again.


I think the script is simply wrong.
Can you try this here a.k.a. update-pepperflash-nonfree2.sh

#!/bin/sh
# Copyright (C) 2006-2013 Bart Martens <bartm@knars.be>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
set -e
arch=`dpkg --print-architecture`
deburl=https://dl.google.com/linux/direct/google-chrome-stable_current_"$arch".deb
UNPACKDIR=`mktemp -d /tmp/pepperflashplugin-nonfree.XXXXXXXXXX`
debfile=google-chrome-stable_current_"$arch".deb
wgetoptions="$wgetoptions -O $UNPACKDIR/$debfile" # to change wget message : Saving to ...
HOME=/root wget $wgetoptions $deburl 
cd $UNPACKDIR
dpkg-deb -x $debfile unpackchrome
sofile=unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so
[ -e $sofile ] || sofile=unpackchrome/opt/google/chrome-unstable/PepperFlash/libpepflashplayer.so
[ -e $sofile ] || sofile=unpackchrome/opt/google/chrome-beta/PepperFlash/libpepflashplayer.so
[ -e $sofile ] || sofile=unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so
mv -f $sofile /usr/lib/pepperflashplugin-nonfree
chown root:root /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so
chmod 644 /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so
jsonfile=unpackchrome/opt/google/chrome/PepperFlash/manifest.json
[ -e $jsonfile ] || jsonfile=unpackchrome/opt/google/chrome-unstable/PepperFlash/manifest.json
[ -e $jsonfile ] || jsonfile=unpackchrome/opt/google/chrome-beta/PepperFlash/manifest.json
[ -e $jsonfile ] || jsonfile=unpackchrome/opt/google/chrome/PepperFlash/manifest.json
if [ -e $jsonfile ]
then
    mv -f $jsonfile /usr/lib/pepperflashplugin-nonfree
    chown root:root /usr/lib/pepperflashplugin-nonfree/manifest.json
    chmod 644 /usr/lib/pepperflashplugin-nonfree/manifest.json
fi
cd ..
rm -rf $UNPACKDIR

Just copy and save it as update-pepperflash-nonfree2.sh make the file executable

chmod +x update-pepperflash-nonfree2.sh

and execute it in terminal via sudo.

It was the edit part, thanks :slight_smile: