Package: pepperflashplugin-nonfree

Version: 1.8.1

 

Greetings Bart,

 

First, thank you for your work maintaining this package. We appreciate it!

 

I came across a failure of update-pepperflashplugin-nonfree that is quite
odd. It might be a bug, or maybe I am doing something wrong. There's
something really baffling for me about it, keep reading to find out.

 

First, the command update-pepperflashplugin-nonfree works perfectly from the
terminal in all machines here. That being said, I created the bash script
"UpdatePepperFlash" (has been chmod +x) as follows:

 

#!/bin/bash

update-pepperflashplugin-nonfree --install --verbose

exit 0

 

The script above is triggered by a .desktop launcher, as follows:

 

[Desktop Entry]

Encoding=UTF-8

Name=Update PepperFlash

Comment= Update PepperFlash

Exec=/usr/bin/gksudo /usr/local/bin/UpdatePepperFlash

Terminal=true

Type=Application

Icon=applications-system

Categories=System;

 

However, the script above fails in all machines here (32 and 64) with Debian
Jessie 8.2. Always (it is easily replicated), the script stops on the
terminal  on something like this:

 

options :  --install --verbose --

temporary directory: /tmp/pepperflashplugin-nonfree.4Vfd5MLrcQ

doing apt-get update on google repository

downloading
http://people.debian.org/~bartm/pepperflashplugin-nonfree/latest-stable-veri
fied.txt

selected action = --install

 

After that it halts and does nothing else. Now, here comes the baffling
part:

 

I discovered that if I redirect the output of that command to a log, THE
SCRIPT WORKS PERFECTLY. The following changed script works when triggered by
the same .desktop launcher:

 

#!/bin/bash

update-pepperflashplugin-nonfree --install -verbose >>
/var/log/apt/updatepepper.log 2>&1

exit 0

 

The script above works in all machines, and the only difference is the
redirection of the output. 

 

I am baffled and cannot find an explanation to this. I decided to report
because this could be an insidious bug that can have consequences in other
scenarios. Or maybe I am just missing something here. 

 

Could you kindly shed some light in this issue?

 

Thanks,

 

Jamil Said

Reply via email to