Package: irda-utils
Version: 0.9.18-3
Severity: normal

For me, the postinstall script fails with:

Setting up irda-utils (0.9.18-3) ...
/var/lib/dpkg/info/irda-utils.postinst: line 174: ./MAKEDEV: No such file or 
directory
Starting IrDA service: irattachFailed to open device /dev/tts/5: No such file 
or directory
invoke-rc.d: initscript irda-utils, action "start" failed.
dpkg: error processing irda-utils (--configure):

This is because the script has this snippet that does not work with
udev:

    if [ ! -e /dev/.devfsd ]; then
        (cd /dev && ./MAKEDEV irda && ./MAKEDEV irnet)
    fi

It seems a test for udev is needed. I propose this:

    if [ ! -e /dev/.devfsd -a ! -e /dev/.udev ]; then
        (cd /dev && ./MAKEDEV irda && ./MAKEDEV irnet)
    fi

Please note that /dev/tts/5 existed because of numbering problems with
older kernels, it is one of /dev/tts/[0-3] now. The message about a
missing /dev/tts/5 is completely correct. I need to reconfigure my IrDA...

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages irda-utils depends on:
ii  debconf [debconf-2.0]        1.5.8       Debian configuration management sy
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libglib2.0-0                 2.12.4-1    The GLib library of C routines
ii  makedev                      2.3.1-83    creates device files in /dev
ii  module-init-tools            3.2.2-3     tools for managing Linux kernel mo
ii  setserial                    2.17-43     controls configuration of serial p
ii  udev                         0.100-2.2   /dev/ and hotplug management daemo

Versions of packages irda-utils recommends:
pn  openobex-apps                 <none>     (no description available)

-- debconf information:
  irda-utils/firopt:
* irda-utils/dongle: tekram
* irda-utils/enable: true
* irda-utils/discovery: true
* irda-utils/ttydev: /dev/tts/5
  irda-utils/setserial:
* irda-utils/selectdevice: serial
  irda-utils/firdev:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to