Ошибка после установки пакетов - Подпроцесс / usr / bin / dpkg вернул код ошибки (1)

Пожалуйста, помогите с этой ошибкой

При обработке были обнаружены ошибки: gdk-pixbuf-psd

E: Подпроцесс / usr / bin / dpkg вернул код ошибки ( 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)

Результат:

enter image description here

enter image description here

0
задан 6 February 2014 в 11:16

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

Фактическая проблема здесь - вышеупомянутое сообщение. Postinst (установочный скрипт) gdk-pixbuf-psd ожидает, что каталог не существует, чтобы продолжить установку. Вы можете «помочь» вручную создать этот каталог.

Т.е.

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

затем попытайтесь перенастроить с помощью dpkg

sudo dpkg --configure -a 
sudo apt-get install -f 
0
ответ дан 6 February 2014 в 11:16

Другие вопросы по тегам:

Похожие вопросы: