Experimente estes comandos:
sudo apt-get clean
sudo apt-get update
sudo apt-get -f install
Não é possível instalar ou desinstalar qualquer pacote através do terminal e do centro de software.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
aptdaemon : Depends: python3-aptdaemon (= 1.1.1-1ubuntu5.1) but 1.1.1-1ubuntu5 is to be installed
ubuntu-release-upgrader-core : Depends: python3-distupgrade (= 1:0.220.6) but 1:0.220.2 is to be installed
ubuntu-release-upgrader-gtk : Depends: python3-distupgrade (= 1:0.220.6) but 1:0.220.2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Tentei
sudo apt-get -configure -a
também consertando dpendências quebradas através do aptitude. Mas, pegue o mesmo erro Também tentei executar,
sudo apt-get -f install
Mas deu erros como:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted (core dumped)
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 134
Errors were encountered while processing:
/var/cache/apt/archives/python3-aptdaemon.pkcompat_1.1.1-1ubuntu5.1_all.deb
/var/cache/apt/archives/python3-aptdaemon.gtk3widgets_1.1.1-1ubuntu5.1_all.deb
/var/cache/apt/archives/python3-aptdaemon_1.1.1-1ubuntu5.1_all.deb
/var/cache/apt/archives/language-selector-gnome_0.129.3_all.deb
/var/cache/apt/archives/language-selector-common_0.129.3_all.deb
/var/cache/apt/archives/ubuntu-drivers-common_1%3a0.2.91.7_amd64.deb
/var/cache/apt/archives/python3-distupgrade_1%3a0.220.6_all.deb
/var/cache/apt/archives/python3-uno_1%3a4.2.7-0ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Qualquer ajuda por favor e eu serei muito grato!
O sudo apt-get -f install apresenta o mesmo erro mencionado anteriormente:
subprocess new pre-removal script returned error exit status 134
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted (core dumped)
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 134
Errors were encountered while processing:
/var/cache/apt/archives/python3-aptdaemon.pkcompat_1.1.1-1ubuntu5.1_all.deb
/var/cache/apt/archives/python3-aptdaemon.gtk3widgets_1.1.1-1ubuntu5.1_all.deb
/var/cache/apt/archives/python3-aptdaemon_1.1.1-1ubuntu5.1_all.deb
/var/cache/apt/archives/language-selector-gnome_0.129.3_all.deb
/var/cache/apt/archives/language-selector-common_0.129.3_all.deb
/var/cache/apt/archives/ubuntu-drivers-common_1%3a0.2.91.7_amd64.deb
/var/cache/apt/archives/python3-distupgrade_1%3a0.220.7_all.deb
/var/cache/apt/archives/python3-uno_1%3a4.2.7-0ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Não consigo instalar ou desinstalar nenhum pacote e estou recebendo um erro como:
Errors were encountered while processing:
python3
python3-apt
language-selector-common
ubuntu-drivers-common
update-notifier-common
apparmor
python3-distupgrade
ubuntu-release-upgrader-core
python3-problem-report
python3-apport
apport
apport-gtk
python3-aptdaemon
aptdaemon
python3-aptdaemon.gtk3widgets
language-selector-gnome
python3-urllib3
python3-requests
python3-software-properties
software-properties-common
python3-uno
software-properties-gtk
python3-aptdaemon.pkcompat
system-config-printer-gnome
ubuntu-release-upgrader-gtk
update-notifier
usb-creator-common
usb-creator-gtk
xul-ext-ubufox
E: Sub-process /usr/bin/dpkg returned an error code (1)
Qualquer ajuda, por favor!
Experimente estes comandos:
sudo apt-get clean
sudo apt-get update
sudo apt-get -f install