installation fails because $DPKG_MAINTSCRIPT_ARCH is not set

Bug #933484 reported by Stefan Tauner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
Fix Released
Undecided
Marc Deslauriers
Lucid
Fix Released
Undecided
Marc Deslauriers
Maverick
Fix Released
Undecided
Marc Deslauriers
Natty
Fix Released
Undecided
Marc Deslauriers
Oneiric
Fix Released
Undecided
Marc Deslauriers
Precise
Fix Released
Undecided
Marc Deslauriers

Bug Description

hi!

the upgrade of flashplugin-nonfree 11.1.102.62ubuntu0.10.10.1 (in ubuntu maverick) broke flash for me so i looked into it...

dpkg-reconfigure flashplugin-installer
Installing from local file /var/cache/flashplugin-installer/adobe-flashplugin_11.1.102.62.orig.tar.gz
install: cannot stat `adobe-flashplugin*//libflashplayer.so': No such file or directory

the last message comes from the postinst script. the respective command in that script is:

  install -m 644 adobe-flashplugin*/"$DPKG_MAINTSCRIPT_ARCH"/libflashplayer.so /usr/lib/flashplugin-installer/

so apparently the $DPKG_MAINTSCRIPT_ARCH is not set correctly.
when i exported it from the shell, installation succeeded and the browsers are able to to flash again too:

export DPKG_MAINTSCRIPT_ARCH=amd64 ; dpkg-reconfigure flashplugin-installer
Installing from local file /var/cache/flashplugin-installer/adobe-flashplugin_11.1.102.62.orig.tar.gz
Flash Plugin installed.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: flashplugin-installer 11.1.102.62ubuntu0.10.10.1
ProcVersionSignature: Ubuntu 2.6.35-32.65-generic 2.6.35.14
Uname: Linux 2.6.35-32-generic x86_64
Architecture: amd64
Date: Thu Feb 16 15:07:09 2012
SourcePackage: flashplugin-nonfree

Revision history for this message
Stefan Tauner (stefanct) wrote :
Changed in flashplugin-nonfree (Ubuntu Lucid):
status: New → Confirmed
Changed in flashplugin-nonfree (Ubuntu Maverick):
status: New → Confirmed
Changed in flashplugin-nonfree (Ubuntu Natty):
status: New → Confirmed
Changed in flashplugin-nonfree (Ubuntu Oneiric):
status: New → Confirmed
Changed in flashplugin-nonfree (Ubuntu Precise):
status: New → Confirmed
Changed in flashplugin-nonfree (Ubuntu Lucid):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in flashplugin-nonfree (Ubuntu Maverick):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in flashplugin-nonfree (Ubuntu Oneiric):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in flashplugin-nonfree (Ubuntu Precise):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in flashplugin-nonfree (Ubuntu Natty):
assignee: nobody → Marc Deslauriers (mdeslaur)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flashplugin-nonfree - 11.1.102.62ubuntu2

---------------
flashplugin-nonfree (11.1.102.62ubuntu2) precise; urgency=low

  * Fix use of dpkg-reconfigure by not using $DPKG_MAINTSCRIPT_ARCH
    (LP: #933484)
    - debian/flashplugin-installer.postinst.in: renamed from
      flashplugin-installer.postinst and replaced $DPKG_MAINTSCRIPT_ARCH
      with #ARCH#.
    - debian/rules: replace #ARCH# in flashplugin-installer.postinst.in
      with $DEB_HOST_ARCH during build.
    - debian/flashplugin-installer.prerm: also clean out subdirectories in
      /var/cache/flashplugin-installer.
  * flashplugin-installer.postinst.in: use "mega" style by default so we
    stop filling up log files. (LP: #872723)
 -- Marc Deslauriers <email address hidden> Thu, 16 Feb 2012 14:36:37 -0500

Changed in flashplugin-nonfree (Ubuntu Precise):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flashplugin-nonfree - 11.1.102.62ubuntu0.11.10.2

---------------
flashplugin-nonfree (11.1.102.62ubuntu0.11.10.2) oneiric-security; urgency=low

  * Fix use of dpkg-reconfigure by not using $DPKG_MAINTSCRIPT_ARCH
    (LP: #933484)
    - debian/flashplugin-installer.postinst.in: renamed from
      flashplugin-installer.postinst and replaced $DPKG_MAINTSCRIPT_ARCH
      with #ARCH#.
    - debian/rules: replace #ARCH# in flashplugin-installer.postinst.in
      with $DEB_HOST_ARCH during build.
    - debian/flashplugin-installer.prerm: also clean out subdirectories in
      /var/cache/flashplugin-installer.
  * flashplugin-installer.postinst.in: use "mega" style by default so we
    stop filling up log files. (LP: #872723)
 -- Marc Deslauriers <email address hidden> Thu, 16 Feb 2012 18:53:37 -0500

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

This bug was fixed in the package flashplugin-nonfree - 11.1.102.62ubuntu0.11.04.2

---------------
flashplugin-nonfree (11.1.102.62ubuntu0.11.04.2) natty-security; urgency=low

  * Fix use of dpkg-reconfigure by not using $DPKG_MAINTSCRIPT_ARCH
    (LP: #933484)
    - debian/postinst.in: renamed from postinst and replaced
      $DPKG_MAINTSCRIPT_ARCH with #ARCH#.
    - debian/rules: replace #ARCH# in postinst.in with $DEB_HOST_ARCH
      during build.
    - debian/prerm: also clean out subdirectories in
      /var/cache/flashplugin-installer.
  * postinst.in: use "mega" style by default so we stop filling up log
    files. (LP: #872723)
 -- Marc Deslauriers <email address hidden> Thu, 16 Feb 2012 18:56:47 -0500

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

This bug was fixed in the package flashplugin-nonfree - 11.1.102.62ubuntu0.10.10.2

---------------
flashplugin-nonfree (11.1.102.62ubuntu0.10.10.2) maverick-security; urgency=low

  * Fix use of dpkg-reconfigure by not using $DPKG_MAINTSCRIPT_ARCH
    (LP: #933484)
    - debian/postinst.in: renamed from postinst and replaced
      $DPKG_MAINTSCRIPT_ARCH with #ARCH#.
    - debian/rules: replace #ARCH# in postinst.in with $DEB_HOST_ARCH
      during build.
    - debian/prerm: also clean out subdirectories in
      /var/cache/flashplugin-installer.
  * postinst.in: use "mega" style by default so we stop filling up log
    files. (LP: #872723)
 -- Marc Deslauriers <email address hidden> Thu, 16 Feb 2012 19:01:39 -0500

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

This bug was fixed in the package flashplugin-nonfree - 11.1.102.62ubuntu0.10.04.2

---------------
flashplugin-nonfree (11.1.102.62ubuntu0.10.04.2) lucid-security; urgency=low

  * Fix use of dpkg-reconfigure by not using $DPKG_MAINTSCRIPT_ARCH
    (LP: #933484)
    - debian/postinst.in: renamed from postinst and replaced
      $DPKG_MAINTSCRIPT_ARCH with #ARCH#.
    - debian/rules: replace #ARCH# in postinst.in with $DEB_HOST_ARCH
      during build.
    - debian/prerm: also clean out subdirectories in
      /var/cache/flashplugin-installer.
  * postinst.in: use "mega" style by default so we stop filling up log
    files. (LP: #872723)
 -- Marc Deslauriers <email address hidden> Thu, 16 Feb 2012 19:04:29 -0500

Changed in flashplugin-nonfree (Ubuntu Lucid):
status: Confirmed → Fix Released
Changed in flashplugin-nonfree (Ubuntu Maverick):
status: Confirmed → Fix Released
Changed in flashplugin-nonfree (Ubuntu Natty):
status: Confirmed → Fix Released
Changed in flashplugin-nonfree (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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