mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-25 11:52:15 +00:00
3d30d5fd86
check_repo_version_apt looks for the "Candidate:" label of apt-cache policy. A translated apt prints that label in the user's language. The package table of go-xcat check, install and update then showed every package as "(not found)" in the repositories. Run apt-cache policy with LC_ALL="C" inside check_repo_version_apt, so that every caller gets the untranslated labels. Drop the LC_ALL=C that the install filter added.