Erro após a instalação dos pacotes - O subprocesso / usr / bin / dpkg retornou um código de erro (1)

0

Por favor ajude com este erro

Errors were encountered while processing: gdk-pixbuf-psd

E:Sub-process /usr/bin/dpkg returned an error code (1)


and-dev@Ubuntu01:~$ sudo apt-get install -f

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up gdk-pixbuf-psd (20081217) ...
/var/lib/dpkg/info/gdk-pixbuf-psd.postinst: 23: /var/lib/dpkg/info/gdk-pixbuf-psd.postinst: cannot create /usr/lib/gtk-2.0/2.10.0/loader-files.d/gdk-pixbuf-psd.loaders: Directory nonexistent
/var/lib/dpkg/info/gdk-pixbuf-psd.postinst: 23: /var/lib/dpkg/info/gdk-pixbuf-psd.postinst: gdk-pixbuf-query-loaders: not found
dpkg: error processing gdk-pixbuf-psd (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 gdk-pixbuf-psd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Resultado de:

    
por Sibiraj PR 06.02.2014 / 07:57

1 resposta

1

/var/lib/dpkg/info/gdk-pixbuf-psd.postinst: 23: /var/lib/dpkg/info/gdk-pixbuf-psd.postinst: cannot create
/usr/lib/gtk-2.0/2.10.0/loader-files.d/gdk-pixbuf-psd.loaders: Directory nonexistent

O problema atual aqui é a mensagem acima. O postinst (script de instalação) do gdk-pixbuf-psd espera um diretório inexistente para prosseguir com a instalação. Você pode "ajudar" manualmente criar este diretório.

i.e.

sudo mkdir -p /usr/lib/gtk-2.0/2.10.0/loader-files.d/ 

tente reconfigurar com o dpkg

sudo dpkg --configure -a 
sudo apt-get install -f 
    
por NickTux 06.02.2014 / 08:54