Bug#359836: vflib2: Fails to install without debconf installed

2006-04-28 Thread Steve Langasek
tags 359836 patch
thanks

Hi Masato,

I've prepared an NMU for this issue, which drops the unneeded reference to
debconf in the vflib2 postinst.  The patch is attached; the NMU will be
uploaded shortly.

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/
diff -u vflib2-2.25.1/debian/postinst vflib2-2.25.1/debian/postinst
--- vflib2-2.25.1/debian/postinst
+++ vflib2-2.25.1/debian/postinst
@@ -5,8 +5,6 @@
 
 set -e
 
-. /usr/share/debconf/confmodule
-
 # summary of how this script can be called:
 #* postinst `configure' most-recently-configured-version
 #* old-postinst `abort-upgrade' new version
diff -u vflib2-2.25.1/debian/changelog vflib2-2.25.1/debian/changelog
--- vflib2-2.25.1/debian/changelog
+++ vflib2-2.25.1/debian/changelog
@@ -1,3 +1,12 @@
+vflib2 (2.25.1-18.2) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for RC bugfix.
+  * Remove spurious reference to debconf in the vflib2 postinst, fixing
+an install failure.  Closes: #359836.
+
+ -- Steve Langasek [EMAIL PROTECTED]  Thu, 27 Apr 2006 23:16:41 -0700
+
 vflib2 (2.25.1-18.1) unstable; urgency=high
 
   * Non-maintainer upload.


signature.asc
Description: Digital signature


Bug#359836: vflib2: Fails to install without debconf installed

2006-03-29 Thread Daniel Schepler
Package: vflib2
Version: 2.25.1-18.1
Severity: serious

From my pbuilder build log for dvi2ps:

...
Setting up vflib2 (2.25.1-18.1) ...
/var/lib/dpkg/info/vflib2.postinst: line 8: /usr/share/debconf/confmodule: No 
such file or directory
dpkg: error processing vflib2 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of vflib2-dev:
 vflib2-dev depends on vflib2 (= 2.25.1-18.1); however:
  Package vflib2 is not configured yet.
dpkg: error processing vflib2-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 vflib2
 vflib2-dev
E: Unrecoverable error installing build-dependencies.
E: pbuilder-satisfydepends failed.

You need to either add a Depends on debconf, or remove the debconf code
if it's not actually needed (which appears to be the case from a quick look
at the postinst script).
-- 
Daniel Schepler