dpkg-reconfigure flashplugin-nonfree breaks package installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flashplugin-nonfree (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: flashplugin-nonfree
After successfully installing flashplugin-nonfree (after locally applying patch from bug #133452, though the same happens for vanilla flashplugin-nonfree 9.0.48.
$ sudo dpkg-reconfigure flashplugin-nonfree
Installing from local file /var/cache/
install: target `/usr/lib/
After this I found that /usr/lib/
My system is gutsy/amd64.
Daniel, are you sure that my bug is really a duplicate of bug #138853? To me it seems wrong. I have successfully installed (patched) package and it configures fine, the problem is actually with dpkg-reconfigure. Directory /usr/lib/ flashplugin- nonfree gets deleted in prerm, but then it is _not_created_ again (so install fails). The quick fix is as follows:
diff -Nru /tmp/9lx1ZzfUtl /flashplugin- nonfree- 9.0.48. 0.0ubuntu9/ debian/ prerm /tmp/JnS0N6r0fq /flashplugin- nonfree- 9.0.48. 0.0ubuntu9drago nfox2/debian/ prerm /flashplugin- nonfree- 9.0.48. 0.0ubuntu9/ debian/ prerm 2007-09-11 12:28:09.000000000 +0400 /flashplugin- nonfree- 9.0.48. 0.0ubuntu9drago nfox2/debian/ prerm 2007-09-12 23:34:41.000000000 +0400 deconfigure) flashplugin- nonfree- unpackdir flashplugin- nonfree flashplugin- nonfree/ * flashplugin- nonfree/ * flashplugin- nonfree/ libflashplayer. so flashplugin- nonfree/ flashplayer. xpt
--- /tmp/9lx1ZzfUtl
+++ /tmp/JnS0N6r0fq
@@ -37,7 +37,7 @@
upgrade|
update-rc.d -f flashplugin-nonfree remove >/dev/null 2>&1
rm -rf /usr/lib/
- rm -rf /usr/lib/
+ rm -f /usr/lib/
rm -f /var/lib/
rm -f /var/cache/
rm -f /var/cache/
But I'm not sure if it's the right way. I don't understand where /usr/lib/ flashplugin- nonfree is actually created in the first place! x_x