package lubuntu-default-settings 0.10 failed to install/upgrade: ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2

Bug #625485 reported by kosaidpo
50
This bug affects 8 people
Affects Status Importance Assigned to Milestone
lubuntu-default-settings (Ubuntu)
Fix Released
Medium
Julien Lavergne

Bug Description

Binary package hint: lubuntu-default-settings

while updatin from lucid to maverick i got this problem durin the depackaginf procces
im sorry if its not very rich im new to this

ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: lubuntu-default-settings 0.10
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Fri Aug 27 18:15:01 2010
ErrorMessage: ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2
InstallationMedia: Lubuntu 10.04 "Lucid Lynx" - i386 (20100429)
PackageArchitecture: all
SourcePackage: lubuntu-default-settings
Title: package lubuntu-default-settings 0.10 failed to install/upgrade: ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2

Revision history for this message
kosaidpo (kosaidpo) wrote :
Revision history for this message
Julien Lavergne (gilir) wrote :

Thanks for your bug report. Extracting from the log :

Installation de la nouvelle version du fichier de configuration /etc/xdg/lxsession/Lubuntu/desktop.conf ...
Installation de la nouvelle version du fichier de configuration /etc/xdg/lxsession/Lubuntu-Netbook/desktop.conf ...
update-alternatives: error: readlink(/etc/alternatives/lxdm.conf) a échoué : Argument invalide
dpkg : erreur de traitement de lubuntu-default-settings (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2

Revision history for this message
kozimodo (forums-theo) wrote :

I ran into a problem dist-upgrading from lucid to maverick where the installation of lubuntu-default-settings crapped out. The problem I believe was that lubuntu-default-settings did not know how to handle a preexisting /etc/default/lxdm.conf file. Deleting the file fixed the problem and the install completed.

Revision history for this message
kozimodo (forums-theo) wrote :

Actually, looking at the extracted log from #2, I believe I misremembered and the file it did not know how to handle was /etc/alternatives/lxdm.conf, not /etc/default/lxdm.conf.

Julien Lavergne (gilir)
Changed in lubuntu-default-settings (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Julien Lavergne (gilir)
Revision history for this message
Julien Lavergne (gilir) wrote :

I uploaded a possible fix in my PPA : https://launchpad.net/~gilir/+archive/unstable/ (lubuntu-default-settings - 0.11~ppa1). Could someone test with an upgrade to see if the bug is gone with this PPA ? Thanks.

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

This bug was fixed in the package lubuntu-default-settings - 0.12

---------------
lubuntu-default-settings (0.12) maverick; urgency=low

  * debian/postinst:
   - Remove alternatives file if it's not a symlink (LP: #625485).
  * debian/prerm:
   - Don't remove alternative on upgrade.
 -- Julien Lavergne <email address hidden> Sun, 03 Oct 2010 16:02:19 +0200

Changed in lubuntu-default-settings (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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