하위 프로세스 /usr/bin/dpkg가 오류 코드(100)를 반환했습니다. dpkg 오류

하위 프로세스 /usr/bin/dpkg가 오류 코드(100)를 반환했습니다. dpkg 오류

저는 Ubuntu 18.04.5 LTS를 사용하고 있습니다. 새 패키지를 설치하는 동안 dpkg가 잠겼습니다. 그런 다음 잠겨 있고 dpkg를 찾을 수 없다는 dpkg 오류가 발견되었습니다. 나는 "sudo apt install dpkg"를 시도했지만 이미 새 dpkg를 설치했다고 말합니다.

출력 sudo apt install dpkg:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
dpkg is already the newest version (1.19.0.5ubuntu2.3).
0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.

sudo apt-get install --reinstall dpkg그 후 " "를 시도 하고 출력을 찾았습니다.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 37 not upgraded.
Need to get 1,136 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg amd64 1.19.0.5ubuntu2.3 [1,136 kB]
Fetched 1,136 kB in 1s (1,450 kB/s)                  
Could not exec dpkg!
/usr/lib/libdvd-pkg/b-i_libdvdcss.sh: 7: /usr/lib/libdvd-pkg/b-i_libdvdcss.sh: dpkg: not found
E: Sub-process /usr/bin/dpkg returned an error code (100)

그래서 dpkg를 설치할 수 없고 이 오류를 제거할 수도 없습니다.

참고: sudo apt upgrade전혀 작동하지 않습니다.출력

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  distro-info python3-click python3-colorama
The following packages will be upgraded:
  apt apt-utils docker.io gnome-shell gnome-shell-common grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-pc grub-pc-bin grub2-common
  initramfs-tools initramfs-tools-bin initramfs-tools-core isc-dhcp-client isc-dhcp-common libapt-inst2.0 libapt-pkg5.0 libnss-myhostname
  libnss-systemd libpam-systemd libseccomp2 libsystemd0 libudev1 linux-firmware python3-distupgrade sbsigntool systemd systemd-sysv
  ubuntu-advantage-tools ubuntu-drivers-common ubuntu-keyring ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk udev update-notifier
  update-notifier-common
37 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/126 MB of archives.
After this operation, 2,394 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Preconfiguring packages ...
/tmp/ubuntu-advantage-tools.config.idFIRB: 7: /tmp/ubuntu-advantage-tools.config.idFIRB: dpkg: not found
/tmp/grub-pc.config.YIkgdy: 1: /tmp/grub-pc.config.YIkgdy: dpkg: not found
Could not exec dpkg!
/usr/lib/libdvd-pkg/b-i_libdvdcss.sh: 7: /usr/lib/libdvd-pkg/b-i_libdvdcss.sh: dpkg: not found
E: Sub-process /usr/bin/dpkg returned an error code (100)

관련 정보