The following packages have unmet dependencies: nginx : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed Depends: libssl1.1 (>= 1.1.1) but 1.1.0l-1~deb9u6 is to be installed E: Unable to correct problems, you have held broken packages. root@localhost:~# sudo apt install nginx=1.18.0-1 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '1.18.0-1' for 'nginx' was not found root@localhost:~#
时间: 2023-06-03 11:06:13 浏览: 672
anaconda安装pytorch时报错PackagesNotFoundError: The following packages are not available from current cha
5星 · 资源好评率100%
这个错误提示的意思是,安装nginx时出现了未解决的依赖关系。具体来说是,nginx需要 libc6 2.28及以上版本和 libssl1.1 1.1.1及以上版本,但当前系统安装的版本分别是 libc6 2.24-11 deb9u4和 libssl1.1 1.1.0l-1~deb9u6,不符合要求。由于存在无法解决的问题,因此无法安装nginx,可能是因为存在其他已损坏的软件包。
阅读全文