Ticket #405 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

Uninstalling debathena-thunderbird-config breaks thunderbird

Reported by: kchen Owned by:
Priority: normal Milestone: Summer 2010 (Lucid Deploy)
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

I installed thunderbird and debathena-thunderbird-config, and shortly afterward, uninstalled debathena-thunderbird-config. This broke thunderbird -- attempting to launch thunderbird at that point resulted in the error:

"Failed to read the configuration file. Please contact your system administrator."

Evan mentioned that this is a Debathena bug and that I should file a ticket. The work around he gave me was to purge debathena-thunderbird-config, rather than uninstalling it.

Change History

comment:1 Changed 12 years ago by broder

We need to figure out some way to conditionalize /etc/thunderbird/pref/debathena.js based on if the package is still installed.

Curiously, I don't see how any of the files in /etc/firefox-3.0/pref/ deal with this.

comment:2 Changed 11 years ago by jdreed

  • Milestone set to Summer 2010 (Lucid Deploy)

comment:3 Changed 11 years ago by broder

  • Status changed from new to proposed

I've come up with a way to make this work.

Thundebird ignores broken symlinks in /etc/thunderbird/pref/, so by making /etc/thunderbird/pref/debathena.js a symlink to something in /usr/share (i.e. a symlink to a non-conffile), the symlink becomes broken when debathena-thunderbird-config is uninstalled.

I also verified that dpkg does the right thing on upgrades when a regular file conffile is replaced with a symlink.

Fix is in r24671, uploaded to -proposed.

comment:4 Changed 11 years ago by broder

  • Status changed from proposed to closed
  • Resolution set to fixed

Moved to production.

Note: See TracTickets for help on using tickets.