Greetings I was trying to clean up my /usr/bin directory so was discarding older versions of software. Had python3.10 available so thought (foolishly - - now clear) that python3.9 was a great candidate for discard. Nope nix and no way.
Now I have myself more than a bit of a mess with my installed python systems. Suggestions as to how to repair my 'mess'? (Following is what the apt update upgrade process barfs up. Please - - - I'm not any kind of programmer just an over eager user who tends to beat his systems up - - - hard!!) Setting up python2.7-minimal (2.7.18-13.1) ... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] /usr/bin/python2.7: can't open file '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or directory dpkg: error processing package python2.7-minimal (--configure): installed python2.7-minimal package post-installation script subprocess returned error exit status 2 Setting up python3.9-minimal (3.9.12-1) ... update-binfmts: warning: /usr/share/binfmts/python3.9: no executable /usr/bin/python3.9 found, but continuing anyway as you request /var/lib/dpkg/info/python3.9-minimal.postinst: 51: /usr/bin/python3.9: not found dpkg: error processing package python3.9-minimal (--configure): installed python3.9-minimal package post-installation script subprocess returned error exit status 127 dpkg: dependency problems prevent configuration of python3.9: python3.9 depends on python3.9-minimal (= 3.9.12-1); however: Package python3.9-minimal is not configured yet. dpkg: error processing package python3.9 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python2.7: python2.7 depends on python2.7-minimal (= 2.7.18-13.1); however: Package python2.7-minimal is not configured yet. dpkg: error processing package python2.7 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python3.9-dev: python3.9-dev depends on python3.9 (= 3.9.12-1); however: Package python3.9 is not configured yet. dpkg: error processing package python3.9-dev (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python2.7-minimal python3.9-minimal python3.9 python2.7 python3.9-dev _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng