Comment 0 for bug 6791

Revision history for this message
In , Ulrich Klauer (uklauer) wrote :

Package: hotplug
Version: 0.0.20040329-8
Severity: important
Tags: sarge

Configuring the hotplug package yields the following error:

# dpkg --pending --configure
Setting up hotplug (0.0.20040329-8) ...
sed: -e expression #3, char 57: Unknown option to `s'
dpkg: error processing hotplug (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 hotplug

This is apparently caused by line 30 of the post-installation script:
-e 's/^STATIC_MODULE_LIST=.*/STATIC_MODULE_LIST="'"$STATIC_MODULE_LIST"'"/'
$STATIC_MODULE_LIST contains a slash, which fools sed into thinking that
the substitution command ends there. It should be easily corrected by
replacing the slashes in the substitution with some other character.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8

Versions of packages hotplug depends on:
ii debconf 1.4.25 Debian configuration management sy
ii modutils 2.4.26-1 Linux module utilities
ii procps 1:3.2.1-2 The /proc file system utilities

-- debconf information:
* hotplug/ignore_pci_class_display: true
* hotplug/net_agent_policy: hotplug
* hotplug/usbd_enable: true
* hotplug/usb_keyboard:
* hotplug/static_module_list: usbdnet, */*
  hotplug/x11_usbmice_hack: false