MailScanner / v5

MailScanner v5
GNU General Public License v2.0
188 stars 60 forks source link

Installer tries to install IP::Country;;DB_File #587

Closed RobinR1 closed 2 years ago

RobinR1 commented 2 years ago

Describe the bug When /usr/sbin/ms-configure is started after installation of the RPM. The script installs all required dependencies. One of those is IP::Country::DB_File but the script actually tries to find and install IP::Country;;DB_File and obviously fails in doing so. (mind the ;; between County and DB_File). At least on the Suse version of the RPM. I assume this is a typo somewhere.

To Reproduce Steps to reproduce the behavior:

  1. Install RPM on clean (Suse?) system
  2. Execute /usr/sbin/ms-configure
  3. Answer questions and let script install/configure the system
  4. See error:
    
    IP::Country;;DB_File is missing. Trying to install via Zypper ...

Loading repository data... Reading installed packages... 'perl(IP::Country;;DB_File)' not found in package names. Trying capabilities. No provider of 'perl(IP::Country;;DB_File)' found. Resolving package dependencies... Nothing to do.

...

IP::Country;;DB_File is missing. Installing via CPAN ...

! Finding IP::Country;;DB_File on cpanmetadb failed. ! Finding IP::Country;;DB_File () on mirror http://www.cpan.org failed. ! Couldn't find module or a distribution IP::Country;;DB_File namespace::autoclean => OK



**Expected behavior**
Installation of dependency `IP::Country::DB_File`

***Server :**
 - OS: openSuse Leap 15.3
 - Mandatory Access Control Enforcement: Apparmor
 - MailScanner Version: 5.4.3
 - OS Version: 15.3 - kernel 5.3.18-59.37-default
 - Installation method: Package
 - Installation: New
 - Containerized: No
msapiro commented 2 years ago

In /usr/sbin/ms-configure installed from MailScanner-5.4.3-2.noarch.deb this is not an issue.

RobinR1 commented 2 years ago

I encountered this with MailScanner-5.4.3-2.suse.noarch.rpm