Hi, When in Ubuntu 11.04 and I try to install a program not related to Moodle I get an error message that refers to Moodle processing errors:
# apt-get install screen
Reading package lists... Done
Building dependency tree
Reading state information... Done
screen is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 162 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up moodle (1.9.9.dfsg2-3) ...
dbconfig-common: writing config to /etc/dbconfig-common/moodle.conf
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
dpkg: error processing moodle (--configure):
subprocess installed post-installation script returned error exit status 10
No apport report written because MaxReports is reached already
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Why does this happen and how can Install software without this error / reference to Moodle?