Experimente estes comandos
sudo apt-get clean
sudo apt-get update
sudo apt-get install -f
sudo dpkg -a --configure
sudo apt-get dist-upgrade
Eu recebi esse erro ao instalar o PyCharm e o software de inicialização não pode ser instalado. Eu deixei assim. Mas agora não consigo instalar nenhum novo software por causa de dependências quebradas.
installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 333416 files and directories currently installed.)
Preparing to unpack .../oracle-java9-installer_9b102+9b102arm-1~webupd8~0_all.deb ...
oracle-license-v1-1 license could not be presented
try 'dpkg-reconfigure debconf' to select a frontend other than noninteractive
dpkg: error processing archive /var/cache/apt/archives/oracle-java9-installer_9b102+9b102arm-1~webupd8~0_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/oracle-java9-installer_9b102+9b102arm-1~webupd8~0_all.deb
Error in function:
dpkg: dependency problems prevent configuration of pycharm:
pycharm depends on java6-runtime | java7-runtime; however:
Package java6-runtime is not installed.
Package java7-runtime is not installed.
dpkg: error processing package pycharm (--configure):
dependency problems - leaving unconfigured
O que devo fazer agora?
Experimente estes comandos
sudo apt-get clean
sudo apt-get update
sudo apt-get install -f
sudo dpkg -a --configure
sudo apt-get dist-upgrade