# Pepperflashplugin-nonfree ERROR: failed to retrieve status information from google :

**URL:** <https://www.debian-fr.org/t/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-google/68877>\
**Category:** Support Debian\
**Created:** [Mars 27, 2016, 1:55 UTC](https://www.debian-fr.org/t/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-google/68877 "2016-03-27T13:55:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hulk](https://www.debian-fr.org/user_avatar/www.debian-fr.org/hulk/32/3868_2.png) [@hulk](https://www.debian-fr.org/u/hulk)\
**Post date:** [Mars 27, 2016, 1:55 UTC](https://www.debian-fr.org/t/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-google/68877/1 "2016-03-27T13:55:20Z")

</div>

suite a une tentative de mise a jour du plugin flash j’ai obtenus cette erreur.

```auto
update-pepperflashplugin-nonfree --install
ERROR: failed to retrieve status information from google : W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
More information might be available at:
  http://wiki.debian.org/PepperFlashPlayer
```

apparemment un problème de signature de deb , en fouillant un peut dans le script /usr/sbin/update-pepperflashplugin-nonfree

j’en est fait une petit scripte qui résous mon problème, en téléchargent le deb non pas du dépôt mais du liens directe fourni a la page de téléchargement chrome de google.  
**update-pepperflashplugin-nonfree2**

```auto
#!/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
```

ya plus qu’a lancer, en root!

```auto
sh update-pepperflashplugin-nonfree2
```

---

<div class="post-metadata">

**Author:** ![GOGI](https://www.debian-fr.org/user_avatar/www.debian-fr.org/gogi/32/3836_2.png) [@GOGI](https://www.debian-fr.org/u/GOGI)\
**Post date:** [Mars 27, 2016, 2:02 UTC](https://www.debian-fr.org/t/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-google/68877/2 "2016-03-27T14:02:54Z")

</div>

C’est lié à la récente évolution du minimum d’encryptage requis pour les paquets, le SHA1 a été deprecié mais Google n’a pas encore “évolué”…

Par contre pourquoi récupères-tu aussi le fichier manifest.json?

---

<div class="post-metadata">

**Author:** ![hulk](https://www.debian-fr.org/user_avatar/www.debian-fr.org/hulk/32/3868_2.png) [@hulk](https://www.debian-fr.org/u/hulk)\
**Post date:** [Mars 27, 2016, 6:15 UTC](https://www.debian-fr.org/t/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-google/68877/3 "2016-03-27T18:15:53Z")

</div>

pour le manifest.json je me suis baser sur ce qu’il étais fait dans le scripte update-pepperflashplugin-nonfree du paquet sid de pepperflashplugin-nonfree.  
n’étant pas un spécialiste de flash j’ai préférais faire comme dans l’original.  
mais cela n’est peut être pas utile.

---

<div class="post-metadata">

**Author:** ![GOGI](https://www.debian-fr.org/user_avatar/www.debian-fr.org/gogi/32/3836_2.png) [@GOGI](https://www.debian-fr.org/u/GOGI)\
**Post date:** [Mars 27, 2016, 6:39 UTC](https://www.debian-fr.org/t/pepperflashplugin-nonfree-error-failed-to-retrieve-status-information-from-google/68877/4 "2016-03-27T18:39:15Z")

</div>

tiens c’est vrai, je n’avais jamais été voir dans le script mais effectivement il récupère egalement le fichier .json…

Mais c’est curieux parce que chez moi je n’ai jamais eu le fichier .json dans le répertoire, uniquement [libpepflash.so](http://libpepflash.so), bizarre… Bon sinon ça marche très bien aussi sans, moi ce que je fais au lieu de passer par un script je récupère le paquet chrome à la main, je déballe et je fais un copier-coller dans /usr/lib/pepperflashplugin-nonfree à la main quand il y a une nouvelle version.  
En mode provisoire ça marche bien pour l’instant.
