Merge pepperflashplugin-nonfree (1.8.2) from Debian unstable (contrib)

Bug #1527426 reported by mrl586
136
This bug affects 27 people
Affects Status Importance Assigned to Milestone
pepperflashplugin-nonfree (Debian)
Fix Released
Unknown
pepperflashplugin-nonfree (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned

Bug Description

Please merge ppepperflashplugin-nonfree to fix can't install flash from chrome.

pepperflashplugin-nonfree (1.8.2) unstable; urgency=medium

  * Added APT::Sandbox::User "root"; Closes: #769740.
  * Added '|| true'. Closes: #803349.

 -- Bart Martens <email address hidden> Thu, 17 Dec 2015 17:36:19 +0100

pepperflashplugin-nonfree (1.8.1) unstable; urgency=medium

  * debian/control: Pre-Depends: ca-certificates. Closes: #773629.

 -- Bart Martens <email address hidden> Sun, 21 Dec 2014 11:37:47 +0100

pepperflashplugin-nonfree (1.8) unstable; urgency=medium

  * Removed support for /etc/chromium/default. Closes: #760388.
    + etc-chromium-default.txt: Removed.
    + debian/etc/chromium.d/pepperflashplugin-nonfree: Added.
    + debian/dirs: Added etc/chromium.d/.
    + debian/install: add file in etc/chromium.d/.
    + update-pepperflashplugin-nonfree: Removed dealing with
      /etc/chromium/default and /etc/chromium.d.
    + debian/control: Conflicts: chromium (<< 37.0.2062.120-4). This package
      doesn't really conflict with these old versions of chromium, but it makes
      explicit that pepperflashplugin-nonfree isn't useful for versions of
      chromium still using /etc/chromium/default, as agreed on debian-release
      on Sun, 12 Oct 2014 15:38:03 +0200.

 -- Bart Martens <email address hidden> Wed, 22 Oct 2014 07:49:22 +0200

-----------------------------

Can't install flash with pepperflash-nonfree

-----------------------------

tux@Z50:~$ lsb_release -rd
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04

tux@Z50:~$ apt-cache policy pepperflashplugin-nonfree
pepperflashplugin-nonfree:
  Asennettu: 1.7ubuntu1
  Ehdokas: 1.7ubuntu1
  Versiotaulukko:
 *** 1.7ubuntu1 500
        500 http://mirror.yandex.ru/ubuntu xenial/multiverse amd64 Packages
        100 /var/lib/dpkg/status

tux@Z50:~$ sudo apt-get install pepperflashplugin-nonfree
[sudo] salasana henkilölle tux:
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu
Luetaan tilatiedot... Valmis
Ehdotetut paketit:
  chromium-browser ttf-mscorefonts-installer ttf-dejavu ttf-xfree86-nonfree
Seuraavat UUDET paketit asennetaan:
  pepperflashplugin-nonfree
0 päivitetty, 1 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
Noudettavaa arkistoa 11,1 kt.
Toiminnon jälkeen käytetään 70,7 k t lisää levytilaa.
Nouda:1 http://mirror.yandex.ru/ubuntu xenial/multiverse amd64 pepperflashplugin-nonfree amd64 1.7ubuntu1 [11,1 kB]
Noudettiin 11,1 kt ajassa 0s (87,0 kt/s)
Selecting previously unselected package pepperflashplugin-nonfree.
(Luetaan tietokantaa... 194395 files and directories currently installed.)
Preparing to unpack .../pepperflashplugin-nonfree_1.7ubuntu1_amd64.deb ...
Unpacking pepperflashplugin-nonfree (1.7ubuntu1) ...
Tehdään asetuksia: pepperflashplugin-nonfree (1.7ubuntu1) ...
ERROR: failed to retrieve status information from google : W: Can't drop privileges for downloading as file './var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Lupa evätty)
More information might be available at:
  http://wiki.debian.org/PepperFlashPlayer

WORKAROUND: Use Google Chrome.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pepperflashplugin-nonfree 1.7ubuntu1
ProcVersionSignature: Ubuntu 4.3.0-2.11-generic 4.3.0
Uname: Linux 4.3.0-2-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Dec 18 03:24:15 2015
InstallationDate: Installed on 2015-12-17 (0 days ago)
InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151216)
SourcePackage: pepperflashplugin-nonfree
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
mrl586 (mrl586) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pepperflashplugin-nonfree (Ubuntu):
status: New → Confirmed
Changed in pepperflashplugin-nonfree (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Hairong Zhu (hrzhu) wrote :
penalvch (penalvch)
Changed in pepperflashplugin-nonfree (Ubuntu):
status: Confirmed → Triaged
tags: added: cherry-pick
penalvch (penalvch)
description: updated
Revision history for this message
dino99 (9d9) wrote :
Changed in pepperflashplugin-nonfree:
status: Unknown → Fix Released
dino99 (9d9)
tags: added: upgrade-software-version
penalvch (penalvch)
tags: removed: upgrade-software-version
Changed in pepperflashplugin-nonfree (Ubuntu Xenial):
importance: Medium → High
milestone: none → ubuntu-16.04
summary: - Can't install flash with pepperflash-nonfree
+ Please sync pepperflashplugin-nonfree (1.8.2) from Debian unstable
description: updated
Mathew Hodson (mhodson)
affects: pepperflashplugin-nonfree → ubuntu-translations
no longer affects: ubuntu-translations
Changed in pepperflashplugin-nonfree (Debian):
status: Unknown → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote : Re: Please sync pepperflashplugin-nonfree (1.8.2) from Debian unstable

Syncing would mean that all Ubuntu changes are dropped, ie:
    - Add support for Ubuntu’s location of Chromium settings.
    - Suggest chromium-browser instead of chromium.
    - Do not suggest hal.

I think you want a merge.

Changed in pepperflashplugin-nonfree (Ubuntu Xenial):
status: Triaged → Incomplete
Revision history for this message
mrl586 (mrl586) wrote :

We must select best way doing this. We need at first check that all Ubuntu specified changes are still valid and compatible with upstream, otherwise we need adjust and update those Ubuntu changes before doing merge.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I'm unsubscribing the sponsor team for now, it looks like somebody needs to do more investigation.

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote : Re: pepperflashplugin-nonfree (Xenial) install fails: "Can't drop privileges"

Package fails to install (Critical); Affects all users of package (Confirmed).

summary: - Please sync pepperflashplugin-nonfree (1.8.2) from Debian unstable
+ pepperflashplugin-nonfree (Xenial) install fails: "Can't drop
+ privileges"
Changed in pepperflashplugin-nonfree (Ubuntu Xenial):
importance: High → Critical
status: Incomplete → Confirmed
penalvch (penalvch)
Changed in pepperflashplugin-nonfree (Ubuntu Xenial):
status: Confirmed → Triaged
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Workaround for pepperflashplugin-nonfree install fails "Can't drop privileges"
-----------------------------------------------------------------------------

On install, this error message occurs...

ERROR: failed to retrieve status information from google : W: Can't drop privileges for downloading as file './var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Note that the package *does* actually get installed, but its installer script fails to run properly. Lets help it run properly... Run these commands in a terminal window:

#
# Part 1: Copy, edit, then run a modified copy of the script (as user _apt),
# to download the plugin
#

cp /usr/sbin/update-pepperflashplugin-nonfree /tmp

sudo chown _apt /var/cache/pepperflashplugin-nonfree/ /usr/lib/pepperflashplugin-nonfree/

editor /tmp/update-pepperflashplugin-nonfree

    { Find this line, and insert a '#' to comment it out }:

 [ `id -u` = "0" ] || die_hard "must be root"

 ... becomes ...
 #[ `id -u` = "0" ] || die_hard "must be root"

sudo -u _apt /tmp/update-pepperflashplugin-nonfree --install --verbose

 It will download the latest plugin, but then fail with this error:

 chown: changing ownership of '/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so': Operation not permitted

 Good. Proceed...

#
# Part 2: Edit and run the script a second time (as user root)
# to install the plugin
#

editor /tmp/update-pepperflashplugin-nonfree

    { Find this line, and insert a '#' to comment it out }:

        stdouterr=`APT_CONFIG=apt.conf apt-get --quiet --quiet update 2>&1`

 ... becomes ...
        #stdouterr=`APT_CONFIG=apt.conf apt-get --quiet --quiet update 2>&1`

sudo /tmp/update-pepperflashplugin-nonfree --install --verbose

 Ignore the "E: No packages found" and "ls: cannot access" errors.
 It should run successfully to completion anyway, ending with:

  end of update-pepperflashplugin-nonfree

sudo chown root /var/cache/pepperflashplugin-nonfree/ /usr/lib/pepperflashplugin-nonfree/

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

... After the above procedure, pepperflashplugin will be installed and configured. Restart your browser, and enjoy.

Revision history for this message
RNZ (renoizer) wrote :

$ sudo apt-get purge pepperflashplugin-nonfree
$ sudo apt-get install pepperflashplugin-nonfree
$ cp /usr/sbin/update-pepperflashplugin-nonfree /tmp
$ sudo chown _apt /var/cache/pepperflashplugin-nonfree/ /usr/lib/pepperflashplugin-nonfree/
$ vim /tmp/update-pepperflashplugin-nonfree
$ diff -u1 /usr/sbin/update-pepperflashplugin-nonfree /tmp/update-pepperflashplugin-nonfree
--- /usr/sbin/update-pepperflashplugin-nonfree 2014-09-14 16:22:56.000000000 +0400
+++ /tmp/update-pepperflashplugin-nonfree 2016-03-17 19:48:02.099588012 +0300
@@ -163,2 +163,3 @@
  Debug::NoLocking "true";
+ APT::Sandbox::User "root";
  EOF
$ sudo -u root /tmp/update-pepperflashplugin-nonfree --install --verbose

Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

FYI, workaround doesn't work by weak digest problem at the moment.
Google Chrome repository is half-broken.
https://wiki.debian.org/Teams/Apt/Sha1Removal

summary: - pepperflashplugin-nonfree (Xenial) install fails: "Can't drop
- privileges"
+ Merge pepperflashplugin-nonfree (1.8.2) from Debian unstable (contrib)
description: updated
Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

Upload debdiff for merge debian 1.8.2.

However already mentioned in previous comment, this patch doesn't work at the moment.
If the repository of chrome will be fixed, then I will subscribe ubuntu-sponsors.

Changed in pepperflashplugin-nonfree:
status: Unknown → New
Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

Import patch from debian's bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818540

Weak algorithm warning is printed, but just warning not error.

---

$ sudo update-pepperflashplugin-nonfree --status --verbose
options : --status --verbose --
temporary directory: /tmp/pepperflashplugin-nonfree.FFQpqYskir
doing apt-get update on google repository
WARNING: W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
downloading http://people.debian.org/~bartm/pepperflashplugin-nonfree/latest-stable-verified.txt
selected action = --status
Flash Player version installed on this system : 21.0.0.197
Flash Player version available on upstream site: 20.0.0.306
end of action --status
cleaning up temporary directory /tmp/pepperflashplugin-nonfree.FFQpqYskir ...
end of update-pepperflashplugin-nonfree

---

Mathew Hodson (mhodson)
Changed in pepperflashplugin-nonfree (Debian):
status: Fix Released → Unknown
Changed in pepperflashplugin-nonfree:
importance: Unknown → Undecided
affects: pepperflashplugin-nonfree → ubuntu-translations
no longer affects: ubuntu-translations
Changed in pepperflashplugin-nonfree (Debian):
status: Unknown → New
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Thanks Mitsuya for the debdiff, it indeed seems to apply the critical bug fix from Debian bug report while also keeping the Ubuntu delta intact. I checked both the debdiff between current Ubuntu and Debian versions and the additional debdiff to include to bugfix, and they are both rather small as is the whole package. 1.8.2ubuntu1 is now sponsored!

I'm sure users will appreciate this.

Changed in pepperflashplugin-nonfree (Ubuntu Xenial):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pepperflashplugin-nonfree - 1.8.2ubuntu1

---------------
pepperflashplugin-nonfree (1.8.2ubuntu1) xenial; urgency=low

  * Merge from Debian unstable. (LP: #1527426) Remaining changes:
    - Add support for Ubuntu’s location of Chromium settings.
    - Suggest chromium-browser instead of chromium.
    - Do not suggest hal.
  * Removed changes to update-pepperflashplugin-nonfree.
    - Copy settings file to etc/chromium-browser/customiations/
  * Fix hashsum checking for new apt
    - Import patch from Debian: #818540.

 -- Mitsuya Shibata <email address hidden> Mon, 04 Apr 2016 10:36:42 +0900

Changed in pepperflashplugin-nonfree (Ubuntu Xenial):
status: In Progress → Fix Released
Mathew Hodson (mhodson)
Changed in pepperflashplugin-nonfree (Ubuntu Xenial):
importance: Critical → High
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi, I did an NMU on Debian, taking some parts of this merge, and uploaded on yakkety a few seconds ago.
Please let me know if I did any mistake, the new merge is a little better than the previous one, because Debian merged the #818540 issue, and the other three RC bugs.

Changed in pepperflashplugin-nonfree (Debian):
status: New → Fix Released
Revision history for this message
Graham Jenkins (grahjenk) wrote :

Still broken:
uname -a
Linux skink 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:15 UTC 2016 i686 i86 i686 GNU/Linux

sudo apt-get install pepperflashplugin-nonfree
 ...
Unpacking pepperflashplugin-nonfree (1.8.2ubuntu1) ...
Setting up pepperflashplugin-nonfree (1.8.2ubuntu1) ...
WARNING: W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
W: There is no public key available for the following key IDs:
1397BC53640DB551
E: No package found
E: No package found
 ...

Revision history for this message
Alin Andrei (nilarimogard) wrote :

@Graham Jenkins: it looks like you're using Ubuntu 32bit and since there's no Google Chrome on 32bit any more, this can't work. It's only for 64bit now. The bug is that the package needs to be 64bit only now...

Revision history for this message
Graham Jenkins (grahjenk) wrote :

I've received a note from Alin Andrei suggesting that I'm having the problem because: ".. there's no Google Chrome on 32bit any more .."

Actually, there is Chromium for 32-bit, and I have it installed on my Xubuntu 16.04 machine. The problem is that pepperflashplugin-nonfree doesn't manage to grab the flash plugin from the Google site. But one can actually follow the screen prompts that come with Opera and download Adobe flash; that makes it work .. but it's somewhat slow.

So pepperflashplugin-nonfree needs to be updated so it can grab an appropriate plugin from somewhere when it finds itself running on a 32-bit machine!

Revision history for this message
Alin Andrei (nilarimogard) wrote :

Pepper Flash Plugin is only available as a bundle along with Google Chrome. So it doesn't matter that Chromium is still available on 32bit, this plugin isn't, like I said in my previous comment.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.