[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#597926: /var/lib/dpkg/info/isdnvboxserver.postinst: 21: MAKEDEV: not found



Package: isdnvboxserver
Version: 1:3.9.20060704+dfsg.1-3
Severity: important
Tags: patch


The installation of the isdnvboxserver package fails in the postinst step:

Setting up isdnvboxserver (1:3.9.20060704+dfsg.1-3) ...
Note: running MAKEDEV to create ISDN tty devices in /dev...
/var/lib/dpkg/info/isdnvboxserver.postinst: 21: MAKEDEV: not found
dpkg: error processing isdnvboxserver (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of isdnutils:
 isdnutils depends on isdnvboxserver; however:
  Package isdnvboxserver is not configured yet.
dpkg: error processing isdnutils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 isdnvboxserver
 isdnutils

The problem seems to be a PATH assuming to contain '.' in /var/lib/dpkg/info/isdnvboxserver.postinst:

[...]
                cd /dev
                echo "Note: running MAKEDEV to create ISDN tty devices in /dev..
.."
                MAKEDEV isdn-tty
[...]

Changing this to 

[...]
                cd /dev
                echo "Note: running MAKEDEV to create ISDN tty devices in /dev..
.."
                ./MAKEDEV isdn-tty
[...]

fixes the problem.
Since MAKEDEV is a dummy, the block could be deleted completely.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.35.2 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages isdnvboxserver depends on:
ii  debconf [debconf 1.5.35                  Debian configuration management sy
ii  isdnutils-base   1:3.9.20060704+dfsg.1-3 ISDN utilities - minimal set
ii  libc6            2.11.2-5                Embedded GNU C Library: Shared lib
ii  openbsd-inetd [i 0.20080125-6            The OpenBSD Internet Superserver
ii  tcl8.4           8.4.19-4                Tcl (the Tool Command Language) v8
ii  udev             160-1                   /dev/ and hotplug management daemo

isdnvboxserver recommends no packages.

Versions of packages isdnvboxserver suggests:
ii  isdnvboxclient   1:3.9.20060704+dfsg.1-3 ISDN utilities - answering machine

-- Configuration Files:
/etc/isdn/vboxd.conf changed:
L:localhost:Y
L:*:N
A:localhost:RW:tlf2450:DES vvi463EudYeIo:/var/spool/vbox/ttyI6:incoming
A:*:!:!:!:!:!

/etc/isdn/vboxgetty.conf changed:
compression		adpcm-4
umask			077
badinitsexit		10
dropdtrtime		400
initpause		2500
commandtimeout		4
echotimeout		4
ringtimeout		6
alivetimeout		1800
freespace		2000000
debuglevel		FEWIDJ
port /dev/ttyI6
  modeminit		ATZ&B512&E61287484810
  user			vboxdaemonuser
  group			users
  spooldir		/var/spool/vbox/ttyI6
  vboxconfig		/home/vboxdaemonuser/.vbox.conf


-- debconf information:
* isdnvboxserver/password: (password omitted)
* isdnvboxserver/doinit: true
  isdnvboxserver/devfs_inittab:
  isdnvboxserver/attachmsg: true
* isdnvboxserver/nosuchuser:
  isdnvboxserver/vboxnouser:
* isdnvboxserver/dummy: donetwice
* isdnvboxserver/msn: 61287484810
* isdnvboxserver/user: tlf2450
  isdnvboxserver/rings: 4
  isdnvboxserver/devfs_vboxgettyconf:
* isdnvboxserver/vboxnodir:
  isdnvboxserver/daemonuser: vboxdaemonuser



Reply to: