Вот сделка, я пытаюсь установить Nginx на моем почти чистом сервере Debian 9. В основном я пытался
sudo apt-get установить nginx
и вот вывод:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nginx : Depends: nginx-extras (>= 1:1.12.1-8.5.1.8~jessie1) but it is not going to be installed
Depends: nginx-extras (< 1:1.12.1-8.5.1.8~jessie1.1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
вход:
/etc/apt/source.list
выход:
deb http://cdn-aws.deb.debian.org/debian stretch main
deb http://security.debian.org stretch/updates main
deb http://cdn-aws.deb.debian.org/debian stretch-updates main
вход:
apt-cache policy nginx
выход:
nginx:
Installed: (none)
Candidate: 1:1.12.1-8.5.1.8~jessie1
Version table:
1:1.12.1-8.5.1.8~jessie1 500
500 https://oss-binaries.phusionpassenger.com/apt/passenger jessie/main amd64 Packages
.
.
.
1:1.6.3-8.5.0.8~jessie1 500
500 https://oss-binaries.phusionpassenger.com/apt/passenger jessie/main amd64 Packages
1.10.3-1+deb9u1 500
500 http://cdn-aws.deb.debian.org/debian stretch/main amd64 Packages
500 http://security.debian.org stretch/updates/main amd64 Packages
вход:
cat /etc/apt/sources.list.d/*
выход:
deb https://oss-binaries.phusionpassenger.com/apt/passenger jessie main
deb https://oss-binaries.phusionpassenger.com/apt/passenger stretch main