Я пытаюсь установить кэш Varnish на Ubuntu 14.04 и получаю следующее:
The following packages have unmet dependencies:
varnish : Depends: libjemalloc1 (>=2.1.1) but it is not installable
Depends: gcc but it is not installable
E: Unable to correct problems, you have held broken packages.
Вот как я это сделал:
apt-get install apt-transport-https
apt-get install curl
curl https://repo.varnish-cache.org/ubuntu/GPG-key.txt | apt-key add -
echo "deb https://repo.varnish-cache.org/ubuntu/ trusty varnish-4.0" >> /etc/apt/sources.list.d/varnish-cache.list
apt-get update
apt-get install varnish
Я только что установил Trusty in VMWare VM для проведения некоторых тестов с Nginx и Varnish. Любые идеи о том, как исправить?
Выход из apt-cache policy libjemalloc1
libjemalloc1:
Installed: (none)
Candidate: (none)
Version table:
Тот же вывод с
apt-cache policy gcc