Your message dated Thu, 17 Dec 2015 12:50:59 +0000
with message-id <[email protected]>
and subject line update-pepperflashplugin-nonfree fails in a bash script
has caused the Debian Bug report #802649,
regarding update-pepperflashplugin-nonfree fails in a bash script
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
802649: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802649
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Submitter describes solution for problem not in the package.

--- End Message ---

Reply via email to