update langpacks need strict -base dependency

Bug #316174 reported by Nicolás Alvarez
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
langpack-o-matic
Fix Released
High
Martin Pitt
language-pack-es (Ubuntu)
Fix Released
Critical
Arne Goetje

Bug Description

Binary package hint: language-pack-es

A few days ago I saw updates for language-pack-en, language-pack-es, and the ones with -kde on the name. Aptitude said "after installing, 22MB will be freed" or something like that. The old (installed) packages were around 6MB and the new ones 22KB. I installed them, and now everything shows in English.

Using Kubuntu hardy 64-bit. Old package version was 1:8.04+20080805, new one 1:8.04+20090105.

Strangely, when I look at the available versions of language-pack-es-base, 1:8.04+20090105 appears in the bottom of the list:

  --\ Versions
p 1:8.04+20080415
i 1:8.04+20080527.2
p 1:8.04+20090105

However the -base packages aren't listed in "Available upgrades".

Revision history for this message
Nicolás Alvarez (nicolas-alvarez) wrote :

Changelog for language-pack-es 1:8.04+20090105 says just "Initial release". All previous changelog entries seem to have disappeared.

Revision history for this message
Nicolás Alvarez (nicolas-alvarez) wrote :

1:8.04+20090105 doesn't even show in packages.ubuntu.org; how did I manage to get it? :/

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

Indeed. Looks like -de is gone as well. This is the hardy-proposed upload. Assigning to pitti.

Changed in language-pack-es:
assignee: nobody → pitti
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Nicolás Alvarez (nicolas-alvarez) wrote :

I still don't know why I got the 20090105 package if it's in -proposed. My /etc/apt/preferences is:

Package: *
Pin: release a=hardy-updates
Pin-Priority: 900

Package: *
Pin: release a=hardy-proposed
Pin-Priority: 400

Package: *
Pin: release a=hardy-backports
Pin-Priority: 300

which supposedly shows stuff from -proposed only if I explicitly ask for it with "aptitude -t hardy-proposed". I didn't use -t when upgrading...

Anyway, thanks for confirming. I have now downgraded the packages manually. Good thing the problem was found in -proposed before it was pushed to everybody :)

Revision history for this message
Colin Watson (cjwatson) wrote :

You're supposed to upgrade -base too. The problem here appears to be that language-pack-es (and presumably other delta language packs) doesn't have a tight versioned dependency on language-pack-es-base.

(I agree that this is critical due to the upgrade regression.)

Revision history for this message
Nicolás Alvarez (nicolas-alvarez) wrote :

@Colin: The problem is not just that I installed the language-pack-es and the -base package didn't automatically get marked for update. The -base package doesn't show as an upgrade at all, so I can't even manually mark it for upgrading. If I tell it to upgrade everything that is available for upgrade, language-pack-es is updated to the "empty" version but language-pack-es-base remains untouched. I have no idea why.

What I *can* do is going to the list of package versions in aptitude, and marking the newest version number for installing (with +). But if I press + on the package itself (and not on a specific version number), it's not marked for upgrade. This did work for the non -base language-pack packages.

Although I agree that the language packs should depend on the specific version of the -base package they need.

Revision history for this message
Colin Watson (cjwatson) wrote :

I don't know what the package management problem you have here is, but my point is that if the versioned dependency were in place then this problem would not have arisen. Either both packages would have been upgraded, or neither. I'm not concerned about either of those outcomes. I *am* concerned about the case where -es is upgraded but -es-base isn't.

Revision history for this message
Nicolás Alvarez (nicolas-alvarez) wrote :

Even though I downgraded the packages I had upgraded, a few apps are still appearing in English :/

I'll now try upgrading all (that is, including -base).

Martin Pitt (pitti)
Changed in langpack-o-matic:
assignee: nobody → pitti
importance: Undecided → High
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in langpack-o-matic, tested locally, and rolled out to rookery:

http://bazaar.launchpad.net/%7Eubuntu-langpack/langpack-o-matic/main/revision/215

Changed in langpack-o-matic:
status: In Progress → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Arne is currently working with the Rosetta team to get a Jaunty export. This will get fixed with the next regular langpack rollouts, as well as the next automatic PPA uploads for stables.

Changed in language-pack-es:
assignee: pitti → arnegoetje
status: Confirmed → In Progress
Revision history for this message
Arne Goetje (arnegoetje) wrote :

Will get a new full-export for Hardy this week and build new -base packages for 8.04.4

Revision history for this message
Arne Goetje (arnegoetje) wrote :

Should be fixed with the latest language packs for Hardy

Changed in language-pack-es (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.