Eu continuo recebendo erros de dependência e “lsb não configurado” quando tento instalar qualquer software com o apt-get install

-1

Ok, meu objetivo final é instalar minha impressora Epson WF-2630 AIO. Ao tentar fazer isso, descobri que tentar instalar qualquer pacote w / apt causa o mesmo erro de dependência:

jen@DotySupreme:~/Downloads$ sudo dpkg -i epson-inkjet-printer-escpr_1.4.1-1lsb3.2_amd64.deb
(Reading database ... 223896 files and directories currently installed.)
Preparing to unpack epson-inkjet-printer-escpr_1.4.1-1lsb3.2_amd64.deb ...
Unpacking epson-inkjet-printer-escpr (1.4.1-1lsb3.2) over (1.4.1-1lsb3.2) ...
dpkg: dependency problems prevent configuration of epson-inkjet-printer-escpr:
 epson-inkjet-printer-escpr depends on lsb (>= 3.2); however:
  Package lsb is not configured yet.

dpkg: error processing package epson-inkjet-printer-escpr (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
 epson-inkjet-printer-escpr

Então, tentei seguir instruções de várias postagens:

  1. o apt-get install não pode instalar nenhum software

    • Depois de ler este, acho que meu erro pode ser porque uma vez eu executei autoremove, mas não sei como desligá-lo.
  2. O Apt-get não instala nenhum software desde atualização mais recente

    • Eu não acho que isso vai ajudar, porque eu não tenho um processo para matar.
  3. Erros ao tentar instalar
    • O comentário "@tlo eu consertei ele mesmo o tipo de comando que vira o terminal purpel e ele diz sim ou não eu escolho sim e boom corrigiu tudo sudo dpkg -configue -um então sudo apt-get update" diz que ele respondeu sua própria pergunta, mas não me dá informações suficientes para saber o que ele fez.
  4. Como instalar drivers de impressora Epson no Ubuntu 16.04?
    • Adicionei as fontes confiáveis, mas ela não adiciona a impressora e, quando seleciono manualmente o arquivo .rpm ou .deb, recebo uma lista de impressoras matriciais para escolher.

Quando tento usar o gui para instalar a impressora e dizer para baixar os drivers, ela fica congelada.

Eu executei vários comandos:

jen@DotySupreme:~$ sudo apt-get install printer-driver-escpr
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:
 libgcc1:i386 : Depends: libc6:i386 (>= 2.2.4) but it is not going to be installed
 lsb-core : Depends: libc6:i386 or
                     libc6-i386 but it is not going to be installed
 zlib1g:i386 : Depends: libc6:i386 (>= 2.4) but it is not going to be installed
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

jen@DotySupreme:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libc6:i386
Suggested packages:
  glibc-doc:i386 locales:i386
The following NEW packages will be installed:
  libc6:i386
0 upgraded, 1 newly installed, 0 to remove and 57 not upgraded.
7 not fully installed or removed.
Need to get 0 B/2,275 kB of archives.
After this operation, 9,811 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 223896 files and directories currently installed.)
Preparing to unpack .../libc6_2.23-0ubuntu7_i386.deb ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing archive /var/cache/apt/archives/libc6_2.23-0ubuntu7_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.23-0ubuntu7_i386.deb
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)

jen@DotySupreme:~$ sudo apt-get update
Reading package lists... Done
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

jen@DotySupreme:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of zlib1g:i386:
 zlib1g:i386 depends on libc6 (>= 2.4); however:
  Package libc6:i386 is not installed.

dpkg: error processing package zlib1g:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-core:
 lsb-core depends on libc6:i386 | libc6-i386; however:
  Package libc6:i386 is not installed.
  Package libc6-i386 is not installed.
 lsb-core depends on zlib1g:i386 | lib32z1; however:
  Package zlib1g:i386 is not configured yet.
  Package lib32z1 is not installed.

dpkg: error processing package lsb-core (--configure):
 dependency problems - leaving unconfigured
Setting up cups (2.1.3-4) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package cups (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of lsb:
 lsb depends on lsb-core (>= 9.20160110ubuntu0.2); however:
  Package lsb-core is not configured yet.

dpkg: error processing package lsb (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc1:i386:
 libgcc1:i386 depends on libc6 (>= 2.2.4); however:
  Package libc6:i386 is not installed.

dpkg: error processing package libgcc1:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of epson-inkjet-printer-escpr:
 epson-inkjet-printer-escpr depends on lsb (>= 3.2); however:
  Package lsb is not configured yet.

dpkg: error processing package epson-inkjet-printer-escpr (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-printing:
 lsb-printing depends on lsb-core (>= 9.20160110ubuntu0.2); however:
  Package lsb-core is not configured yet.

dpkg: error processing package lsb-printing (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zlib1g:i386
 lsb-core
 cups
 lsb
 libgcc1:i386
 epson-inkjet-printer-escpr
 lsb-printing

jen@DotySupreme:~$ sudo apt-get clean
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

UPDATE, tentou instalar o synaptic:

jen@DotySupreme:~$ sudo apt install synaptic
[sudo] password for jen: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
synaptic is already the newest version (0.83).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libgcc1:i386 : Depends: libc6:i386 (>= 2.2.4) but it is not going to be installed
 lsb-core : Depends: libc6:i386 or
                     libc6-i386 but it is not going to be installed
 zlib1g:i386 : Depends: libc6:i386 (>= 2.4) but it is not going to be installed
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
por Keiva 02.05.2017 / 18:45

1 resposta

0

você está usando o epson-inkjet-printer-escpr_1.4.1-1lsb3.2_amd64.deb e o site da Epson lista o epson-inkjet-printer-escpr_1.6.13-1lsb3.2_amd64.deb como a versão que eles recomendam link .so se você Faça o download e salve. Para uma nova pesquisa, eu começo aqui link e digite o número da impressora.

Eu vejo várias mensagens de erro "ibc6: i386 não está instalado"; e "Pacote lsb-core ainda não está configurado" por favor verifique o lsb instalado; idealmente usando o synaptic que pode ser instalado com sudo apt install synaptic e se o lsb estiver instalado eu tentaria novamente em um terminal com sudo apt install epson-inkjet-printer-escpr_1.6.13-1lsb3.2_amd64.deb

nova terminologia que eu entendo é apenas usar o apt install

    
por pdc 02.05.2017 / 22:43