Я пытался установить Java и не могу заставить его работать. Я делал то, что http://tipsonubuntu.com/2016/07/31/install-oracle-java-8-9-ubuntu-16-04-linux-mint-18/, сказанный, когда я столкнулся с проблемой при выполнении шага 2:
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Вы могли бы хотеть работать apt-get -f install
исправлять их:
The following packages have unmet dependencies:
google-chrome-stable : Depends: libcurl3 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Это что сказанный терминал. Я - абсолютный новичок. Я ничего не знаю о том, как это работает.
Введите ту команду в него:
sudo apt-get install -f
При просьбе относительно пароля администратора вводят его и отмечают, что Вы не будете видеть видимой обратной связи, поскольку Вы вводите пароль. При выполнении нажимают Enter и расслабляются и позволяют ему сделать свое задание. Теперь вернитесь к тому учебному руководству и продолжите другие шаги, как направлено.
Любезно посмотрите man apt-get
для понимания btter какой -f
средства опции:
-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 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.