Sudo apt-get install(更新、アップグレードなど)がすべて私のシステムで機能しなくなりました。私はオンラインでアドバイススレッドをフォローしましたが、状況が悪化したようです!
現在、 Sudo apt-get upgrade
メッセージを返します:
dpkg: error processing package software-properties-common (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
software-properties-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
ながら
Sudo apt-get install --reinstall software-properties-common
メッセージを返します:
/var/lib/dpkg/info/software-properties-common.prerm: 6: /var/lib/dpkg/info/software-properties-common.prerm: py3clean: not found
dpkg: warning: old software-properties-common package pre-removal script subprocess returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/software-properties-common_0.97.11_all.deb (--unpack):
new software-properties-common package pre-removal script subprocess returned error exit status 127
何か案は?
@ラファ:
Sudo apt-get install --reinstall pythin3-minimal
次のエラーを返します。
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of software-properties-common:
software-properties-common depends on python3:any; however:
Package python3 is not configured yet.
software-properties-common depends on python3; however:
Package python3 is not configured yet.
dpkg: error processing package software-properties-common (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) ...
dpkg: dependency problems prevent processing triggers for gnome-menus:
gnome-menus depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package gnome-menus (--configure):
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
python3
software-properties-common
gnome-menus
E: Sub-process /usr/bin/dpkg returned an error code (1)
新しい何か: Sudo dpkg --configure -a && Sudo apt update --fix-missing && Sudo apt install -f && Sudo apt full-upgrade
教えて:Package python3 is not configured yet.
@Raffa(ありがとうRaffa!)からピックアップされたリードに続いて、私は次のことを実行した後、なんとか動作させることができました。
まず、Pythonを手動で再インストールします。
apt-get download python3 python3.7 python3.7-minimal libpython3.7-minimal
Sudo dpkg -i *python3*.deb
Sudo apt install -f
次に、software-properties-commonを手動で再インストールします。
apt-get download software-properties-common
Sudo dpkg -i *software-properties-common*.deb
Sudo apt install -f
これは、システムを起動時の状態にリセットするためのものだったと思います。 Redditスレッドから修正を取得しました: https://www.reddit.com/r/pop_os/comments/aduzbg/upgrading_1804_to_1810_python3_install_is/
apt-get remove --purge python2.7-minimal
Sudo apt-get autoremove
その後、再びうまくいきました!