Package: pepperflashplugin-nonfree
Version: 1.8.3
Severity: important

update-pepperflashplugin-nonfree fails with the following error:

# LC_ALL=C update-pepperflashplugin-nonfree --install --verbose
options :  --install --verbose --
temporary directory: /tmp/pepperflashplugin-nonfree.5tYMb1A6YS
gpg: keybox '/tmp/pepperflashplugin-nonfree.5tYMb1A6YS/etc/apt/pubring.kbx' created gpg: /tmp/pepperflashplugin-nonfree.5tYMb1A6YS/etc/apt/trustdb.gpg: trustdb created gpg: key A040830F7FAC5991: public key "Google, Inc. Linux Package Signing Key <linux-packages-keymas...@google.com>" imported gpg: key 7721F63BD38B4796: public key "Google Inc. (Linux Packages Signing Authority) <linux-packages-keymas...@google.com>" imported
gpg: Total number processed: 2
gpg:               imported: 2
gpg: no ultimately trusted keys found
doing apt-get update on google repository
WARNING: W: GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991 NO_PUBKEY 1397BC53640DB551 W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed. downloading http://people.debian.org/~bartm/pepperflashplugin-nonfree/latest-stable-verified.txt
selected action = --install
end of action --install
cleaning up temporary directory /tmp/pepperflashplugin-nonfree.5tYMb1A6YS ...
end of update-pepperflashplugin-nonfree

I looked at the code and I'm puzzled with the following line:

gpg --no-permission-warning --homedir "etc/apt" --import /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt

How it is supposed to work ? Getting GPG to import a key doesn't make APT trust it. So I replaced it with:

[ "$verbose" != "yes" ] || echo "adding google key to apt trust db"
stdouterr=`APT_CONFIG=apt.conf apt-key add /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt 2>&1 || true`

and that got pepperflash to install properly, so maybe it's the fix ?

Reply via email to