Ticket #789 (closed defect: fixed)

Opened 3 years ago

Last modified 17 months ago

SHR-testing-091210: eglibc-locale-da install failure

Reported by: glennmh Owned by: ainulindale
Priority: minor Milestone:
Component: SHR Image Version: SHR-testing
Keywords: localization Cc: glenn.mh.dk@…

Description

I have tried to install eglibc-locale-da:

root@om-gta02 ~ $ opkg install eglibc-locale-da
Installing eglibc-locale-da (2.10-r7.5.4) to root...
Downloading  http://build.shr-project.org/shr-testing/ipk//armv4t/eglibc-locale-da_2.10-r7.5.4_armv4t.ipk
Collected errors:

  • ERROR: Cannot satisfy the following dependencies for eglibc-locale-da:
    • virtual-locale-da *
  • Cannot find package eglibc-locale-da.

root@om-gta02 ~ $

-

Followed the guide at:
http://trac.shr-project.org/trac/wiki/i18n?version=10

Change History

comment:1 Changed 3 years ago by qake

I can confirm this situation with other locales.

comment:2 Changed 3 years ago by kavol

  • Type changed from enhancement to defect

the same for me ... I just broke my installation to a point of no return (hm, one would say that it can't happen as long as you have working busybox, but Freerunner just keeps surprising me ...)

so I had to reflash; I've used the latest available testing, i.e. Dec-18, and since that, I cannot install any locales (and yes, I did also 'opkg update')

root@om-gta02 ~ $ opkg install mc-locale-cs
Installing mc-locale-cs (4.6.2-r4.4) to root...
Downloading http://build.shr-project.org/shr-testing/ipk//armv4t/mc-locale-cs_4.6.2-r4.4_armv4t.ipk
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for mc-locale-cs:
         *  virtual-locale-cs *
 * Cannot find package mc-locale-cs.
root@om-gta02 ~ $ opkg install tangogps-locale-cs
Installing tangogps-locale-cs (0.99.1-r0.4) to root...
Downloading http://build.shr-project.org/shr-testing/ipk//armv4t/tangogps-locale-cs_0.99.1-r0.4_armv4t.ipk
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for tangogps-locale-cs:
         *  virtual-locale-cs *
 * Cannot find package tangogps-locale-cs.
root@om-gta02 ~ $ opkg install tangogps-locale-de
Installing tangogps-locale-de (0.99.1-r0.4) to root...
Downloading http://build.shr-project.org/shr-testing/ipk//armv4t/tangogps-locale-de_0.99.1-r0.4_armv4t.ipk
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for tangogps-locale-de:
         *  virtual-locale-de *
 * Cannot find package tangogps-locale-de.

comment:3 Changed 3 years ago by Heinervdm

Marked #795 as dup

comment:4 Changed 3 years ago by Heinervdm

  • Status changed from new to closed
  • Resolution set to duplicate

Marked #859 as dup

comment:5 Changed 3 years ago by Heinervdm

  • Status changed from closed to reopened
  • Resolution duplicate deleted

Ups, closed wrong ticket ;)

comment:6 Changed 3 years ago by Heinervdm

Marked #867 as dup

comment:7 Changed 3 years ago by Heinervdm

  • Milestone set to MS1

comment:8 follow-up: ↓ 9 Changed 3 years ago by jama

Works in shr-u:

Installing mc-locale-cs (4.6.2-r4.4) to root...
Downloading  http://build.shr-project.org/shr-unstable/ipk//armv4t/mc-locale-cs_4.6.2-r4.4_armv4t.ipk.
Installing mc (4.6.2-r4.4) to root...
Downloading  http://build.shr-project.org/shr-unstable/ipk//armv4t/mc_4.6.2-r4.4_armv4t.ipk.
Installing ncurses-terminfo (5.4-r19.4) to root...
Downloading  http://build.shr-project.org/shr-unstable/ipk//armv4t/ncurses-terminfo_5.4-r19.4_armv4t.ipk.
Installing mc-extfs (4.6.2-r4.4) to root...
Downloading  http://build.shr-project.org/shr-unstable/ipk//all/mc-extfs_4.6.2-r4.4_all.ipk.
Installing mc-hilite (4.6.2-r4.4) to root...
Downloading  http://build.shr-project.org/shr-unstable/ipk//all/mc-hilite_4.6.2-r4.4_all.ipk.
Installing locale-base-cs-cz.iso-8859-2 (2.11-r9.2.4) to root...
Downloading  http://build.shr-project.org/shr-unstable/ipk//armv4t/locale-base-cs-cz.iso-8859-2_2.11-r9.2.4_armv4t.ipk.
Installing eglibc-binary-localedata-cs-cz.iso88592 (2.11-r9.2.4) to root...
Downloading  http://build.shr-project.org/shr-unstable/ipk//armv4t/eglibc-binary-localedata-cs-cz.iso88592_2.11-r9.2.4_armv4t.ipk.
Configuring ncurses-terminfo.
Configuring mc-hilite.
Configuring mc.
Configuring mc-extfs.
Configuring eglibc-binary-localedata-cs-cz.iso88592.
Configuring locale-base-cs-cz.iso-8859-2.
Configuring mc-locale-cs.

IIRC shr-t has already eglibc-2.11 too, please test again with more recent shr-t.

comment:9 in reply to: ↑ 8 Changed 3 years ago by kavol

Replying to jama:

IIRC shr-t has already eglibc-2.11 too, please test again with more recent shr-t.

it does not work for me ...

root@om-gta02 ~ $ opkg update
Downloading  http://build.shr-project.org/shr-testing/ipk//all/Packages.gz.
Inflating  http://build.shr-project.org/shr-testing/ipk//all/Packages.gz.
Updated list of available packages in /var/lib/opkg/shr-all.
Downloading  http://build.shr-project.org/shr-testing/ipk//armv4/Packages.gz.
Inflating  http://build.shr-project.org/shr-testing/ipk//armv4/Packages.gz.
Updated list of available packages in /var/lib/opkg/shr-armv4.
Downloading  http://build.shr-project.org/shr-testing/ipk//armv4t/Packages.gz.
Inflating  http://build.shr-project.org/shr-testing/ipk//armv4t/Packages.gz.
Updated list of available packages in /var/lib/opkg/shr-armv4t.
Downloading  http://minucci.net/file/opkg/Packages.gz.
Inflating  http://minucci.net/file/opkg/Packages.gz.
Updated list of available packages in /var/lib/opkg/daily-gecco.
Downloading  http://build.shr-project.org/shr-testing/ipk//om-gta02/Packages.gz.
Inflating  http://build.shr-project.org/shr-testing/ipk//om-gta02/Packages.gz.
Updated list of available packages in /var/lib/opkg/shr-om-gta02.
root@om-gta02 ~ $ opkg install mc-locale-cs
Installing mc-locale-cs (4.6.2-r4.4) to root...
Downloading  http://build.shr-project.org/shr-testing/ipk//armv4t/mc-locale-cs_4.6.2-r4.4_armv4t.ipk.
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for mc-locale-cs:
  • virtual-locale-cs *
  • opkg_install_cmd: Cannot install package mc-locale-cs.

comment:10 Changed 3 years ago by pridurok

I think it happened, because some packets, like eglibc-binary-localedata in repository shr-testing missed. In repository shr-unstable same packets have the same version. May be mistake there?

comment:11 Changed 3 years ago by jama

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

eglibc was rebuilt with all locales now for shr-t (as it was for shr-u).

Please reopen if it isn't fixed for you after next opkg update.

comment:12 Changed 3 years ago by kavol

the package can be installed now:

root@om-gta02 ~ $ opkg install mc-locale-cs
Installing mc-locale-cs (4.6.2-r4.4) to root...
Downloading  http://build.shr-project.org/shr-testing/ipk//armv4t/mc-locale-cs_4.6.2-r4.4_armv4t.ipk.
Installing locale-base-cs-cz.iso-8859-2 (2.11-r9.2.4) to root...
Downloading  http://build.shr-project.org/shr-testing/ipk//armv4t/locale-base-cs-cz.iso-8859-2_2.11-r9.2.4_armv4t.ipk.
Installing eglibc-binary-localedata-cs-cz.iso88592 (2.11-r9.2.4) to root...
Downloading  http://build.shr-project.org/shr-testing/ipk//armv4t/eglibc-binary-localedata-cs-cz.iso88592_2.11-r9.2.4_armv4t.ipk.
Configuring eglibc-binary-localedata-cs-cz.iso88592.
Configuring locale-base-cs-cz.iso-8859-2.
Configuring mc-locale-cs.

  • thanks!

... but there is some problem:

root@om-gta02 ~ $ export LANG=cs_CZ.UTF-8
root@om-gta02 ~ $ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=cs_CZ.UTF-8
LC_CTYPE="cs_CZ.UTF-8"
LC_NUMERIC="cs_CZ.UTF-8"
LC_TIME="cs_CZ.UTF-8"
LC_COLLATE="cs_CZ.UTF-8"
LC_MONETARY="cs_CZ.UTF-8"
LC_MESSAGES="cs_CZ.UTF-8"
LC_PAPER="cs_CZ.UTF-8"
LC_NAME="cs_CZ.UTF-8"
LC_ADDRESS="cs_CZ.UTF-8"
LC_TELEPHONE="cs_CZ.UTF-8"
LC_MEASUREMENT="cs_CZ.UTF-8"
LC_IDENTIFICATION="cs_CZ.UTF-8"
LC_ALL=

I'll try to figure out, and report a new ticket if necessary

comment:13 Changed 3 years ago by kavol

ok, installing 'locale-base-cs-cz' fixes the error ... wonder why .iso88592 is chosen by default? :-/

comment:14 Changed 17 months ago by morphis

  • Milestone MS1 deleted

Milestone MS1 deleted

Note: See TracTickets for help on using tickets.