Instalação do Hitch concluída com erros insserv. Não é possível iniciar o engate

Instalação do Hitch concluída com erros insserv. Não é possível iniciar o engate

Estou tentando instalar o Hitch para encerrar os certificados do proxy reverso Varnish no meu Ubuntu 16.04 VPS. A instalação é concluída com as seguintes mensagens e o serviço Hitch não inicia.

sridhar@SastraTechnologies:~$ sudo apt install hitch
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libuv1
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  hitch
0 upgraded, 1 newly installed, 0 to remove and 100 not upgraded.
Need to get 0 B/51.1 kB of archives.
After this operation, 163 kB of additional disk space will be used.
Selecting previously unselected package hitch.
(Reading database ... 249839 files and directories currently installed.)
Preparing to unpack .../hitch_1.1.1-1_amd64.deb ...
Unpacking hitch (1.1.1-1) ...
Processing triggers for systemd (229-4ubuntu21.27) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up hitch (1.1.1-1) ...
insserv: Script nagios is broken: incomplete LSB comment.
insserv: missing `Default-Start:'  entry: please add even if empty.
insserv: missing `Default-Stop:'   entry: please add even if empty.
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `nagios'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `nagios'

Tentei remover o pacote, atualizar o repositório e instalá-lo novamente, mas os resultados são os mesmos. Há algo que eu possa fazer para resolver as mensagens insserv?

Responder1

Talvez seja melhor usar os pacotes oficiais. Você pode encontrá-los emhttps://packagecloud.io/varnishcache/hitch.

Esses pacotes são mantidos pela Varnish Software, contêm uma versão mais recente do Hitch e são atualizados regularmente.

Existem pacotes Ubuntu disponíveis para 16.04 ou versões mais recentes.

Os seguintes comandos farão o trabalho:

$ curl -s https://packagecloud.io/install/repositories/varnishcache/hitch/script.deb.sh | sudo bash
$ sudo apt install -y hitch

informação relacionada