Linux: Ошибка package ‘locales’ is not installed

Пытаюсь выполнить команду dpkg-reconfigure locales, но получаю ошибку:

sudo dpkg-reconfigure locales                                                                     
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
/usr/sbin/dpkg-reconfigure: locales is not installed

То есть такого пакета нет. Чтобы его поставить, пришлось выполнить другую команду:

sudo apt-get install -y locales
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  debtags distro-info-data kali-debtags libboost-dev libboost1.74-dev libcbor0.8
  libjavascriptcoregtk-4.0-18 libllvm15 libmagickcore-6.q16-7 libmagickwand-6.q16-7 libopenblas-dev
  libopenblas-pthread-dev libopenblas0 libpython3-all-dev libraw23 libwebkit2gtk-4.0-37 libxsimd-dev
  python-apt-common python3-all-dev python3-apt python3-beniget python3-debian python3-gast
  python3-ply python3-pythran zenity zenity-common
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 108 not upgraded.
Need to get 3,906 kB of archives.
After this operation, 16.2 MB of additional disk space will be used.
Get:1 kali-rolling/main amd64 locales all 2.37-12 [3,906 kB]
Fetched 3,906 kB in 2s (2,496 kB/s)
Preconfiguring packages ...
Selecting previously unselected package locales.
(Reading database ... 182851 files and directories currently installed.)
Preparing to unpack .../locales_2.37-12_all.deb ...
Unpacking locales (2.37-12) ...
Setting up locales (2.37-12) ...
locales-all installed, skipping locales generation
Processing triggers for kali-menu (2023.4.7) ...
Processing triggers for man-db (2.12.0-3) ...

Теперь можно запустить настройку конфигурации пакета locales, ошибок не будет:

sudo dpkg-reconfigure locales

Уведомление о
0 Комментарий
Inline Feedbacks
View all comments