无法安装 Synaptic 包管理器

无法安装 Synaptic 包管理器

我无法从 Ubuntu 软件商店安装“Synaptic 软件包管理器”。我使用的是 Ubuntu 23.04,当我尝试安装它时,对话框显示“运行事务时无法安装“Synaptic 软件包管理器”错误

在此处输入图片描述


我按照这个说明进行操作,结果如下:

ramendu-narayan-datta@ramendu-narayan-datta-AM1M-S2H:~$ sudo apt-get install --yes synaptic
[sudo] password for ramendu-narayan-datta: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libept1.6.0 libxapian30
Suggested packages:
  xapian-tools dwww deborphan apt-xapian-index tasksel
The following NEW packages will be installed:
  libept1.6.0 libxapian30 synaptic
0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
Need to get 1,363 kB of archives.
After this operation, 5,282 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu lunar/universe amd64 libept1.6.0 amd64 1.2.1 [84.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu lunar/universe amd64 libxapian30 amd64 1.4.22-1 [694 kB]
Get:3 http://archive.ubuntu.com/ubuntu lunar/universe amd64 synaptic amd64 0.91.3 [585 kB]
Fetched 1,363 kB in 2s (588 kB/s) 
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
E: Sub-process /usr/bin/dpkg returned an error code (2)
ramendu-narayan-datta@ramendu-narayan-datta-AM1M-S2H:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-6.2.0-26 linux-headers-6.2.0-26-generic
  linux-image-6.2.0-26-generic linux-modules-6.2.0-26-generic
  linux-modules-extra-6.2.0-26-generic
The following packages will be upgraded:
  linux-generic-hwe-22.04 linux-headers-generic-hwe-22.04
  linux-image-generic-hwe-22.04 linux-libc-dev openssh-client
5 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
5 standard LTS security updates
Need to get 0 B/141 MB of archives.
After this operation, 808 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown opti
on 'foreign-architecture'
E: Sub-process /usr/bin/dpkg returned an error code (2)
ramendu-narayan-datta@ramendu-narayan-datta-AM1M-S2H:~$ sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu lunar-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu lunar InRelease
Hit:3 http://archive.ubuntu.com/ubuntu lunar-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu lunar-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu lunar-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
ramendu-narayan-datta@ramendu-narayan-datta-AM1M-S2H:~$ 

答案1

从各种来源得知,ubuntu 23.04 不是 LTS 版本,而且有很多错误,所以我决定完全卸载 ubuntu 23.04 并安装 22.04LTS 和 Windows 10,并且可以看到 Epson l360 打印机和扫描仪已顺利安装并正常工作。这是给每个人的信息

相关内容