package moodle 1.9.9.dfsg2-6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1056825 reported by makis on 2012-09-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
moodle (Ubuntu)
Undecided
Unassigned

Bug Description

Ubuntu 12.04. MySQL is not correctly installed.... Sorry.

Setting up moodle (1.9.9.dfsg2-6) ...
dbconfig-common: writing config to /etc/dbconfig-common/moodle.conf
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: moodle configure: trying again.
dbconfig-common: writing config to /etc/dbconfig-common/moodle.conf
warning: database package not installed?
dbconfig-common: moodle configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing moodle (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: moodle 1.9.9.dfsg2-6
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
Uname: Linux 3.2.0-31-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Wed Sep 26 14:29:39 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
SourcePackage: moodle
Title: package moodle 1.9.9.dfsg2-6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

makis (mark-pierce) wrote :
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers