Package: mouseemu
Version: 0.15-4
Severity: normal

$ LANG=C sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
  python-central
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up mouseemu (0.15-4) ...
Starting mouse emulation daemon: invoke-rc.d: initscript mouseemu, action 
"start" failed.
dpkg: error processing mouseemu (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 mouseemu
E: Sub-process /usr/bin/dpkg returned an error code (1)


The problem is the "modprobe -q uinput" in /etc/init.d/mouseemu.
I have a localy compile kernel and without this module. So the modprobe fails
and the upgrade also fails.


I can propose the patch:
--- mouseemu    2006-10-17 21:14:00.000000000 +0200
+++ /etc/init.d/mouseemu        2006-10-17 21:14:12.000000000 +0200
@@ -37,7 +37,7 @@
 case "$1" in
   start)
        echo -n "Starting $DESC: "
-       modprobe -q uinput
+       modprobe -q uinput || true
        # Give udev some time to create the device node
        sleep 1
        start-stop-daemon --start --quiet --exec $DAEMON -- $MOUSEEMU_OPTS 
>/dev/null


This will give:
[...]
Setting up mouseemu (0.15-4) ...
Starting mouse emulation daemon: mouseemu.

[EMAIL PROTECTED]:$ open: No such file or directory
No uinput device found! Make sure the uinput module is loaded
or CONFIG_INPUT_UINPUT is compiled into the kernel.

So it is clear something bad happened.


Note that this bug should not happen with a Debian kernel package so you may
decide to just close this bug report.

Bye,

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages mouseemu depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  procps                       1:3.2.7-3   /proc file system utilities

mouseemu recommends no packages.

-- no debconf information


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

Reply via email to