首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当我试图将Ubuntu 16.04升级到Ubuntu 16.10时,“在处理systemd时遇到了错误”

当我试图将Ubuntu 16.04升级到Ubuntu 16.10时,“在处理systemd时遇到了错误”
EN

Ask Ubuntu用户
提问于 2016-10-20 09:28:20
回答 1查看 1.7K关注 0票数 2
代码语言:javascript
复制
Preconfiguring packages ...
(Reading database ... 238478 files and directories currently installed.)
Removing systemd-shim (9-1bzr4ubuntu1) ...
Removing 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
dpkg-divert: error: rename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
  different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed
dpkg: error processing package systemd-shim (--remove):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 systemd-shim
E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2016-10-20 10:06:25

/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service重命名为/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.bak和do

代码语言:javascript
复制
 sudo apt upgrade 
票数 4
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/839560

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档