Comment 25 for bug 1045285

Revision history for this message
Marius Gedminas (mgedmin) wrote : Re: lucid upgrade to precise fails

The first error in screenlog.0 was

    Setting up lxdm (0.4.1-0ubuntu6) ...
    Installing new version of config file /etc/lxdm/lxdm.conf ...
    Installing new version of config file /etc/lxdm/Xsession ...
    Installing new version of config file /etc/pam.d/lxdm ...
    Installing new version of config file /etc/init/lxdm.conf ...
    dpkg: error processing lxdm (--configure):
     subprocess installed post-installation script returned error exit status 1
    Processing triggers for libc-bin ...
    No apport report written because MaxReports is reached already
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     lxdm

To debug why the lxdm postinst script fails, you need to edit /var/lib/dpkg/info/lxdm.postinst and change the line that says

    set -e

to

    set -ex

to enable verbose output, then run 'sudo dpkg --configure -a' and attach the output here.

If you could do this, it would help any other users that might encounter the same problem during upgrades.