Ubuntu Karmic fail: Pidgin and the new Empathy won't run in some cases until you make this fix

| | Comments (0) |

I haven't loaded up an IM client since I upgraded from Ubuntu 9.04 (Jaunty) to Ubuntu 9.10 (Karmic).

But I did today, and neither Pidgin nor the new GNOMEish Empathy would run. (Whether this matters or not, I upgraded from Ubuntu 9.04 to 9.10, as opposed to doing a reinstall.)

I started both IM clients in the terminal to see if I could determine what the problem might be:

steven@toshiba-ubuntu:~$ pidgin
ERROR: Could not load classifier cascade /usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
Illegal instruction
steven@toshiba-ubuntu:~$ empathy
ERROR: Could not load classifier cascade /usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
Error re-scanning registry , child terminated by signal
Run 'empathy --help' to see a full list of available command line options.

(empathy:2527): empathy-WARNING **: Error in empathy init: Error re-scanning registry , child terminated by signal
steven@toshiba-ubuntu:~$

At least both apps seem to be suffering from the same problem, and luckily there is already a bug (#459940) on it in Launchpad. The bug is for the package opencv, and

According to notes on the bug, other GNOME applications affected by the problem include the Totem video player, the Brasero disc burner and Rhythmbox music player.

I can confirm that on my system, every one of those apps will not run.

I also confirmed that the XML file in question is NOT on my box:

steven@toshiba-ubuntu:~$ cat /usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
cat: /usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml: No such file or directory

One of the comments in the bug report says:

Thomas DEBESSE wrote on 2009-10-29: #6

seems to appear when installing frei0r-plugins (example: for kdenlive). When removing frei0r-plugins from my karmic I've no error messages at all, and totem (and other apps) runs fine.

Hey, I do have KDEnlive on this laptop. I would've removed the offending plugins package, but I decided first to do a software update to see if Ubuntu's package maintainers took care of the problem.

I opened a terminal and used aptitude to do it:

steven@toshiba-ubuntu:~$ sudo aptitude update
[sudo] password for steven:

Reading package lists... Done

(listing of mirrors hit has been removed for brevity)

steven@toshiba-ubuntu:~$ sudo aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be upgraded:
binutils brasero empathy empathy-doc f-spot libbrasero-media0
libempathy-common libempathy-gtk-common libempathy-gtk28 libempathy30
nvidia-common python python-minimal ubuntu-xsplash-artwork xsplash
15 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,715kB of archives. After unpacking 160kB will be freed.
Do you want to continue? [Y/n/?]

That seems like it would take care of the problem, but the missing file still hadn't shown up. Would a reboot fix things?

After the software update didn't solve the problem, I decided to go into the Synaptic Package Manager and reinstall the opencv packages, which I guessed were libcv1, libhihgui1 and libcvaux1.

That didn't work either.

The next step would be either removing KDEnlive or the offending package, frei0r-plugins.

I went into Synaptic and removed frei0r-plugins.

Nothing changed.

I reinstalled the three opencv libraries (libcv1, libhihgui1 and libcvaux1).

That worked. I was able to run Pidgin, Empathy (which has a nice dialog that offered to import my Pidgin settings, an offer I accepted), Rhythmbox, Brasero and Totem once again.

And KDEnlive seemed to be working, too. It at least loaded.

Let's review: If Pidgin, Empathy, Rhythmbox, Brasero and Totem are not running on your Ubuntu 9.10 system, first update the box, then use the Synaptic Package Manager to remove frei0r-plugins and reinstall libcv1, libhihgui1 and libcvaux1.

I'm a bit surprised that the software update alone didn't fix the problem. While the fix is easy, it's a little bit of "dependency hell" for a package-management system (apt) that is not supposed to suffer from that particular malady.

While I've solved my X issue and now this in 9.10, I probably should have waited an extra month or so before upgrading so these bugs could be shaken out.

Bug #459940 should be closed eventually, but at present it appears that the removal of the offending package and the replacement of those the offender affected is the way out of this problem.

I do have a Launchpad account (I had to create it in order to buy stuff at the Canonical U.S. shop), and I subscribed to this bug so I can keep an eye on it.

I've seen a lot of comments directed at me and others in regard to reporting bugs, and following this bug is hopefully a step in that direction for me personally as a Ubuntu user.

Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

About this blog

New ways to sign in to comment: I just added the ability for prospective commenters on this blog to sign in using their AOL, Yahoo! and Wordpress.com accounts (for the past 200 posts anyway ... more than that will take an extensive, middle-of-the-night rebuild). That's in addition to the other sign-in choices, which include starting a Movable Type account on this blog, Typekey, OpenID, Live Journal and Vox. If you have trouble getting your Movable Type account verified, or any of the other sign-in options are not working properly, please e-mail me. With these added ways of signing in, there's more reason than ever for you to make a comment (or several!).




Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on November 4, 2009 11:30 AM.

Updating Ubuntu 8.04 LTS on the kid's Gateway laptop was the previous entry in this blog.

Friends don't let friends use Internet Explorer is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Powered by Movable Type 4.25

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet U.K.
iTWire
CNet News
Webware
Beyond Binary
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Aaron Toponce
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
OMG! Ubuntu!
I' Been to Ubuntu
Tanner Helland
Dustin Kirkland
Ubuntu UK Podcast
Popey
gNewSense
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
Lucky 13's Linux blog (lots of Tiny Core)
Lucky 13's BSD blog
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
hubertf's NetBSD Blog
PC-BSD
DesktopBSD
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
BSD Magazine
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
Engadget
Gizmodo
xkcd – A webcomic of romance, sarcasm, math and language
Nixie Pixel

Advertisement

Other blogs

O'Brien Finalists in Inside USC with Scott Wolf
Wildcat Contest - Finals in Inside UCLA with Jon Gold
Sunk in Seattle in 100 Percent Soccer
Went to a game and ... in Inside the Lakers
Play it forward: Nov. 23-29 on your L.A. sports calendar in Farther Off the Wall