redis-stack / redis-stack-docs

6 stars 55 forks source link

Failed to enable unit: Unit file redis-stack.service does not exist.Install Redis Stack on Linux #100

Open Mazuco opened 2 years ago

Mazuco commented 2 years ago

After run

# sudo dnf install redis-stack-server

Appear this error:

Failed to enable unit: Unit file redis-stack.service does not exist.
Failed to start redis-stack.service: Unit redis-stack.service not found.
aviso: o scriptlet %post(redis-stack-server-7.0.0_RC2-1.rhel7.x86_64) falhou, status de saída 5

Error in POSTIN scriptlet in rpm package redis-stack-server

See the full log below:

[root@redis ~]# sudo dnf install redis-stack-server
Redis                                           4.0 kB/s | 3.9 kB     00:00    
Dependências resolvidas.
================================================================================
 Pacote                   Arquitetura Versão                  Repositório Tamanho
================================================================================
Instalando:
 redis-stack-server       x86_64      7.0.0_RC2-1.rhel7       Redis        29 M
Instalando dependências:
 jemalloc                 x86_64      5.2.1-2.el8             epel        228 k
 jemalloc-devel           x86_64      5.2.1-2.el8             epel         88 k
 keyutils-libs-devel      x86_64      1.5.10-9.el8            baseos       47 k
 krb5-devel               x86_64      1.18.2-14.el8           baseos      559 k
 libcom_err-devel         x86_64      1.45.6-4.el8            baseos       37 k
 libkadm5                 x86_64      1.18.2-14.el8           baseos      186 k
 libselinux-devel         x86_64      2.9-5.el8               baseos      199 k
 libsepol-devel           x86_64      2.9-3.el8               baseos       86 k
 libverto-devel           x86_64      0.3.0-5.el8             baseos       17 k
 openssl-devel            x86_64      1:1.1.1k-7.el8_6        baseos      2.3 M
 pcre2-devel              x86_64      10.32-3.el8_6           baseos      604 k
 pcre2-utf16              x86_64      10.32-3.el8_6           baseos      228 k
 pcre2-utf32              x86_64      10.32-3.el8_6           baseos      219 k

Resumo da transação
================================================================================
Instalar  14 Pacotes

Tamanho total do download: 34 M
Tamanho depois de instalado: 94 M
Correto? [s/N]: s
Baixando pacotes:
(1/14): libcom_err-devel-1.45.6-4.el8.x86_64.rp 112 kB/s |  37 kB     00:00    
(2/14): keyutils-libs-devel-1.5.10-9.el8.x86_64.rpm                                      96 kB/s |  47 kB     00:00    
(3/14): libselinux-devel-2.9-5.el8.x86_64.rpm                                           596 kB/s | 199 kB     00:00    
(4/14): krb5-devel-1.18.2-14.el8.x86_64.rpm                                             563 kB/s | 559 kB     00:00    
(5/14): libsepol-devel-2.9-3.el8.x86_64.rpm                                             250 kB/s |  86 kB     00:00    
(6/14): libkadm5-1.18.2-14.el8.x86_64.rpm                                               186 kB/s | 186 kB     00:00    
(7/14): libverto-devel-0.3.0-5.el8.x86_64.rpm                                            34 kB/s |  17 kB     00:00    
(8/14): pcre2-utf16-10.32-3.el8_6.x86_64.rpm                                            626 kB/s | 228 kB     00:00    
(9/14): pcre2-devel-10.32-3.el8_6.x86_64.rpm                                            1.1 MB/s | 604 kB     00:00    
(10/14): pcre2-utf32-10.32-3.el8_6.x86_64.rpm                                           640 kB/s | 219 kB     00:00    
(11/14): jemalloc-devel-5.2.1-2.el8.x86_64.rpm                                          364 kB/s |  88 kB     00:00    
(12/14): jemalloc-5.2.1-2.el8.x86_64.rpm                                                403 kB/s | 228 kB     00:00    
(13/14): openssl-devel-1.1.1k-7.el8_6.x86_64.rpm                                        857 kB/s | 2.3 MB     00:02    
(14/14): redis-stack-server-7.0.0-RC2.rhel7.x86_64.rpm                                  8.5 MB/s |  29 MB     00:03    
------------------------------------------------------------------------------------------------------------------------
Total                                                                                   4.7 MB/s |  34 MB     00:07     
Extra Packages for Enterprise Linux 8 - x86_64                                          1.6 MB/s | 1.6 kB     00:00    
Importando chave GPG 0x2F86D6A1:
ID de usuário     : "Fedora EPEL (8) <epel@fedoraproject.org>"
 Impressão digital: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
A partir de       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Correto? [s/N]: s
Chave importada com sucesso
Executando verificação da transação
Verificação de transação completa.
Executando teste de transação
Êxito no teste de transação.
Executando a transação
  Preparando          :                                                                                             1/1 
  Instalando          : jemalloc-5.2.1-2.el8.x86_64                                                                1/14 
  Instalando          : jemalloc-devel-5.2.1-2.el8.x86_64                                                          2/14 
  Instalando          : pcre2-utf32-10.32-3.el8_6.x86_64                                                           3/14 
  Instalando          : pcre2-utf16-10.32-3.el8_6.x86_64                                                           4/14 
  Instalando          : pcre2-devel-10.32-3.el8_6.x86_64                                                           5/14 
  Instalando          : libverto-devel-0.3.0-5.el8.x86_64                                                          6/14 
  Instalando          : libsepol-devel-2.9-3.el8.x86_64                                                            7/14 
  Instalando          : libselinux-devel-2.9-5.el8.x86_64                                                          8/14 
  Instalando          : libkadm5-1.18.2-14.el8.x86_64                                                              9/14 
  Instalando          : libcom_err-devel-1.45.6-4.el8.x86_64                                                      10/14 
  Instalando          : keyutils-libs-devel-1.5.10-9.el8.x86_64                                                   11/14 
  Instalando          : krb5-devel-1.18.2-14.el8.x86_64                                                           12/14 
  Instalando          : openssl-devel-1:1.1.1k-7.el8_6.x86_64                                                     13/14 
  Instalando          : redis-stack-server-7.0.0_RC2-1.rhel7.x86_64                                               14/14 
  Executando scriptlet: redis-stack-server-7.0.0_RC2-1.rhel7.x86_64                                               14/14 
Failed to enable unit: Unit file redis-stack.service does not exist.
Failed to start redis-stack.service: Unit redis-stack.service not found.
aviso: o scriptlet %post(redis-stack-server-7.0.0_RC2-1.rhel7.x86_64) falhou, status de saída 5

Error in POSTIN scriptlet in rpm package redis-stack-server
  Verificando         : keyutils-libs-devel-1.5.10-9.el8.x86_64                                                    1/14 
  Verificando         : krb5-devel-1.18.2-14.el8.x86_64                                                            2/14 
  Verificando         : libcom_err-devel-1.45.6-4.el8.x86_64                                                       3/14 
  Verificando         : libkadm5-1.18.2-14.el8.x86_64                                                              4/14 
  Verificando         : libselinux-devel-2.9-5.el8.x86_64                                                          5/14 
  Verificando         : libsepol-devel-2.9-3.el8.x86_64                                                            6/14 
  Verificando         : libverto-devel-0.3.0-5.el8.x86_64                                                          7/14 
  Verificando         : openssl-devel-1:1.1.1k-7.el8_6.x86_64                                                      8/14 
  Verificando         : pcre2-devel-10.32-3.el8_6.x86_64                                                           9/14 
  Verificando         : pcre2-utf16-10.32-3.el8_6.x86_64                                                          10/14 
  Verificando         : pcre2-utf32-10.32-3.el8_6.x86_64                                                          11/14 
  Verificando         : jemalloc-5.2.1-2.el8.x86_64                                                               12/14 
  Verificando         : jemalloc-devel-5.2.1-2.el8.x86_64                                                         13/14 
  Verificando         : redis-stack-server-7.0.0_RC2-1.rhel7.x86_64                                               14/14 

Instalados:
  jemalloc-5.2.1-2.el8.x86_64                              jemalloc-devel-5.2.1-2.el8.x86_64                           
  keyutils-libs-devel-1.5.10-9.el8.x86_64                  krb5-devel-1.18.2-14.el8.x86_64                             
  libcom_err-devel-1.45.6-4.el8.x86_64                     libkadm5-1.18.2-14.el8.x86_64                               
  libselinux-devel-2.9-5.el8.x86_64                        libsepol-devel-2.9-3.el8.x86_64                             
  libverto-devel-0.3.0-5.el8.x86_64                        openssl-devel-1:1.1.1k-7.el8_6.x86_64                       
  pcre2-devel-10.32-3.el8_6.x86_64                         pcre2-utf16-10.32-3.el8_6.x86_64                            
  pcre2-utf32-10.32-3.el8_6.x86_64                         redis-stack-server-7.0.0_RC2-1.rhel7.x86_64                 

Concluído!
martindale commented 7 months ago

Can confirm this issue also exists on Ubuntu...