Problems with Mail2 update

pop3connector
mail2
mail

(Jose Manuel Insausti) #1

NethServer Version: NethServer release 7.5.1804
Module: email2

I have updated the email to email2 and pop3 to pop32 as the manual says.

The update of email2 has not given problems.

but I could not update to pop3 (2)

pop3 appears on the dashboard and is working. But pop3 appears in the available applications. (no installer)

If I try to install nethserver-pop3connector2 the error is "Resolving RPM dependencies
The installation / update may have failed due to metadata caching problems. Please clean the cache by clicking the button below and try the installation / update operation again. "

I have cleaned the cache but the problem persists.


Nethserver upgrade issues with the yum
(Davide Principi) #2

What are the yum commands you typed? Please attach the output of

history | grep yum | tail -10

Also

rpm -qa | grep ^nethserver | sort

(Jose Manuel Insausti) #3
[root@sede22 ~]# history | grep yum | tail -10
  279  2018-06-19 20:00:35 yum swap     -- remove nethserver-mail-{common,disclaimer,filter,server}     -- install nethserver-mail2-{common,disclaimer,filter,server}
  280  2018-06-19 20:02:25 yum swap     -- remove nethserver-mail-{common,disclaimer,filter,server} nethserver-getmail nethserver-spamd     -- install nethserver-mail2-{common,disclaimer,filter,server,getmail}
  347  2018-06-20 11:31:30 nethserver-yum-1.4.1-1.ns7.noarch
  348  2018-06-20 11:32:27 yum swap     -- remove nethserver-mail-{common,disclaimer,filter,server}     -- install nethserver-mail2-{common,disclaimer,filter,server}
  349  2018-06-20 11:34:22 yum swap     -- remove nethserver-mail-{common,disclaimer,filter,server}     -- install nethserver-mail2-{common,disclaimer,filter,server}
  350  2018-06-20 11:34:48 yum swap     -- remove nethserver-mail-{common,disclaimer,filter,server} nethserver-getmail nethserver-spamd     -- install nethserver-mail2-{common,disclaimer,filter,server,getmail}
  351  2018-06-20 11:35:36 history | grep yum | tail -10

[root@sede22 ~]# rpm -qa | grep ^nethserver | sort
nethserver-antivirus-1.2.1-1.ns7.noarch
nethserver-avahi-1.1.0-1.ns7.noarch
nethserver-backup-config-2.0.4-1.ns7.noarch
nethserver-backup-config-2.1.0-1.ns7.noarch
nethserver-backup-data-1.3.3-1.ns7.noarch
nethserver-backup-data-1.3.4-1.ns7.noarch
nethserver-base-3.1.5-1.ns7.noarch
nethserver-base-3.3.0-1.ns7.noarch
nethserver-cups-1.2.1-1.ns7.noarch
nethserver-dc-1.5.0-1.ns7.x86_64
nethserver-dc-1.5.2-1.ns7.x86_64
nethserver-diagtools-1.0.1-1.ns7.noarch
nethserver-diagtools-1.0.2-1.ns7.noarch
nethserver-dnsmasq-1.6.6-1.ns7.noarch
nethserver-duc-1.4.3-1.ns7.noarch
nethserver-firewall-base-3.3.2-1.ns7.noarch
nethserver-firewall-base-3.4.1-1.ns7.noarch
nethserver-getmail-1.0.3-1.ns7.noarch
nethserver-hosts-1.2.2-1.ns7.noarch
nethserver-httpd-3.2.0-1.ns7.noarch
nethserver-httpd-3.2.4-1.ns7.noarch
nethserver-httpd-admin-2.3.1-1.ns7.noarch
nethserver-lang-en-1.2.10-1.ns7.noarch
nethserver-lang-en-1.2.11-1.ns7.noarch
nethserver-lang-es-1.2.10-1.ns7.noarch
nethserver-lang-es-1.2.11-1.ns7.noarch
nethserver-letsencrypt-1.1.6-1.ns7.noarch
nethserver-lib-2.2.7-1.ns7.noarch
nethserver-lsm-1.2.3-1.ns7.noarch
nethserver-mail2-common-2.2.2-1.ns7.noarch
nethserver-mail2-disclaimer-2.2.2-1.ns7.noarch
nethserver-mail2-filter-2.2.2-1.ns7.noarch
nethserver-mail2-server-2.2.2-1.ns7.noarch
nethserver-mail-smarthost-1.0.1-1.ns7.noarch
nethserver-mysql-1.1.3-1.ns7.noarch
nethserver-nethforge-release-7-0.3.ns7.noarch
nethserver-nethforge-release-7-2.ns7.noarch
nethserver-ntp-1.1.3-1.ns7.noarch
nethserver-openssh-1.2.2-1.ns7.noarch
nethserver-phonehome-1.3.0-1.ns7.noarch
nethserver-php-1.2.0-1.ns7.noarch
nethserver-postgresql-1.1.0-1.ns7.noarch
nethserver-release-7-5.ns7.noarch
nethserver-release-7-8.ns7.noarch
nethserver-restore-data-1.2.3-1.ns7.noarch
nethserver-restore-data-1.2.4-1.ns7.noarch
nethserver-roundcubemail-1.2.9-1.ns7.noarch
nethserver-samba-4.1.0-1.ns7.noarch
nethserver-samba-audit-1.1.5-1.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
nethserver-spamd-1.0.1-1.ns7.noarch
nethserver-sssd-1.3.7-1.ns7.noarch
nethserver-sssd-1.3.8-1.ns7.noarch
nethserver-unbound-1.1.0-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch

(Jose Manuel Insausti) #4
yum swap \
    -- remove nethserver-mail-{common,disclaimer,filter,server} nethserver-getmail nethserver-spamd \
    -- install nethserver-mail2-{common,disclaimer,filter,server,getmail}

--> Resolución de dependencias finalizada

Dependencias resueltas

==========================================================================================================================================
 Package                                     Arquitectura           Versión                     Repositorio                         Tamaño
==========================================================================================================================================
Instalando:
 nethserver-mail2-getmail                    noarch                 2.2.2-1.ns7                 nethserver-updates                   38 k
Eliminando:
 nethserver-getmail                          noarch                 1.0.3-1.ns7                 @nethserver-updates                  58 k
 nethserver-spamd                            noarch                 1.0.1-1.ns7                 @nethserver-updates                  35 k
Reinstalando:
 nethserver-mail2-common                     noarch                 2.2.2-1.ns7                 nethserver-updates                   57 k
 nethserver-mail2-disclaimer                 noarch                 2.2.2-1.ns7                 nethserver-updates                   31 k
 nethserver-mail2-filter                     noarch                 2.2.2-1.ns7                 nethserver-updates                   66 k
 nethserver-mail2-server                     noarch                 2.2.2-1.ns7                 nethserver-updates                  110 k

Resumen de la transacción
==========================================================================================================================================
Instalar    1 Paquete
Eliminar    2 Paquetes
Reinstalar  4 Paquetes

Tamaño total: 302 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
ERROR en el chequeo de la transacción vs resolución de dependencias:
nethserver-mail-disclaimer conflicts with nethserver-mail2-disclaimer-2.2.2-1.ns7.noarch
nethserver-mail-disclaimer conflicts with (installed) nethserver-mail2-disclaimer-2.2.2-1.ns7.noarch
nethserver-mail-filter conflicts with nethserver-mail2-filter-2.2.2-1.ns7.noarch
nethserver-mail-filter conflicts with (installed) nethserver-mail2-filter-2.2.2-1.ns7.noarch
nethserver-mail-server conflicts with nethserver-mail2-server-2.2.2-1.ns7.noarch
nethserver-mail-server conflicts with (installed) nethserver-mail2-server-2.2.2-1.ns7.noarch
nethserver-mail-common conflicts with nethserver-mail2-common-2.2.2-1.ns7.noarch
nethserver-mail-common conflicts with (installed) nethserver-mail2-common-2.2.2-1.ns7.noarch
** Se ha encontrado 296 problema(s) pre existentes en la base de datos RPM, este es el resultado de 'yum check':

(Davide Principi) #5

I think the issue originates from the first command. You should have directly applied the command “280”, documented here

http://docs.nethserver.org/en/v7/mail2.html#from-pop3-connector-module

The result is that it wasn’t replaced by nethserver-mail2-getmail. To fix the issue, please try

yum swap -- remove nethserver-getmail nethserver-spamd -- install nethserver-mail2-getmail

(Jose Manuel Insausti) #6
[root@sede22 ~]# yum swap -- remove nethserver-getmail nethserver-spamd -- install nethserver-mail2-getmail
Complementos cargados:changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
 * base: mirror.airenetworks.es
 * epel: mirror.airenetworks.es
 * extras: mirror.gadix.com
 * nethforge: mirror.pcxlan.es
 * nethserver-base: mirror.pcxlan.es
 * nethserver-updates: mirror.pcxlan.es
 * updates: mirror.airenetworks.es
Resolviendo dependencias
--> Ejecutando prueba de transacción
---> Paquete nethserver-getmail.noarch 0:1.0.3-1.ns7 debe ser eliminado
---> Paquete nethserver-mail2-getmail.noarch 0:2.2.2-1.ns7 debe ser instalado
---> Paquete nethserver-spamd.noarch 0:1.0.1-1.ns7 debe ser eliminado
--> Resolución de dependencias finalizada

Dependencias resueltas

========================================================================================================================================================================
 Package                                          Arquitectura                   Versión                              Repositorio                                 Tamaño
========================================================================================================================================================================
Instalando:
 nethserver-mail2-getmail                         noarch                         2.2.2-1.ns7                          nethserver-updates                           38 k
Eliminando:
 nethserver-getmail                               noarch                         1.0.3-1.ns7                          @nethserver-updates                          58 k
 nethserver-spamd                                 noarch                         1.0.1-1.ns7                          @nethserver-updates                          35 k

Resumen de la transacción
========================================================================================================================================================================
Instalar  1 Paquete
Eliminar  2 Paquetes

Tamaño total: 38 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Instalando    : nethserver-mail2-getmail-2.2.2-1.ns7.noarch                                                                                                       1/3
  Eliminando    : nethserver-getmail-1.0.3-1.ns7.noarch                                                                                                             2/3
  Eliminando    : nethserver-spamd-1.0.1-1.ns7.noarch                                                                                                               3/3
  Comprobando   : nethserver-mail2-getmail-2.2.2-1.ns7.noarch                                                                                                       1/3
  Comprobando   : nethserver-spamd-1.0.1-1.ns7.noarch                                                                                                               2/3
  Comprobando   : nethserver-getmail-1.0.3-1.ns7.noarch                                                                                                             3/3

Eliminado(s):
  nethserver-getmail.noarch 0:1.0.3-1.ns7                                             nethserver-spamd.noarch 0:1.0.1-1.ns7

Instalado:
  nethserver-mail2-getmail.noarch 0:2.2.2-1.ns7

¡Listo!