Что такое sudo apt-get -f install?

Что такое использование apt-get -f install. когда я запускаю sudo apt-get update, в конце я получаю некоторые ошибки. Что это за команда? последняя часть моей ошибки:

. . .  
going to be installed  
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
6
задан 14 December 2017 в 19:06

1 ответ

Посмотрите страница справочника :

-f, --fix-broken
   Fix; attempt to correct a system with broken dependencies in place.
   This option, when used with install/remove, can omit any packages
   to permit APT to deduce a likely solution. If packages are
   specified, these have to completely correct the problem. The option
   is sometimes necessary when running APT for the first time; APT
   itself does not allow broken package dependencies to exist on a
   system. It is possible that a system's dependency structure can be
   so corrupt as to require manual intervention (which usually means
   using dselect(1) or dpkg --remove to eliminate some of the
   offending packages). Use of this option together with -m may
   produce an error in some situations. Configuration Item:
   APT::Get::Fix-Broken.

Это - одно из первых решений при попытке решить umet зависимости. (См. этот вопрос: , Как я разрешаю невстреченные зависимости после добавления PPA? )

0
ответ дан 14 December 2017 в 19:06

Другие вопросы по тегам:

Похожие вопросы: