invoke-rc.d: initscript systemd-logind, action "start" failed
2016-07-01 15:50
627 查看
invoke-rc.d: initscript systemd-logind, action “start” failed
最近一段时间在给arm板子上面的ubuntu server安装图形界面,在安装lxde过程当中遇到了Package libpam-systemd:armhf is not configured yet.等问题,这个过程纠结了好久,但结果并不如意。今天在查找问题时偶然发现了这个网站bug,原来是内核太老的原因。
Setting up libpam-systemd:armhf (204-5ubuntu20.19) ... start: Job failed to start invoke-rc.d: initscript systemd-logind, action "start" failed. dpkg: error processing package libpam-systemd:armhf (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of pulseaudio: pulseaudio depends on libpam-systemd; however: Package libpam-systemd:armhf is not configured yet. dpkg: error processing package pulseaudio (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of policykit-1: policykit-1 depends on libpam-systemd; however: Package libpam-systemd:armhf is not configured yet. dpkg: error processing package policykit-1 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of pulseaudio-module-x11: pulseaudio-module-x11 depends on pulseaudio; however: Package pulseaudio is not configured yet. dpkg: error processing package pulseaudio-module-x11 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of colord: colord depends on policykit-1 (>= 0.103); however: Package policykit-1 is not configured yet. dpkg: error processing package colord (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libpam-systemd:armhf pulseaudio policykit-1 pulseaudio-module-x11 colord
If it helps anyone else, I was getting this because my VPS provider was (unbeknownst to me) overriding the default kernel and using the same kernel as when the server was first created (a 2.6 one). Once I bumped this up to a less ancient version, there was no longer a problem.
To check if you’ve got the same problem, this was the step in the postinst script which failed for me:
sudo invoke-rc.d systemd-logind start
and looking in the log:
sudo tail /var/log/upstart/systemd-logind.log
gave this line which indicated an old kernel without cgroups support:
mount: mount point /sys/fs/cgroup does not exist
所以,需要更新内核!
相关文章推荐
- #新闻拍一拍# IBM 招聘广告要求应聘者具备至少 12 年 K8S 使用经验
- Ubuntu 默认壁纸历代记
- Ubuntu Remix Cinnamon 20.04 评测:Ubuntu 与 Cinnamon 的完美融合
- 关于Ubuntu 11.10启动提示waiting for the network configuration的问题
- 在 Ubuntu 桌面中使用文件和文件夹
- ubuntu下chrome无法同步问题解决
- Ubuntu Linux使用体验
- 使用 GNOME 优化工具自定义 Linux 桌面的 10 种方法
- 以Ubuntu 9.04为例 将工作环境迁移到 Linux
- VirtualBox虚拟机XP与宿主机Ubuntu互访共享文件夹
- 从USB安装Ubuntu Server 10.04.3 图文详解
- Ubuntu 15.04 正式版发布下载
- vivi下重新调整分区
- Linux-Ubuntu 10.04安装Cadence-ic610 方法总结图解
- Ubuntu 12.04和Windows 7双系统安装图解
- Ubuntu /home下中文目录如何修改成英文?
- 开机出现:grub rescue的修复方法
- Ubuntu连接Android真机调试
- 你应该选择 Ubuntu 还是 Fedora?
- 100 个最佳 Ubuntu 应用(中)