История изменений
Исправление
rwx,
(текущая версия)
:
Предполагаю, какие-то проблемы с command-not-found. Второй вариант попробуй.
Если файл /etc/apt/apt.conf.d/50command-not-found
выглядит так:
cat 50command-not-found
## This file is provided by command-not-found(1) to download
## Commands metadata files.
Acquire::IndexTargets {
# The deb822 metadata files
deb::CNF {
MetaKey "$(COMPONENT)/cnf/Commands-$(NATIVE_ARCHITECTURE)";
ShortDescription "Commands-$(NATIVE_ARCHITECTURE)";
Description "$(RELEASE)/$(COMPONENT) $(NATIVE_ARCHITECTURE) c-n-f Metadata";
};
};
# Refresh AppStream cache when APT's cache is updated (i.e. apt update)
APT::Update::Post-Invoke-Success {
"if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi";
};
Тогда после Description
добавь DefaultEnabled "false";
, должно выглядеть так:
Description "$(RELEASE)/$(COMPONENT) $(NATIVE_ARCHITECTURE) c-n-f Metadata";
DefaultEnabled "false";
};
Исходная версия
rwx,
:
Предполагаю, какие-то проблемы с command-not-found. Второй вариант попробуй.
Если файл /etc/apt/apt.conf.d/50command-not-found выглядит так:
cat 50command-not-found
## This file is provided by command-not-found(1) to download
## Commands metadata files.
Acquire::IndexTargets {
# The deb822 metadata files
deb::CNF {
MetaKey "$(COMPONENT)/cnf/Commands-$(NATIVE_ARCHITECTURE)";
ShortDescription "Commands-$(NATIVE_ARCHITECTURE)";
Description "$(RELEASE)/$(COMPONENT) $(NATIVE_ARCHITECTURE) c-n-f Metadata";
};
};
# Refresh AppStream cache when APT's cache is updated (i.e. apt update)
APT::Update::Post-Invoke-Success {
"if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi";
};
Тогда после Description
добавь DefaultEnabled "false";
, должно выглядеть так:
Description "$(RELEASE)/$(COMPONENT) $(NATIVE_ARCHITECTURE) c-n-f Metadata";
DefaultEnabled "false";
};