1
0
-1

I am requesting that the documentation be updated to provide the correct prerequisite packages required for Ubuntu 20.04 LTS. 

At first I thought the best list of prerequisites would be in the 'How To Install or Upgrade Open-AudIT (Linux)' page (2019-03-12), but more recent prerequisite information is provided in the 'Server Requirements' page (2020-12-11). 

I also noticed that the release notes for OA v3.3.1 mention moving to mariadb-server for Ubuntu 20.04 instead of mysql-server, yet this "apt-get install" line is still using mysql-server instead of mariadb-server.  I looked through all the other release notes from v3.3.2 up to v4.0.1, but don't see any mention of switching back to mysql-server.  So should this "apt-get install" line be using mariadb-server?


The prerequisites provided by the Server Requirements page for Ubuntu 16.06+ are as follows:

$ sudo apt-get install mysql-server apache2 apache2-utils libapache2-mod-php openssh-client php php-ldap php-mbstring php-mcrypt php-mysql php-snmp php-simplexml nmap zip wget curl sshpass screen smbclient logrotate libtime-modules-perl ipmitool rrdtool librrd4 libpng12-0


That command attempts to perform the install, but conks out early because packages cannot be found:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php7.4-xml' instead of 'php-simplexml'
Package libtime-modules-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libtime-parsedate-perl

Package php-mcrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package librrd4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libpng12-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php-mcrypt' has no installation candidate
E: Package 'libtime-modules-perl' has no installation candidate
E: Package 'librrd4' has no installation candidate
E: Package 'libpng12-0' has no installation candidate
  1. Greg DeCecco

    Thinking that the problem lies with Ubuntu 20.04, I installed a copy of Ubuntu 18.04 and tried again.  Success still eludes me.

    $ sudo apt-get install mysql-server apache2 apache2-utils libapache2-mod-php openssh-client php php-ldap php-mbstring php-mcrypt php-mysql php-snmp php-simplexml nmap zip wget curl sshpass screen smbclient logrotaime-modules-perl ipmitool rrdtool librrd4 libpng12-0

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'php7.2-xml' instead of 'php-simplexml'
    Package php-mcrypt is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package libpng12-0 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package librrd4 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'php-mcrypt' has no installation candidate
    E: Package 'librrd4' has no installation candidate
    E: Package 'libpng12-0' has no installation candidate
  2. Greg DeCecco

    CentOS 8 also had issues, but success was achieved with CentOS 7 and Windows Server 2019.

CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    The page Server Requirements was not up to date, apologies.

    I have updated the How To Install or Upgrade Open-AudIT (Linux) page with 20.04.

    If you run the installer, it should take care of all dependencies for you.


    Installing either mysql-server or mariadb-server is fine.

    We install MySQL for Ubuntu < 20.04 and MariaDB for 20.04 and onwards.

    We don't install php-mcrypt for Ubuntu 18.04+ (removed as at php 7.x).

    libpng12-0 and librrd4 are available from the xenial repository.

    We now install php-xml, not simple-xml.


    Mark.

      CommentAdd your comment...