Debian jessie 拉伸升级问题 - “systemd 破坏 udev”

Debian jessie 拉伸升级问题 - “systemd 破坏 udev”

我一直在尝试将当前的 Debian Jessie 升级到 Stretch。

不幸的是,apt-get dist-upgrade失败时,它返回:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 systemd : Breaks: udev (< 228-5)
           Recommends: libpam-systemd but it is not installed
           Breaks: udev:i386 (< 228-5)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

另外,建议apt --fix-broken install失败:

Do you want to continue? [T/n] t
Reading changelogs... Done
(Reading database ... 188728 files and directories currently installed.)
Preparing to unpack .../archives/udev_232-15_amd64.deb ...
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)
dpkg: error processing archive /var/cache/apt/archives/udev_232-15_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
insserv: warning: script 'K01jira' missing LSB tags and overrides
insserv: warning: script 'jira' missing LSB tags and overrides
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'K01jira' missing LSB tags and overrides
insserv: warning: script 'jira' missing LSB tags and overrides
Errors were encountered while processing:
 /var/cache/apt/archives/udev_232-15_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

我猜 Stretch 需要比当前内核更新的内核:

~# uname -r
3.2.13-grsec-xxxx-grs-ipv6-64

但尝试安装新的linux-image-*由于udevsystemd问题而失败。

提前致谢!

相关内容