[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: problem installing kde4-l10n-en_GB-4.14.3
On Thursday 15 Apr 2021 19:11:08 Greg Troxel wrote:
> Thomas Klausner <wiz%NetBSD.org@localhost> writes:
> > On Thu, Apr 15, 2021 at 06:29:26PM -0400, Greg Troxel wrote:
> >> Dave Tyson <dtyson%anduin.org.uk@localhost> writes:
> >> > Just updated a system to NetBSD 9.99.81 on AMD64 and started to install
> >> > some packages from pkgsrc-2021Q1.
> >> >
> >> > Everything seems to install OK and I put on kde4 from meta-pkg without
> >> > any
> >> > issues, however when I tried to add the en_GB locale package it failed
> >> > to
> >> > install due to a file conflict:
> >> >
> >> > ===> Installing binary package of kde4-l10n-en_GB-4.14.3
> >> > pkg_add: Conflicting PLIST with ark-20.04.1nb8:
> >> > share/locale/en_GB/LC_MESSAGES/ark.mo
> >> > pkg_add: 1 package addition failed
> >> > *** Error code 1
> >> >
> >> > Stop.
> >> > make: stopped in /usr/pkgsrc/x11/kde4-l10n-en_GB
> >> >
> >> > ark is installed as it is a pre-requisite for kde4:
> >> >
> >> > asus# pkg_info -R ark
> >> > Information for ark-20.04.1nb8:
> >> >
> >> > Required by:
> >> > kde4-4.14.3nb25
> >> Basically, pkg_delete -f one or both of ark and kde4-110n. Then install
> >> the new ones.
> > That won't be enough -- both install the same file:
> > /usr/pkgsrc> comm -12 */ark/PLIST */kde4-l10n-en_GB/PLIST
> > share/locale/en_GB/LC_MESSAGES/ark.mo
> > I guess ark is already the kde framework 5 version.
> Sorry, I was jumping to conclusions that this was a "file moved between
> packages" problem.
What Greg suggested didn't work as more and more packages had to be force
deleted to make progress - just a game of whack-a-mole which I gave up.
I think the crux is:
In the past the kde packages 4* came with, or used, the default US locale and
so didn't include the other language catalogues - you had to install the
appropriate language specific message catalogue.
Now some of the packages associated with kde have been updated to later
versions (from the kde5 bases) which come with complete message catalogues for
all supported languages. I checked this by looking at an old install and for
example, kcharselect-4.14.3nb12 just consists of 7 files whereas in the new
install kcharselect-20.04.1nb6 consists of about 98 files.
The problem I face is that the older base components of kde4 will not have the
message catalogues and so will require the application of the en_GB locale
package - but there will then be conflicts with the updated applications.
I need to reinstall the pkg base from the packages build under pkgsrc to get a
consistent base again (I stupidly didn't note what I had deleted) and then
knock up a simple script to update /usr/pkg/share/locale/en_GB/LC_MESSAGES
copying any files over from kde4-l10n-en_GB which don't already exist. I think
that is the pragmatic solution - but not ideal.
PS. It would be really nice if some other parts of kde could be brought up to
later versions - especially kdepim. I realise this is a *lot* of work, but
would be happy to provide some funding - maybe £1000 towards the effort. If
others chipped in maybe someone might think it worthwhile...
Main Index |
Thread Index |