package emerald 0.7.2-0ubuntu4 failed to install/upgrade:

Bug #579023 reported by pietro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
emerald (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: emerald

Failed to install/upgrade when upgrading from Ubuntu 9.10 to 10.04 using Alternate CD.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: emerald 0.7.2-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
Uname: Linux 2.6.31-21-generic i686
Architecture: i386
Date: Wed May 12 00:25:49 2010
ErrorMessage:
 ErrorMessage: subprocess installed post-installation script returned error exit status 2
LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
SourcePackage: emerald
Title: package emerald 0.7.2-0ubuntu4 failed to install/upgrade:

Revision history for this message
pietro (per-weisteen) wrote :
Revision history for this message
pietro (per-weisteen) wrote :

Seems the unresolved Emerald upgrade will keep on nagging with error messages in Synaptic or apt-get.

I did a Google search for the Emerald issue and discovered that Emerald is not supported on 10.04. (see http://reformedmusings.wordpress.com/2010/05/08/emerald-no-longer-supported-by-compiz-in-ubuntu-lucid-10-04-lts/)

I solved (well partly, as the solution is to replace Emerald with GTK ) the issue by starting GTK as windows decorator and then dis some manual tricks to have Emerald removed:
gtk-window-decorator --replace &

I then tried a shell-based removal :
sudo apt-get remove emerald

Got some errors :
Removing emerald ...
update-alternatives: error: while reading /var/lib/dpkg/alternatives/x-window-decorator: Is a directory
dpkg: error processing emerald (--remove):
 subprocess installed pre-removal script returned error exit status 2
update-alternatives: error: while reading /var/lib/dpkg/alternatives/x-window-decorator: Is a directory
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 2

I then removed the files in the /var/lib/dpkg/alternatives/x-window-decorator directory:
sudo rm -f /var/lib/dpkg/alternatives/x-window-decorator/entry.desktop
sudo rm -f /var/lib/dpkg/alternatives/x-window-decorator/flag.png

Removed the directory and created an empty file:
sudo rmdir /var/lib/dpkg/alternatives/x-window-decorator
sudo touch /var/lib/dpkg/alternatives/x-window-decorator

Rerunning apt-get:
sudo apt-get remove emerald

Removed Emerald successfully.

tags: added: dist-upgrade
Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in emerald (Ubuntu):
status: New → Invalid
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.