Falha ao instalar o Google Chrome porque “o pacote libgcc1: i386 não está instalado” no ubuntu 17.04

1

Eu estava tentando instalar o Google Chrome, mas ao instalar, recebi as seguintes mensagens. Quando eu escrevi

sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb

Eu recebo as seguintes mensagens:

Selecting previously unselected package google-chrome-stable.
(Reading database ... 237226 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (59.0.3071.86-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on libappindicator1; however:
  Package libappindicator1 is not installed.

dpkg: error processing package google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
 google-chrome-stable

E para

sudo apt-get install -f

Estou recebendo as seguintes mensagens:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libappindicator1 libindicator7
The following NEW packages will be installed:
  libappindicator1 libindicator7
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
9 not fully installed or removed.
Need to get 41.0 kB/89.1 kB of archives.
After this operation, 157 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://bd.archive.ubuntu.com/ubuntu zesty/main amd64 libindicator7 amd64 16.10.0+16.10.20160913-0ubuntu1 [21.9 kB]
Get:2 http://bd.archive.ubuntu.com/ubuntu zesty/main amd64 libappindicator1 amd64 12.10.1+17.04.20170215-0ubuntu1 [19.2 kB]
Fetched 41.0 kB in 1s (40.5 kB/s)           
Selecting previously unselected package libindicator7.
(Reading database ... 237329 files and directories currently installed.)
Preparing to unpack .../libindicator7_16.10.0+16.10.20160913-0ubuntu1_amd64.deb ...
Unpacking libindicator7 (16.10.0+16.10.20160913-0ubuntu1) ...
Selecting previously unselected package libappindicator1.
Preparing to unpack .../libappindicator1_12.10.1+17.04.20170215-0ubuntu1_amd64.deb ...
Unpacking libappindicator1 (12.10.1+17.04.20170215-0ubuntu1) ...
Setting up libindicator7 (16.10.0+16.10.20160913-0ubuntu1) ...
dpkg: dependency problems prevent configuration of libc6:i386:
 libc6:i386 depends on libgcc1; however:
  Package libgcc1:i386 is not installed.

dpkg: error processing package libc6:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of libpcre3:i386:
 libpcre3:i386 depends on libc6 (>= 2.4); however:
  Package libc6:i386 is not configured yet.

dpkg: error processing package libpcre3:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of libgpg-error0:i386:
 libgpg-error0:i386 depends on libc6 (>= 2.15); however:
  Package libc6:i386 is not configured yet.

dpkg: error processing package libgpg-error0:i386 (--configure):
 dependency problems - leaving unconfigured
Setting up libappindicator1 (12.10.1+17.04.20170215-0ubuntu1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for libc-bin (2.24-9ubuntu2) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link

dpkg: dependency problems prevent configuration of libselinux1:i386:
 libselinux1:i386 depends on libc6 (>= 2.8); however:
  Package libc6:i386 is not configured yet.
 libselinux1:i386 depends on libpcre3; however:
  Package libpcre3:i386 is not configured yet.

dpkg: error processing package libselinux1:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up google-chrome-stable (59.0.3071.86-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
dpkg: dependency problems prevent configuration of liblzma5:i386:
 liblzma5:i386 depends on libc6 (>= 2.17); however:
  Package libc6:i386 is not configured yet.

dpkg: error processing package liblzma5:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of liblz4-1:i386:
 liblz4-1:i386 depends on libc6 (>= 2.4); however:
  Package libc6:i386 is not configured yet.

dpkg: error processing package liblz4-1:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libgcrypt20:i386:
 libgcrypt20:i386 depends on libc6 (>= 2.15); however:
  Package libc6:i386 is not configured yet.
 libgcrypt20:i386 depends on libgpg-error0 (>= 1.14); however:
  Package libgpg-error0:i386 is not configured yet.

dpkg: error processing package libgcrypt20:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 libc6:i386
 libpcre3:i386
 libgpg-error0:i386
 libselinux1:i386
 liblzma5:i386
 liblz4-1:i386
 libgcrypt20:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por Adnatull Al Masum 11.06.2017 / 16:09

2 respostas

0

Eu respondi a mesma pergunta sobre vapor aqui . Heres uma versão modificada para o Google Chrome

O primeiro passo para corrigir isso é habilitar o suporte para binários de 32 bits. Você pode fazer isso executando

sudo dpkg --add-architecture i386 & amp; & amp; sudo apt update Agora, tente instalar o Google Chrome novamente.

Se isso ainda não funcionar, tente instalar os pacotes manualmente.

  1. Abra o link no seu navegador da Web.
  2. Desça até a área de diretórios do pacote de pesquisa.
  3. Selecione sua versão do Ubuntu no menu suspenso Distribuição (neste caso, é yakkety ).
  4. Digite o nome do pacote e clique em search (neste caso é libgcc1)
  5. Clique no hit exato (neste caso é o pacote libgcc1)
  6. Selecione i386 na tabela na parte inferior
  7. Selecione um dos links na página. É provavelmente uma boa ideia selecionar aquele para o seu país, mas isso não importa.
  8. Abra um terminal e navegue até o diretório para o qual você baixou o pacote.
  9. Execute o sudo dpkg -i file.deb, em que file.deb é o arquivo que você acabou de baixar. Feito isso, tente instalar o Chrome novamente.

Se isso der a você um erro para um pacote diferente, siga as etapas de 1 a 9 para esse pacote e tente instalar o Google Chrome novamente. Você pode ter que fazer isso várias vezes.

    
por user689314 15.06.2017 / 19:47
1

Parece que uma dependência não está instalada. Eu faria o seguinte.

  1. Vá para o terminal

  2. Digite

    sudo dpkg -i /path/to/deb/file
    

    exemplo para mim foi:

    sudo dpkg -i /Downloads/google-chrome-stable_current_amd64.deb
    
  3. Em seguida, digite

    sudo apt-get install -f
    

    sudo apt-get install -f instalará as dependências necessárias.

Isso é o que eu tive que fazer para instalar o Chrome no Ubuntu Gnome 17.04. Espero que isso ajude.

    
por Mark Lines 11.06.2017 / 17:27