Fredag 20. september 2002 09:36 skreiv Chris Halls: > On Thu, Sep 19, 2002 at 11:52:58PM +0200, Niklaus Giger wrote: > > Unpacking openoffice.org-l10n-ko (from > > .../openoffice.org-l10n-ko_1.0.1-5_all.deb) ... > > dpkg: error processing > > /var/cache/apt/archives/openoffice.org-l10n-ko_1.0.1-5_all.deb > > (--unpack): trying to overwrite > > `/usr/lib/openoffice/user/config/arrowhd.soe', > > I'm afraid this is a problem with some of the langpacks, similar to bug > #155487. You can work around it by using > > dpkg --force-overwrite -i > /var/cache/apt/archives/openoffice.org-l10n-ko_1.0.1-5_all.deb > > That file (arrowhd.soe) is in fact exactly the same, so it doesn't matter > that it is overwritten.
If you run that command, you'll see that there are six such files that get overwritten. (/usr/lib/openoffice/user/config/*.so*, which are styles for arrows, colours, background patterns, etc.) If these files are not localised, the language pack will contain the English files and conflict with l10n-en. The only reason we don't get conflicts with non-English files is that the filenames are translated and that they coincidentally have different names. The filenames themselves are translated, so that "classic.sog" becomes "klassisk.sog" in Danish. However, the upcoming Norwegian Bokmål translation would like to use "klassisk.sog" as well, which would lead to a conflict with Danish. If the filenames were prefixed by their language code, this kind of conflicts would never happen. (Something like "da-klassisk.sog" or "45-klassisk.sog" would be nice.) Regards, Gaute Hvoslef Kvalnes

