Hello,

Udev has been on the system before this upgrade. Following if the output
with set -x. Also following is my attempt to start/stop udev.

# apt-get install udev
Reading package lists... Done
Building dependency tree... Done
udev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up udev (0.100-2.2) ...
+ case "$1" in
+ '[' -z 0.100-1 ']'
+ '[' -e /etc/udev/run-write_net_rules ']'
+ chrooted
+ '[' -r /proc/1/root ']'
+ return 1
+ '[' -e /etc/udev/kernel-upgrade ']'
+ can_start_udevd
+ supported_kernel
+ case "$(uname -r)" in
++ uname -r
+ return 0
+ '[' '!' -d /sys/class/ ']'
+ '[' '!' -e /proc/sys/kernel/hotplug ']'
+ grep -q '[[:space:]]tmpfs$' /proc/filesystems
+ '[' -e /etc/udev/disabled ']'
+ return 0
+ restart_udevd
+ start-stop-daemon --stop --name udevd --oknodo --quiet --retry 5
dpkg: error processing udev (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of hal:
 hal depends on udev (>= 0.065); however:
  Package udev is not configured yet.
dpkg: error processing hal (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of initramfs-tools:
 initramfs-tools depends on udev (>= 0.086-1); however:
  Package udev is not configured yet.
dpkg: error processing initramfs-tools (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 udev
 hal
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)


# ps ax|grep udev
 2174 ?        Z<s    0:00 [udevd] <defunct>
15265 pts/7    S+     0:00 grep udev


# /etc/init.d/udev
udev       udev-mtab


# /etc/init.d/udev restart
Stopping the hotplug events dispatcher: udevd failed!
Starting the hotplug events dispatcher: udevd.


-- 
Bhaskar S. Manda
 

> -----Original Message-----
> From: Marco d'Itri [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 30, 2006 8:56 AM
> To: Bhaskar Manda; [EMAIL PROTECTED]
> Subject: Re: Bug#396211: udev not installable
> 
> On Oct 30, Bhaskar Manda <[EMAIL PROTECTED]> wrote:
> 
> > dpkg: error processing udev (--configure):
> >  subprocess post-installation script returned error exit status 2
> 
> This report is useless unless you can also determine why 
> postinst is failing.
> Was udev installed on your system or this is the first time 
> you install it?
> Try adding "set -x" at the top of /var/lib/dpkg/info/udev.postinst.
> 
> --
> ciao,
> Marco
> 

Reply via email to