ecsj
(usa Debian)
Enviado em 02/04/2016 - 10:44h
bom dia e bom fim de semana a todos.
Estou com um problema ao instalar qualquer coisa atravez do apt-get
Ja fiz os seguintes procedimentos:
apt-get update
apt-get clean
apt-get remove
apt-get autoremove
E sempre apresenta:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
Setting up php5-common (5.4.45-0+deb7u2) ...
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
dpkg: error processing php5-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libphp5-embed:
libphp5-embed depends on php5-common (= 5.4.45-0+deb7u2); however:
Package php5-common is not configured yet.
dpkg: error processing libphp5-embed (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-curl:
php5-curl depends on phpapi-20100525+lfs; however:
Package phpapi-20100525+lfs is not installed.
Package libphp5-embed which provides phpapi-20100525+lfs is not configured yet.
php5-curl depends on php5-common (= 5.4.45-0+deb7u2); however:
Package php5-common is not configured yet.
dpkg: error processing php5-curl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on phpapi-20100525+lfs; however:
Package phpapi-20100525+lfs is not installed.
Package libphp5-embed which provides phpapi-20100525+lfs is not configured yet.
php5-gd depends on php5-common (= 5.4.45-0+deb7u2); however:
Package php5-common is not configured yet.
dpkg: error processing php5-gd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-mcrypt:
php5-mcrypt depends on phpapi-20100525+lfs; however:
Package phpapi-20100525+lfs is not installed.
Package libphp5-embed which provides phpapi-20100525+lfs is not configured yet.
php5-mcrypt depends on php5-common (= 5.4.45-0+deb7u2); however:
Package php5-common is not configured yet.
dpkg: error processing php5-mcrypt (--configure):
dependency problems - leaving unconfigured
Setting up tasksel (3.14.1) ...
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
dpkg: error processing tasksel (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tasksel-data:
tasksel-data depends on tasksel; however:
Package tasksel is not configured yet.
dpkg: error processing tasksel-data (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
php5-common
libphp5-embed
php5-curl
php5-gd
php5-mcrypt
tasksel
tasksel-data
E: Sub-process /usr/bin/dpkg returned an error code (1)
Se eu tentar remover o pacote tambem da erro
Tambem ja usei esses outros comandos:
apt-get install -f
aptitude reinstall libapache2-mod-php5
aptitude install php5
aptitude install libapache2-mod-php5 libapache2-mod-php5filter php5-cgi php5-fpm php5
apt-get purge php5
dpkg --configure -a
Versao da minha distro: Debian GNU/Linux 7.9
todos sempre vao ter a mensagem de erro
Estou buscando em diversos foruns, mas ate agora nao consegui resolver.
Estou pensando em atualizar para o debian 8 pra ver se resolve..
Obrigado desde ja a ajuda