Этот тот случай, когда надо бы использовать репозиторий разработчика. Но не везло мне с репозиторием Гугла. Не хотел дистрибутив Chrome устанавливаться без ошибок. Наверное, не очень то мне и хотелось... Но вот приспичило, и установил с помощью волшебного удара в бубен apt-get install -f. Надо его запомнить.
Сначала проверяем подключенные репозитории
root@kali:/home/kiss/Downloads# apt-get install google-chrome-stable
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:
google-chrome-stable : Depends: libappindicator1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Потом пытаемся с понтом (wget) забрать пакет с Гугла
root@kali:/home/kiss/Downloads# wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
--2015-05-28 22:04:12-- https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
Resolving dl.google.com (dl.google.com)... 173.194.122.231, 173.194.122.228, 173.194.122.227, ...
Connecting to dl.google.com (dl.google.com)|173.194.122.231|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.
Что-то подсказывает мне, что Гугл не любит такого юзер-агента. Не мудрствуя лукаво я скопировал ссылку https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb в адресную строку браузера. И Гугл не стал капризничать ...все загрузилось.
Теперь идем самым простым путем (как в ссылке выше):
root@kali:/home/kiss/Downloads# dpkg -i google-chrome-*.deb
(Reading database ... 431174 files and directories currently installed.)
Preparing to replace google-chrome-stable 43.0.2357.65-1 (using google-chrome-stable_current_i386(1).deb) ...
Unpacking replacement google-chrome-stable ...
dpkg: warning: downgrading google-chrome-stable from 43.0.2357.81-1 to 43.0.2357.65-1
Preparing to replace google-chrome-stable 43.0.2357.81-1 (using google-chrome-stable_current_i386.deb) ...
Unpacking replacement google-chrome-stable ...
More than one copy of package google-chrome-stable has been unpacked
in this run ! Only configuring it once.
dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on libappindicator1; however:
Package libappindicator1 is not installed.
dpkg: error processing google-chrome-stable (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Processing triggers for menu ...
Errors were encountered while processing:
google-chrome-stable
И кажется, что все пропало **dependency problems - leaving unconfigured**, но здесь надо ударить в волшебный бубен:
root@kali:/home/kiss/Downloads# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
indicator-application libappindicator1 libappindicator3-1 libdbusmenu-glib4 libdbusmenu-gtk3-4
libdbusmenu-gtk4 libindicator3-7 libindicator7
The following NEW packages will be installed:
indicator-application libappindicator1 libappindicator3-1 libdbusmenu-glib4 libdbusmenu-gtk3-4
libdbusmenu-gtk4 libindicator3-7 libindicator7
0 upgraded, 8 newly installed, 0 to remove and 22 not upgraded.
1 not fully installed or removed.
Need to get 582 kB of archives.
After this operation, 1,184 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://http.kali.org/kali/ kali/main libdbusmenu-glib4 i386 0.6.2-1 [109 kB]
Get:2 http://http.kali.org/kali/ kali/main libdbusmenu-gtk4 i386 0.6.2-1 [94.5 kB]
Get:3 http://http.kali.org/kali/ kali/main libindicator7 i386 0.5.0-1 [55.7 kB]
Get:4 http://http.kali.org/kali/ kali/main libappindicator1 i386 0.4.92-2 [55.6 kB]
Get:5 http://http.kali.org/kali/ kali/main libdbusmenu-gtk3-4 i386 0.6.2-1 [94.7 kB]
Get:6 http://http.kali.org/kali/ kali/main libindicator3-7 i386 0.5.0-1 [55.7 kB]
Get:7 http://http.kali.org/kali/ kali/main libappindicator3-1 i386 0.4.92-2 [55.6 kB]
Get:8 http://http.kali.org/kali/ kali/main indicator-application i386 0.5.0-1 [61.6 kB]
Fetched 582 kB in 3s (181 kB/s)
Selecting previously unselected package libdbusmenu-glib4:i386.
(Reading database ... 431174 files and directories currently installed.)
Unpacking libdbusmenu-glib4:i386 (from .../libdbusmenu-glib4_0.6.2-1_i386.deb) ...
Selecting previously unselected package libdbusmenu-gtk4:i386.
Unpacking libdbusmenu-gtk4:i386 (from .../libdbusmenu-gtk4_0.6.2-1_i386.deb) ...
Selecting previously unselected package libindicator7.
Unpacking libindicator7 (from .../libindicator7_0.5.0-1_i386.deb) ...
Selecting previously unselected package libappindicator1.
Unpacking libappindicator1 (from .../libappindicator1_0.4.92-2_i386.deb) ...
Selecting previously unselected package libdbusmenu-gtk3-4:i386.
Unpacking libdbusmenu-gtk3-4:i386 (from .../libdbusmenu-gtk3-4_0.6.2-1_i386.deb) ...
Selecting previously unselected package libindicator3-7.
Unpacking libindicator3-7 (from .../libindicator3-7_0.5.0-1_i386.deb) ...
Selecting previously unselected package libappindicator3-1.
Unpacking libappindicator3-1 (from .../libappindicator3-1_0.4.92-2_i386.deb) ...
Selecting previously unselected package indicator-application.
Unpacking indicator-application (from .../indicator-application_0.5.0-1_i386.deb) ...
Setting up libdbusmenu-glib4:i386 (0.6.2-1) ...
Setting up libdbusmenu-gtk4:i386 (0.6.2-1) ...
Setting up libindicator7 (0.5.0-1) ...
Setting up libappindicator1 (0.4.92-2) ...
Setting up google-chrome-stable (43.0.2357.65-1) ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
Setting up libdbusmenu-gtk3-4:i386 (0.6.2-1) ...
Setting up libindicator3-7 (0.5.0-1) ...
Setting up libappindicator3-1 (0.4.92-2) ...
Setting up indicator-application (0.5.0-1) ...
Processing triggers for menu ...
И все установилось... А что это я сделал?
!apt-get --help
Я осуществил удачную попытку с опцией -f Attempt to correct a system with broken dependencies in place
# Без имени пакета!
apt-get install -f
Посты чуть ниже также могут вас заинтересовать
Комментариев нет:
Отправить комментарий