problems with 10.04 upgrade to 12.04

Marius Gedminas marius at pov.lt
Wed Sep 5 09:13:34 UTC 2012


On Wed, Sep 05, 2012 at 11:42:08AM +0300, Marius Gedminas wrote:
> On Wed, Sep 05, 2012 at 09:30:02AM +0100, Dave Howorth wrote:
> > Ric Moore wrote:
> > > What website are you running?? Drupal? WordPress? Or something custom? Ric
> > 
> > Actually, thanks for that question. It prompted me to look at the site
> > and it is running. Woohoo! That's the good news; sadly, it's supposed to
> > be rebuilt every night to reflect the day's work and the scripts that do
> > that are crashing as part of this upgrade foulup.
> 
> Have you ever pastebin'ed the full output of the following commands?
> 
>   sudo dpkg --configure -a
>   sudo apt-get -f install
>   sudo apt-get dist-upgrade

Meanwhile I found the bug you originally filed (http://pad.lv/1045285)
and the log files attached (screenlog.0 is especially interesting).

The first error 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

It looks like the rest were just a cascade due to missing dependencies
caused by the aborted upgrade because of that first error.

First of all, what is a graphical display manager doing on a server?

Second, no wonder the workaround of disabling dpkg preconfiguration
didn't help, because your problem is totally unrelated to that other
one.

I've added a comment to the bug in Launchpad asking for some additional
information that would be necessary to track this bug down.  It would be
helpful for others if you could do what I asked there (edit the postinst
script to increase verbosity by using set -ex, then re-run dpkg
--configure -a and attach the output to the bug).

Anyway, the quickest path to a fully functional machine would be to
sidestep the bug by removing the lxdm package:

  sudo apt-get remove lxdm

followed by the usual

  sudo apt-get install -f
  sudo apt-get dist-upgrade

(If you attempt this and get any errors, please pastebin the full
output.)

Marius Gedminas
-- 
Stupidity management for the superuser is a user space issue in Unix
systems.
		-- Alan Cox
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120905/6c382775/attachment.sig>


More information about the ubuntu-users mailing list