Error in the 7.0.68 ubuntu1~dapper1_i386 deb file

Bug #61421 reported by Alejandro Díaz-Caro
6
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
New
Undecided
Bart Martens

Bug Description

Binary package hint: flashplugin-nonfree

I can't install the update of flashplugin-nonfree.
I receive the following error after the downloading process:
Downloading... done.
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | sNN kNN]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
[...]

I think that the error is in the script "postinst" from the deb package. It script has the following line:
update-rc.d flashplugin-nonfree multiuser > /dev/null,
and "multiuser" is not a valid option for update-rc.d. Maybe it would be "defaults"?

Revision history for this message
Bruce Miller (brm0423) wrote :

Full install report:

Use of uninitialized value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, <GEN6> line 4.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, <GEN6> line 4.
dpkg: error processing flashplugin-nonfree (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 flashplugin-nonfree
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up flashplugin-nonfree (7.0.68~ubuntu1~dapper1) ...
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 145
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 145
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 145
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 145
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
Use of uninitialized value in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 104, <GEN1> line 2.
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | sNN kNN]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
Use of uninitialized value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, <GEN6> line 4.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, <GEN6> line 4.
dpkg: error processing flashplugin-nonfree (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encounte

Changed in flashplugin-nonfree:
assignee: nobody → bartm
Revision history for this message
Alejandro Díaz-Caro (janus) wrote :

Ok, the error that I receive is not so bad :)
This is the full install report for me (sorry, I had to translate from spanish, maybe one or two words are not exact)

Configuring flashplugin-nonfree (7.0.68~ubuntu1~dapper1) ...
Downloading... done.
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | sNN kNN]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
dpkg: error processing flashplugin-nonfree (--configure):
[...]

Revision history for this message
TiagoMacambira (macambira) wrote :

Same here.

I edited the postinst script, adding a "set -x" to it. Heres the relevant output:

+ return 0
+ '[' -x /etc/init.d/flashplugin-nonfree ']'
+ update-rc.d flashplugin-nonfree multiuser
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | sNN kNN]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
dpkg: error processing flashplugin-nonfree (--configure):

"multiuser" is related with an update to update-rc.d as described in https://wiki.ubuntu.com/Teardown. But this update will only be availiable in ubuntu 6.10 or throw a backport to dapper.

My 2cents: IFF this package is a backport, than it would better explicitly depend on a backported update-rc.d version.

Revision history for this message
Pazkooda (pazkooda) wrote :

Hi,

I just want to confirm bug (same output as above).

Notice: Package should (??) "Conflict" with original (non-backported) update-rc.d.

Revision history for this message
Juan Carlos Torres (jucato) wrote :

Marked as a duplicate of bug 61404 (explains what happened)

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.