BUG: Debian install - missing config.ini.php, not found apache and Database Error

When Installing Piwik on Debian Server (minimal, 8.2) there were several mistakes in automatic configuration:
I wass following the installation instructions at http://debian.piwik.org/
here a piece of my log immediately after selecting that I want to enable automatic database upgrade:

`Lighttpd not installed, skipping

APACHE IS INSTALLED

Apache2 not installed, skipping

  • Piwik main configuration files are stored in /etc/piwik/
  • Piwik crontab file is stored in /etc/cron.d/piwik-archive
  • When installing/using piwik, make sure you disable any ads blocker
  • Please wait while Piwik is upgrading…
THE CONFIGURATION FILE IS MISSING

The configuration file {/usr/share/piwik/config/config.ini.php} has not been found or could not be read.
If the file exists, please check that /usr/share/piwik/config/config.ini.php is readable by the user ‘root’.

    #####THIS AREA IS RED #####                                                                                       

[Zend_Db_Adapter_Exception]
SQLSTATE[28000] [1045] Access denied for user ‘root’@‘localhost’ (using password: NO)
#####END RED #####

#####THIS AREA IS RED #####
[PDOException]
SQLSTATE[28000] [1045] Access denied for user ‘root’@‘localhost’ (using password: NO)
#####END RED #####

gREEN:
core:update [–yes]

dpkg: Fehler beim Bearbeiten des Paketes piwik (–configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 255 zurück
Fehler traten auf beim Bearbeiten von:
piwik
E: Sub-process /usr/bin/dpkg returned an error code (1)
`
So at first piwik couldnt find apache2, although it is installed, then a configuration file was missing, but this should be created during installation and at least there was a database error.
Maybe there should be added something like it is when installing PHPMYADMIN, there it asks all the necessary things like Webserver to be used, password of the database, …
Of course piwik cant access my database without using a password.

The problem with the missing config.ini.php could be solved by copying the global.ini.php. But I don’t know if it is correct

Hi @AnonymusChaotic

Would you mind posting your feedback in the debian issue tracker? Issues · matomo-org/piwik-package · GitHub

The debian maintainer does not read these forums, thanks!

Done! (very late, but…)
It is published here Automatic Configuration fails when installing on Debian 8.2 Virtual Server · Issue #44 · matomo-org/piwik-package · GitHub

Is there any news on this. Some solution found?

See in the issue (debian package maintainer is not reading this)