/usr/bin/deb-systemd-helper: error: systemctl preset failed on openvpn.service: No such file or directory Setting up ubuntu-drivers-common (1:0.9.6.1) ... Failed to preset unit: Transport endpoint is not connected /usr/bin/deb-systemd-helper: error: systemctl preset failed on gpu-manager...
3、无法安装包 安装某个包时报错 Unable to locate package xxxxx 说明按现在本地的更新源数据,无法安装对应的包,解决办法就是更新更新源的数据三连击: sudo apt update sudo apt-getupdate sudo apt-getupgrade 4、无法开启服务 开启某个 service 时,比如 service sshd start sshd: unrecognized service 原因可能...
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package vim 则需要先同步 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的索引,这样才能获取到最新的软件包。执行以下命令来更新 apt-get update 更新完毕再安装即可。我们修改...
~$ sudo apt install dotnet-sdk-2.1 [sudo] password for akalcik: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package dotnet-sdk-2.1 E: Couldn't find any package by glob 'dotnet-sdk-2.1' E: Couldn't find any package by ...