Please reconsider. The purpose of a package management system is to install and configure a package to a working, useful state, and this is not happening.
On 07/25/2014 02:12 PM, Ritesh Raj Sarraf wrote: > Control: -1 severity wishlist > > > I agree. But that's a wishlist for LMT's preinst script. > > > > On 07/25/2014 11:01 PM, Boruch Baum wrote: >> The package installs a config file, "/etc/laptop-mode/conf.d/ethernet.conf", >> which on line 59 sets ETHERNET_DEVICES="eth0", without first checking >> whether such a device exists (I ususally does, but see below), or whether >> other devices exist instead, or in addition. >> >> In my case, a few months ago debian changed my eth0 to eth1, and my wlan0 to >> wlan1. >> >> Package laptop-mode-tools did not detect this, and when it updated today >> (apt-get -t testing upgrade), reported the following: >> >> === start message === >> Cannot find device "eth0" >> /usr/sbin/laptop_mode: 108: [: /sys/bus/platform/devices/SP5100: unexpected >> operator >> /usr/sbin/laptop_mode: 115: [: /sys/bus/platform/devices/SP5100: unexpected >> operator >> /usr/sbin/laptop_mode: 118: [: /sys/bus/platform/devices/SP5100: unexpected >> operator >> [ ok ] Laptop mode enabled, not active. >> === end message === >> >> The install should check for the valid existing device names and insert them >> into the config file > > -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
signature.asc
Description: OpenPGP digital signature