好的,所以我的最终目标是安装我的 Epson WF-2630 AIO 打印机。在尝试这样做时,我发现尝试安装任何带有 apt 的软件包都会导致相同的依赖错误:
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
所以我尝试了几个帖子的说明:
-
- 看完这篇后,我想我的错误可能是因为我曾经运行过 autoremove,但我不知道如何关闭它。
-
- 我认为这个不会有帮助,因为我没有要杀死的进程。
- 尝试安装时出错
- 评论“@tlo 我自己修复了它 somr kind og 命令,它使终端变紫了,它说是或否,我选择是并繁荣它修复了一切 sudo dpkg -configue -a 然后 sudo apt-get update”说他回答了他的自己的问题,但没有给我足够的信息来知道他做了什么。
- 如何在 Ubuntu 16.04 上安装 Epson 打印机驱动程序?
- 我添加了可信赖的来源,但它没有添加打印机,当我手动选择 .rpm 或 .deb 时,我会得到一个可供选择的点阵打印机列表。
当我尝试使用 gui 安装打印机,并告诉它自己下载驱动程序时,它只是冻结在那里。
我已经运行了几个命令:
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/
更新,尝试安装突触:
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).
您正在使用 epson-inkjet-printer-escpr_1.4.1-1lsb3.2_amd64.deb 并且 Epson 网站列出了 epson-inkjet-printer-escpr_1.6.13-1lsb3.2_amd64.deb 作为他们推荐的版本http://download。 ebz.epson.net/dsc/du/02/DriverDownloadInfo.do?LG2=EN&CN2=&DSCMI=55539&DSCCHK=5ef6ec128765534a989152269045f12fc58077f2 .so 如果您下载并保存该.for 新搜索,我从这里开始http://download.ebz。 epson.net/dsc/search/01/search/?OSC=LX并输入打印机编号。
我看到各种错误消息“ibc6:i386 is not installed”;和“尚未配置包 lsb-core”请检查 lsb 已安装;理想情况下使用可以安装的突触,
sudo apt install synaptic
如果安装了 lsb,我会在终端中再试一次sudo apt install epson-inkjet-printer-escpr_1.6.13-1lsb3.2_amd64.deb
我理解的新术语就是使用 apt install