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

Re: Wheezy->Jessie upgrade: udev (pre)install issue



On Sb, 27 dec 14, 13:36:26, Matthijs wrote:
> ...
> Since release 198, udev requires support for the following features in
> the running kernel:
> 
> - inotify(2)            (CONFIG_INOTIFY_USER)
> - signalfd(2)           (CONFIG_SIGNALFD)
> - accept4(2)
> - open_by_handle_at(2)  (CONFIG_FHANDLE)
> - timerfd_create(2)     (CONFIG_TIMERFD)
> - epoll_create(2)       (CONFIG_EPOLL)
> 
> Please upgrade your kernel before or while upgrading udev.

This is your solution.
 
> AT YOUR OWN RISK, you can force the installation of this version of udev
> WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
> AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
> There is always a safer way to upgrade, do not try this unless you
> understand what you are doing!

And here is the method to override the check.

> dpkg: error processing /var/cache/apt/archives/udev_215-8_amd64.deb
> (--unpack):
>  subprocess new pre-installation script returned error exit status 1
> update-rc.d: warning: start and stop actions are no longer supported;
> falling back to defaults
> update-rc.d: warning: start and stop actions are no longer supported;
> falling back to defaults
> Processing triggers for man-db ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/udev_215-8_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> --------------------
> 
> The problem seems to be with unpacking the udev package. Googling a bit
> suggests to add "set -x" to the preinst script
> (/var/lib/dpkg/info/udev.preinst is the only one I could find, though I'm
> not entirely sure that's the right one) and then retry with "dpkg
> --configure --pending". But doesn't work:

Don't do this, the preinst script exists for a reason. If you really, 
really want to override the kernel features check the method is 
described above, though you should probably upgrade your kernel instead. 

BTW, what kernel are you running? As far as I understood the Wheezy 
kernel should be fine with Jessie udev (but I could be wrong).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature


Reply to: