Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Fix Debian dependency check for non-English locales - #1791

Merged
kristapsk merged 1 commit into
JoinMarket-Org:masterfrom
kristapsk:deb-deps-check-non-en
Jul 19, 2025
Merged

Fix Debian dependency check for non-English locales#1791
kristapsk merged 1 commit into
JoinMarket-Org:masterfrom
kristapsk:deb-deps-check-non-en

Conversation

@kristapsk

Copy link
Copy Markdown
Member

To check are packages already installed we search for string "Installed", but it's, of course, spelled differently in different languages. So, force English for this command.

@kristapsk
kristapsk requested a review from Copilot July 19, 2025 05:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a localization issue in the Debian dependency checking functionality to ensure it works correctly across different language environments. The fix forces English locale when checking package installation status to avoid issues with translated output.

  • Forces English locale (LANG=en) for the apt-cache policy command to ensure consistent output parsing
  • Resolves dependency check failures in non-English system locales where "Installed" appears in the local language

Comment thread install.sh Outdated
@kristapsk
kristapsk force-pushed the deb-deps-check-non-en branch from 46783ea to 8992e36 Compare July 19, 2025 05:27
@kristapsk
kristapsk merged commit e8113d8 into JoinMarket-Org:master Jul 19, 2025
4 of 12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants