![我无法使用 apt 或 apt-get 安装任何东西](https://linux22.com/image/1196372/%E6%88%91%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%20apt%20%E6%88%96%20apt-get%20%E5%AE%89%E8%A3%85%E4%BB%BB%E4%BD%95%E4%B8%9C%E8%A5%BF.png)
每当我尝试在 ubuntu 22.4 上安装某些东西时,它都会返回此错误
root@lucie-Precision-Tower-3620:/home/lucie/Programs/perl-5.38.0# sudo apt install make
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
make-doc
The following NEW packages will be installed:
make
0 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
3 not fully installed or removed.
Need to get 180 kB of archives.
After this operation, 426 kB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1 [180 kB]
Fetched 180 kB in 0s (989 kB/s)
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found
Setting up debconf (1.5.79ubuntu1) ...
/var/lib/dpkg/info/debconf.postinst: 17: exec: /usr/share/debconf/frontend: not found
dpkg: error processing package debconf (--configure):
installed debconf package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
debconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
但是 /usr/sbin/dpkg-preconfigure 和 /usr/share/debconf/frontend 在那里.. 可能是因为没有安装 perl 吗?(如果没有 make,我就无法安装它,因为我没有 make)提前谢谢!