Era impossível resolver essa dependência circular. Eu tive que reinstalar o sistema operacional para resolver o problema.
Problemas iniciados após uma perda de energia inesperada durante a execução do apt-get dist-upgrade.
Quando eu executo o comando (como root) apt-get dist-upgrade e obtive a seguinte saída:
Reading package lists ... Done
Building dependency tree.
Status information is read .... Done
Try 'apt-get -f install' to correct this.
The following packages have unmet dependencies:
libc6: Depends: but is not installed libgcc1
E: Unmet dependencies. Try to use -f.
Então corro apt-get -f install e obtenho:
Reading package lists ... Done
Building dependency tree.
Status information is read .... Done
Correcting dependencies ... Done
The following extra packages will be installed:
libgcc1
The following NEW packages will be installed:
libgcc1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B of archives still 47.9 kB.
After this operation, 156 kB disk space will be used.
Would you like to continue? [Y / n] y
E: Can not get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: File or directory not found
dpkg: pre-dependency problem concerning ... / libgcc1_1% 3a4.9.1-0ubuntu1_i386.deb which libgcc1: i386 contains:
libgcc1 depends (in advance) of multiarch-support from
multiarch-support is unpacked, but has never been configured.
dpkg: error processing the archive /var/cache/apt/archives/libgcc1_1%3a4.9.1-0ubuntu1_i386.deb (--unpack):
Pre-dependency problem - libgcc1: i386 is not installed
Errors were encountered while processing:
/var/cache/apt/archives/libgcc1_1%3a4.9.1-0ubuntu1_i386.deb
E: Sub-process / usr / bin / dpkg returned an error code (1)
Quando eu executo dpkg-reconfigure -f libgcc1 eu recebo (também outros dpkg-reconfigure s não irão ajudar):
debconf : unable to initialize surface : libgcc1
debconf : ( Can not locate Debconf/FrontEnd/Libgcc1.pm in INC ( You may need to install the Debconf :: Frontend :: libgcc1 module) ( INC contains: /etc/perl/usr/local/ lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl.) at (eval 34)line 2.)
debconf : fall back to the surface : nonInteractive
/usr/sbin/dpkg -reconfigure : please choose a package that you want to reconfigure
O que devo tentar agora para resolver este problema deste pacote que é extraído mas não configurado ? No estado atual existe uma dependência circular libgcc1 e multiarch-support .
Eu ficaria muito feliz se você puder me ajudar, nada que eu saiba para corrigir problemas com pacotes ajuda.
Era impossível resolver essa dependência circular. Eu tive que reinstalar o sistema operacional para resolver o problema.