Я установил (не успешно) 32-разрядный хром и не знал, что мой тип ОС был 64-разрядным. Я пытался зафиксировать его с этой командой sudo apt-get -f install
но была ошибка.
Каждый раз я устанавливаю пакет, например, flashplugin-installer
или gdebi
, это показывает ошибку:
$ sudo apt-get install flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6 : Breaks: locales (< 2.19)
libc6:i386 : Recommends: libc6-i686:i386
Breaks: locales (< 2.19)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
-------------------------------------------------------------------------------
$ sudo apt-get install gdebi
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gdebi : Depends: gdebi-core (= 0.9.5.5+nmu1) but it is not going to be installed
Recommends: libgtk2-perl but it is not going to be installed
libc6 : Breaks: locales (< 2.19)
libc6:i386 : Recommends: libc6-i686:i386
Breaks: locales (< 2.19)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Как я фиксирую это? Я являюсь новым в Linux.
Затем, выполненный:
sudo apt-get clean
sudo apt-get update
Хорошо я застреваю в этом прежде, чем произвести чистку и понизить libc6 на ответе mchid. У меня есть эта ошибка, и mchid предложил эту ссылку, но решения не сделали решил мою проблему.
РЕДАКТИРОВАНИЕ
я узнал, что приоритет контакта 1 001 позволит снижения этого приоритетного набора, таким образом, можно будет понизить все существующие пакеты Ubuntu, которые были по ошибке установлены из-за Kali Repo. Это должно действительно помочь починить вещи и должно также предотвратить проблемы зависимости в будущем.
Первый , отредактируйте свой/etc/apt/preferences файл, прежде чем Вы сделаете что угодно еще.
Выполнение следующие команды:
sudo nano /etc/apt/preferences
Теперь, скопируйте и вставьте следующее в файл:
Package: *
Pin: origin ppa.launchpad.net
Pin-Priority: 1001
Package: *
Pin: origin ph.archive.ubuntu.com
Pin-Priority: 1001
Package: *
Pin: origin security.ubuntu.com
Pin-Priority: 1001
Package: *
Pin: origin extras.ubuntu.com
Pin-Priority: 1001
Package: *
Pin: origin repo.kali.org
Pin-Priority: 600
Package: *
Pin: origin extras.ubuntu.com
Pin-Priority: 1001
Package: *
Pin: origin security.kali.org
Pin-Priority: 600
Package: *
Pin: origin http.kali.org
Pin-Priority: 600
Нажатие CTRL + o и затем нажимает ВХОДЯТ , чтобы сохранить файл. Нажмите CTRL + x для выхода из нано.
Следующий , выполненный:
sudo apt-get clean
sudo apt-get update
Тогда , произведите чистку libc6-dbg и понизьте libc6:i386, libc6-dev, и libc6:
sudo dpkg -P libc6-dbg
apt-get download libc6-udeb=2.19-0ubuntu6 libc6-dev=2.19-0ubuntu6.6 libc6=2.19-0ubuntu6.6:i386
sudo dpkg -i libc6_2.19-0ubuntu6.6_amd64.deb
sudo dpkg -i libc6-dev_2.19-0ubuntu6.6_amd64.deb
sudo dpkg -i libc6_2.19-0ubuntu6.6_i386.deb
кроме того, понизьте gdebi:
sudo apt-get install gdebi=0.9.5.3ubuntu2
, Если все подходит, выполняет следующие команды. В противном случае отправьте свои ошибки.
<час>Для установки стабильный Google Chrome:
sudo apt-get clean
sudo dpkg -P google-chrome-stable
sudo apt-get update
sudo apt-get upgrade
отправьте любые ошибки. Если нет никаких ошибок, не продолжаются:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo gdebi google-chrome-stable_current_amd64.deb
gdebi
обработает все зависимости для Вас.