Fails to install: preinst failure

Bug #940255 reported by LaMont Jones
50
This bug affects 6 people
Affects Status Importance Assigned to Milestone
mythbuntu-lightdm-theme (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

While upgrading today:

Preparing to replace mythbuntu-lightdm-theme 0.9 (using .../mythbuntu-lightdm-theme_1.0_all.deb) ...
No diversion 'diversion of /etc/lightdm/lightdm-gtk-greeter.conf to /etc/lightdm/lightdm-gtk-greeter.conf.diverted by mythbuntu-default-settings', none removed.
rm: cannot remove `/etc/lightdm/lightdm-gtk-greeter.conf': No such file or directory
dpkg: error processing /var/cache/apt/archives/mythbuntu-lightdm-theme_1.0_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mythbuntu-lightdm-theme (Ubuntu):
status: New → Confirmed
Revision history for this message
Julian Melendez Castellanos (julianmelendezc) wrote :

At the time , I was upgrading distro itself
Process stopped with warning , same error as mentioned above

No diversion 'diversion of /etc/lightdm/lightdm-gtk-greeter.conf to /etc/lightdm/lightdm-gtk-greeter.conf.diverted by mythbuntu-default-settings', none removed.
rm: cannot remove `/etc/lightdm/lightdm-gtk-greeter.conf': No such file or directory
dpkg: error processing /var/cache/apt/archives/mythbuntu-lightdm-theme_1.0_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 /var/cache/apt/archives/mythbuntu-lightdm-theme_1.0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

Revision history for this message
Nate Walker (kiwinewt) wrote :

I did a 'sudo touch /etc/lightdm/lightdm-gtk-greeter.conf' - this fixed the error and thus did the upgrade ok

Revision history for this message
Nate Walker (kiwinewt) wrote :

Note: This error completely stopped my upgrade to 12.04 - I had to do an apt-get dist-upgrade after this as well

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythbuntu-lightdm-theme - 1.01

---------------
mythbuntu-lightdm-theme (1.01) precise; urgency=low

  * Fix preinstall on upgrades (LP: #940255)
 -- Mario Limonciello <email address hidden> Fri, 16 Mar 2012 00:45:19 -0500

Changed in mythbuntu-lightdm-theme (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Mario Limonciello (superm1) wrote :

Sorry for the delay in fixing this. The ~mythbuntu-bugs team wasn't subscribed to this package so this was entirely missed.

Revision history for this message
Nate Walker (kiwinewt) wrote :

Thanks Mario. You are wrong though - not entirely missed - you fixed it :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.