Comment 1 for bug 139182

Revision history for this message
Alexey Borzenkov (snaury) wrote :

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.0ubuntu9dragonfox2/debian/prerm
--- /tmp/9lx1ZzfUtl/flashplugin-nonfree-9.0.48.0.0ubuntu9/debian/prerm 2007-09-11 12:28:09.000000000 +0400
+++ /tmp/JnS0N6r0fq/flashplugin-nonfree-9.0.48.0.0ubuntu9dragonfox2/debian/prerm 2007-09-12 23:34:41.000000000 +0400
@@ -37,7 +37,7 @@
  upgrade|deconfigure)
   update-rc.d -f flashplugin-nonfree remove >/dev/null 2>&1
   rm -rf /usr/lib/flashplugin-nonfree-unpackdir
- rm -rf /usr/lib/flashplugin-nonfree
+ rm -f /usr/lib/flashplugin-nonfree/*
   rm -f /var/lib/flashplugin-nonfree/*
   rm -f /var/cache/flashplugin-nonfree/libflashplayer.so
   rm -f /var/cache/flashplugin-nonfree/flashplayer.xpt

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