Upgrade Debian to unstable on VirtualBox: udev problem

Posted by Ken on Super User See other posts from Super User or by Ken
Published on 2010-04-05T22:22:12Z Indexed on 2010/04/05 22:23 UTC
Read the original article Hit count: 434

Filed under:
|
|

I'm running Debian stable on VirtualBox on Windows Vista 64-bit Ultimate. It's been running great, but I needed some newer packages, so I put sid in my sources.list to upgrade to unstable (as I've done a dozen times on various Linux boxes over the years).

When I upgraded, something went screwy and it asked me to run apt-get -f install to fix them, which gave this:

(Reading database ... 77846 files and directories currently installed.)
Preparing to replace udev 0.125-7+lenny3 (using .../archives/udev_151-3_amd64.deb) ...


Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED
feature is disabled in the running kernel.

Please upgrade your kernel before or while upgrading udev.

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!


dpkg: error processing /var/cache/apt/archives/udev_151-3_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
insserv: warning: current start runlevel(s) (2 3 4 5) of script `vboxadd-x11' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `vboxadd-x11' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (2 3 4 5) of script `vboxadd-x11' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `vboxadd-x11' overwrites defaults (empty).
Errors were encountered while processing:
 /var/cache/apt/archives/udev_151-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have the VirtualBox extensions installed, and it looks like the udev install doesn't know what to make of them. But I don't know exactly where/how they're installed (I just ran the VBoxLinuxAdditions-amd64.run script, basically), so I don't know how to disable them.

Any ideas? Thanks!

© Super User or respective owner

Related posts about virtualbox

Related posts about debian