Não é possível reinstalar o Ubuntu-Desktop devido a um erro estranho na impressora-driver-pnm2ppa

1

Estou tentando corrigir esse erro por horas sem sucesso. Meu apt-get parece estar paralisado por um erro que estou recebendo com esta impressora-driver-pnm2ppa. Eu realmente não preciso do driver, mas é uma dependência para uma quantidade aparentemente infinita de coisas. Qualquer ajuda seria muito apreciada.

sudo apt-get install ubuntu-desktop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  ubuntu-desktop
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 4,270 B of archives.
After this operation, 60.4 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ saucy/main ubuntu-desktop i386 1.307     [4,270 B]
Fetched 4,270 B in 0s (13.7 kB/s)         
Selecting previously unselected package ubuntu-desktop.
(Reading database ... 403424 files and directories currently installed.)
Unpacking ubuntu-desktop (from .../ubuntu-desktop_1.307_i386.deb) ...
Processing triggers for libc-bin ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.11.0-13-generic
Processing triggers for ca-certificates ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
done.
done.
Setting up printer-driver-pnm2ppa (1.13+nondbs-0ubuntu3) ...
/var/lib/dpkg/info/printer-driver-pnm2ppa.postinst: 19: /var/lib/dpkg/info/printer-    driver-pnm2ppa.postinst: install: not found
dpkg: error processing printer-driver-pnm2ppa (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on printer-driver-pnm2ppa; however:
  Package printer-driver-pnm2ppa is not configured yet.

dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error     from a previous failure.
                                                                                                          Errors were encountered while processing:
 printer-driver-pnm2ppa
 ubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)

EDIT 1: Por solicitação, adicionando saída de

sudo apt-get --reinstall install printer-driver-pnm2ppa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  magicfilter apsfilter
The following NEW packages will be installed:
  printer-driver-pnm2ppa
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/210 kB of archives.
After this operation, 772 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package printer-driver-pnm2ppa.
(Reading database ... 403352 files and directories currently installed.)
Unpacking printer-driver-pnm2ppa (from .../printer-driver-pnm2ppa_1.13+nondbs-0ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 3 changed doc-base files...
Registering documents with scrollkeeper...
Setting up printer-driver-pnm2ppa (1.13+nondbs-0ubuntu3) ...
/var/lib/dpkg/info/printer-driver-pnm2ppa.postinst: 19: /var/lib/dpkg/info/printer-    driver-pnm2ppa.postinst: install: not found
dpkg: error processing printer-driver-pnm2ppa (--configure):
 subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
                                                              Errors were encountered     while processing:
 printer-driver-pnm2ppa
E: Sub-process /usr/bin/dpkg returned an error code (1)

EDIT 2:

sudo apt-get purge printer-driver-pnm2ppa && sudo rm /var/lib/dpkg/info/printer-    driver-pnm2ppa*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  printer-driver-pnm2ppa*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 772 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 403423 files and directories currently installed.)
Removing printer-driver-pnm2ppa ...
Purging configuration files for printer-driver-pnm2ppa ...
Processing triggers for doc-base ...
Processing 3 removed doc-base files...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
rm: cannot remove ‘/var/lib/dpkg/info/printer-driver-pnm2ppa*’: No such file or     directory

EDIT 3: Ainda não está funcionando. Indicando o erro no launchpad.

 sudo apt-get install printer-driver-pnm2ppa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  magicfilter apsfilter
The following NEW packages will be installed:
  printer-driver-pnm2ppa
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/210 kB of archives.
After this operation, 772 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package printer-driver-pnm2ppa.
(Reading database ... 403352 files and directories currently installed.)
Unpacking printer-driver-pnm2ppa (from .../printer-driver-pnm2ppa_1.13+nondbs-    0ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 3 added doc-base files...
Registering documents with scrollkeeper...
Setting up printer-driver-pnm2ppa (1.13+nondbs-0ubuntu3) ...
/var/lib/dpkg/info/printer-driver-pnm2ppa.postinst: 19: /var/lib/dpkg/info/printer-driver-pnm2ppa.postinst: install: not found
dpkg: error processing printer-driver-pnm2ppa (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 printer-driver-pnm2ppa
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por an1lam 25.11.2013 / 02:11

0 respostas