Bug#762547: oss-compat: Upgrade to compat_2+deb7u1 fails during configure

SZABO Zsolt szazs at eik.bme.hu
Mon Sep 29 22:18:42 UTC 2014


Package: oss-compat
Version: 2+deb7u1
Followup-For: Bug #762547

Dear Maintainer,

I confirm this bug, this patch may solve the situation:

--- /tmp/oss-compat.postinst    2014-09-23 05:23:38.000000000 +0200
+++ /var/lib/dpkg/info/oss-compat.postinst      2014-09-3000:12:16.000000000 +0200
@@ -33,7 +33,7 @@
         # Cleanup stable configuration link
         [ -L ${oldconffile} ] && rm -f ${oldconffile}
         # Wheezy configuration file (using install directives)
-        [ -f ${curconffile} ] && [ "$(md5sum ${curconffile} | cut -d\  -f1)" = "88222606b0a3ba8b0825c5000c754e6f" ] && cp /lib/oss-compat/linux ${conffile}
+        [ -f ${curconffile} ] && [ "$(md5sum ${curconffile} | cut -d\  -f1)" = "88222606b0a3ba8b0825c5000c754e6f" ] && cp /lib/oss-compat/linux ${curconffile}
 
         if lsmod | grep -q "^snd " ; then
           modprobe snd || true

or simply:

sed -i -r 's/\$\{(conffile\})/\$\{cur\1/g' /var/lib/dpkg/info/oss-compat.postinst

sz at zs


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/8 CPU cores)
Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages oss-compat depends on:
ii  kmod  9-3

oss-compat recommends no packages.

oss-compat suggests no packages.

-- no debconf information



More information about the Pkg-games-devel mailing list