autodl运行ollama报错Failed to connect to bus: Host i&Error, pkgProblemResolver::Resolve generated breaks

执行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

又报错:

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

解决办法:

sudo aptitude install 

系统给出解决方案:

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

输入 Y,等待!

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

sudo apt-get install aptitude

再次安装,问题解决!

你可能感兴趣的:(编程笔记(问题解决),部署&Linux运维,linux,运维,服务器)