On Tue, Jul 22, 2008 at 05:26:45PM -0400, Mitchell Laks wrote: > Hi, > > I am upgrading an old server to etch to be able to use new sata drives. I > followed > the release notes. > > I first did > apt-get upgrade > then I did > apt-get install initrd-tools > > then i installed > linux-image-2.6.18-686 > > at this point i got an error from udev. It said that the > install of udev failed at the pre install script with error 1. > or something like that. > I tried > apt-get install -f > but it did not help.
it seems to me you need to purge hotplug before you can install udev. But that's from foggy memory. > > how can i get at the pre install script and see > what the error is? it's in /var/lib/dpkg/info/ > > I want to avoid just reinstalling etch from scratch if I can. > > How to go about debugging the error? > 1. Make it more verbose > and > 2. find the script - where is it kept? > 3. then edit the preinstall script and fix the problem? yup. you can set -x in the script and see what it's doing. > > also I notice that now the machine will not recognize the > ethernet device eth0, which is irritating and probably secondary > to the messed up udev. surely related. A
signature.asc
Description: Digital signature