Skip to content

locales - error: Bad entry 'kab_DZ ' #90

@athmanemokraoui

Description

@athmanemokraoui

mintlocale incorrectly writes malformed locale entries to /var/lib/locales/supported.d/mintlocale.

When installing locales, it duplicates entries:

  • one bare locale name without charset
  • and one properly formatted.

For example, for Kabyle (kab_DZ), it writes :

kab_DZ / Malformed: missing charset
kab_DZ.UTF-8 UTF-8 / Correct format

The bare entries cause locale-gen to emit multiple "error: Bad entry" warnings:

...
error: Bad entry 'ar_IN '
error: Bad entry 'ar_SS '
error: Bad entry 'en_AG '
error: Bad entry 'en_IL '
error: Bad entry 'en_IN '
error: Bad entry 'en_NG '
error: Bad entry 'en_ZM '
error: Bad entry 'kab_DZ '
error: Bad entry 'sw_KE '
error: Bad entry 'sw_TZ '
error: Bad entry 'zgh_MA '
...

Although generation succeeds, these warnings clutter output and indicate incorrect data handling.

Forum thread : https://forums.linuxmint.com/viewtopic.php?t=248836

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions