当前位置:   article > 正文

autodl运行ollama报错Failed to connect to bus: Host i&Error, pkgProblemResolver::Resolve generated breaks_autodl中报错failed to connect to bus: host is down

autodl中报错failed to connect to bus: host is down

执行systemctl start ollama报错:

System has not been booted with systemd as init system (PID 1). Can’t
operate. Failed to connect to bus: Host is down

其实是未安装systemctl;

那么安装systemctl:

apt-get install systemctl
  • 1

又报错:

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
发生故障,这可能是有软件包被要求保持现状的缘故。 E: 无法更正依赖关系

解决办法:

sudo aptitude install <packagename>
  • 1

系统给出解决方案:

是否接受该解决方案?[Y/n/q?]
  • 1

输入 Y,等待!

如果显示没有"aptitude"这个命令,安装它

sudo apt-get install aptitude
  • 1

再次安装,问题解决!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/1008472
推荐阅读
相关标签
  

闽ICP备14008679号