residual config in myspell-en-us after fresh install

Bug #327821 reported by Սահակ
4
Affects Status Importance Assigned to Milestone
hunspell (Ubuntu)
Fix Released
Undecided
Unassigned
livecd-rootfs (Ubuntu)
Fix Released
Medium
Colin Watson
thunderbird (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After installing Ubuntu 9.04 and running synaptic package manager, synaptic shows that myspell-en-us has been uninstalled, but residual config files remain.

I think there should be no residual config files left over.

Revision history for this message
Chris Cheney (ccheney) wrote :

So... purge the package. That is the way package manager for debs work, unless you tell it to completely remove (purge) a package it leaves the configuration files, it is a feature.

Chris

Changed in openoffice.org-dictionaries:
status: New → Invalid
Revision history for this message
Սահակ (petrosyan) wrote :

I never installed or uninstalled that package.

A brand new installation of Ubuntu 9.04 comes with those leftover files.

I assume that after the installation was over Ubuntu installer uninstalled some of the packages, instead of purging them.

Սահակ (petrosyan)
Changed in openoffice.org-dictionaries:
status: Invalid → New
Revision history for this message
DanielRoesler (diafygi) wrote :

I can confirm this bug. It's not really that big of a deal, but OCD people like me find it annoying. Why is it there in the first place? This always happens on a clean install. Did it get installed, then uninstalled during Ubuntu's installation? Perplexing...

Սահակ (petrosyan)
Changed in ubiquity:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Could you attach /var/log/installer/syslog to this bug, please?

Ubiquity does remove some packages after copying the live filesystem, but (a) myspell-en-us shouldn't be one of them since English language support is always installed, and (b) Ubiquity purges packages anyway. So this is kind of weird and I'd like to get to the bottom of it.

Changed in ubiquity (Ubuntu):
assignee: nobody → cjwatson
status: Confirmed → Incomplete
Revision history for this message
Սահակ (petrosyan) wrote :

The live system already has myspell-en package removed.

If you boot into the LiveCD and then start synaptic you can see that myspell-en is already removed, but not purged.

Սահակ (petrosyan)
Changed in ubiquity:
status: Incomplete → New
Colin Watson (cjwatson)
affects: ubiquity (Ubuntu) → livecd-rootfs (Ubuntu)
Revision history for this message
Colin Watson (cjwatson) wrote :

OK, thanks for the information, and I now see the problem. This is an interesting bug.

myspell-en-us is installed as part of desktop, presumably due to a dependency from (lots of stuff) -> hunspell -> myspell-en-us | myspell-dictionary | hunspell-dictionary. Furthermore, language-support-writing-en Depends: hunspell-en-us which Replaces: and Conflicts: myspell-en-us. Thus, myspell-en-us gets installed in one phase of building the live filesystem, and hunspell-en-us then gets installed in a later phase and causes myspell-en-us to be removed.

Thus I think there's a two-part bug here. One is that livecd-rootfs doesn't cope with this by using the (admittedly odd-looking) 'apt-get --purge install' construction to arrange that any packages removed as a result of Conflicts are purged. The other is that ubuntu-desktop installs one package and then language-support-en installs a conflicting one (although it does still satisfy one of the alternatives of the relevant dependency); that's just twisted and we should fix it.

Changed in livecd-rootfs (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 0.79

---------------
livecd-rootfs (0.79) jaunty; urgency=low

  * Use the --purge option to 'apt-get install', to ensure that any packages
    removed as a result of Conflicts are purged (LP: #327821).

 -- Colin Watson <email address hidden> Fri, 03 Apr 2009 01:06:18 +0100

Changed in livecd-rootfs (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Chris Cheney (ccheney) wrote :

thunderbird also tries to pull in myspell-en-us, which will also be going away for karmic, instead of hunspell-en-us as it should.

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

This bug was fixed in the package hunspell - 1.2.6-1ubuntu2

---------------
hunspell (1.2.6-1ubuntu2) jaunty; urgency=low

  * Correct dictionary dependencies to be on hunspell-en-us. (LP: #327821)

 -- Chris Cheney <email address hidden> Fri, 03 Apr 2009 10:00:00 -0500

Changed in hunspell (Ubuntu):
status: New → Fix Released
Revision history for this message
Սահակ (petrosyan) wrote :

this bug was fixed in Ubuntu 13.04

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