![패키지 python3-pip 처리 중 오류가 발생했습니다.](https://rvso.com/image/1073506/%ED%8C%A8%ED%82%A4%EC%A7%80%20python3-pip%20%EC%B2%98%EB%A6%AC%20%EC%A4%91%20%EC%98%A4%EB%A5%98%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
sudo apt full-upgrade 또는 apt install -f 후에 다음 오류가 발생했습니다.
loo# sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
4 not fully installed or removed.
Need to get 0 B/384 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [O/n] O
dpkg: error processing package python3-apt (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of python3-aptdaemon:
python3-aptdaemon depends on python3-apt (>= 0.8.5~ubuntu1); however:
Package python3-apt is not configured yet.
dpkg: error processing package python3-aptdaemon (--configure):
dependency problems - leaving unconfigured
dpkg: error processing package python3-pip (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of aptdaemon:
aptdaemon depends on python3-aptdaemon (= 1.1.1+bzr982-0ubuntu32.3); however:
Package python3-aptdaemon is not configured yet.
dpkg: error processing package aptdaemon (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3-apt
python3-aptdaemon
python3-pip
aptdaemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
일부 정보; loo# dpkg --print-architecture
amd64
업데이트 1: sudo apt install --reinstall python3-apt를 실행할 때
내가 얻은 것은 다음과 같습니다.
dpkg: warning: old python3-apt package pre-removal script subprocess returned er
ror exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/python3-apt_2.0.1ubuntu0.
20.04.1_amd64.deb (--unpack):
new python3-apt package pre-removal script subprocess returned error exit statu
s 127
Errors were encountered while processing:
/var/cache/apt/archives/python3-apt_2.0.1ubuntu0.20.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)