[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#551140: udev preinstall script fails if kernel doesn't have inotify



Any opinions?

This ONLY MATTERS if the user is using a self-compiled kernel, upgrades
of Debian kernel packages are automatically detected.

----- Forwarded message from Greg Alexander <debgreg@galexander.org> -----

From: Greg Alexander <debgreg@galexander.org>
To: Marco d'Itri <md@Linux.IT>
Subject: Re: Bug#551140: udev preinstall script fails if kernel doesn't
	have inotify

> Please clarify the difference between the following two scenarios.
> 
> - admin tries to upgrade udev, preinst fails
> - admin upgrades the kernel
> - reboot
> - admin upgrades udev
> 
> - admin tries to upgrade udev, preinst fails
> - admin creates /etc/udev/kernel-upgrade
> - admin upgrades the kernel and udev, and hopefully nothing else
> - reboot (*immediate*, because udev the old udev is still running)

Ah, good.

Dependency satisfaction.  I upgraded a core package (I believe libc6), to
discover that it had an undeclared dependency on a newer version of dpkg
(or one of the dpkg-associated utilities), causing it to fail to install
completely (but it did install partially, since it was an undeclared
dependency...it errored out in a setup script).  As a result, until I
processed all of dpkg's dependencies (with apt-get -f install), I had a
halfway installed libc6.  Probably it would have been safe to reboot with
this halfway installed libc6, but I prefer not to chance it.

I first installed Debian on this computer in 2003 and have haphazardly
updated it off of debian-unstable since then.  This sort of dependency
nightmare is common with 5 year old debian installations.  Each time I
run through a big batch of updates, I have to do this little dance.
Most packages upgrade without incident.  Some present unnecessary
stumbling blocks.  This year, it is udev.  You could say it was libc6
that really caused the problem, but the usual apt tools for dealing with
this situation were sufficient to address libc6's issue, but not udev's.

Cheers,
- Greg

----- End forwarded message -----

-- 
ciao,
Marco


Reply to: