dpkg: erro processando mfc8500lpr: i386 (--remove)

0

Desinstalei este pacote com o synaptic, mas ele não parece ter sido removido completamente. Eu usei o autoremove e o resultado está abaixo. Analisou vários pedidos de ajuda, mas pareciam não funcionar.

Alguém pode me informar o que pode funcionar?

Reading package lists... Done 
Building dependency tree       
Reading state information... Done 
The following packages will be REMOVED: 
  language-pack-kde-en language-pack-kde-en-base mfc8500lpr:i386 
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 
1 not fully installed or removed. 
After this operation, 3,388 kB disk space will be freed. 
Do you want to continue [Y/n]? y 
(Reading database ... 422194 files and directories currently installed.) 
Removing mfc8500lpr:i386 ... 
/var/lib/dpkg/info/mfc8500lpr.postrm: 3: /var/lib/dpkg/info/mfc8500lpr.postrm: /etc/init.d/lpd: not found 
dpkg: error processing mfc8500lpr:i386 (--remove): 
 subprocess installed post-removal script returned error exit status 127 
Removing language-pack-kde-en-base ... 
Removing language-pack-kde-en ... 
Processing triggers for software-center ... 
INFO:softwarecenter.db.update:no translation information in database needed 
Processing triggers for bamfdaemon ... 
Rebuilding /usr/share/applications/bamf.index... 
Errors were encountered while processing: 
 mfc8500lpr:i386 
E: Sub-process /usr/bin/dpkg returned an error code (1) 

Saída solicitada

cupswrappermfc8500:i386                1.0.2-1                                 Brother MFC8500 CUPS wrapper driver
rc  dmraid                                 1.0.0.rc16-4.1ubuntu8                   Device-Mapper Software RAID support tool
rc  fbreader                               0.12.10dfsg-6                           e-book reader
rc  firstboot-video                        2.3                                     Plays a video at firstboot.
rc  kde-l10n-engb                          4:4.8.5-0ubuntu0.1                      British English (engb) localization for KDE
rc  kpartx-boot                            0.4.9-3ubuntu5                          Provides kpartx during boot
rc  language-pack-kde-en-base              1:12.04+20130128                        KDE translations for language English
rc  libdebconfclient0                      0.158ubuntu1                            Debian Configuration Management System (C-implementation library)
rc  libdebian-installer4                   0.79ubuntu2.1                           Library of common debian-installer functions
rc  libdmraid1.0.0.rc16                    1.0.0.rc16-4.1ubuntu8                   Device-Mapper Software RAID support tool - shared library
rc  libept1.4.12                           1.0.6~exp1ubuntu1                       High-level library for managing Debian package information
rc  liblinebreak2                          2.1-1                                   line breaking library for Unicode (shared library)
rc  libubuntuoneui-3.0-1                   3.0.1-0ubuntu1                          Ubuntu One widget library
rc  libzlcore0.12                          0.12.10dfsg-6                           ZLibrary cross-platform development library (shared library)
rc  libzltext0.12                          0.12.10dfsg-6                           ZLibrary text model/viewer part (shared library)
rc  oem-config                             2.10.20                                 Perform end-user configuration after initial OEM installation
rc  oem-config-gtk                         2.10.20                                 GTK+ frontend for end-user post-OEM-install configuration
rc  oobe-dim-disable                       1.0                                     Disables screen dimming.
rc  pdfedit                                0.4.5-2                                 Editor for manipulating PDF documents
rc  synaptic                               0.75.9ubuntu1                           Graphical package manager
rc  ubuntu-recovery-bootloader             0.3.35yongkang5                         Bootloader images for Ubuntu's factory process
rc  user-setup                             1.42ubuntu3                       
    
por Dan 23.11.2013 / 19:54

2 respostas

0

Parece que o pacote tenta reiniciar o serviço lpd, que não está lá na instalação padrão do ubuntu. Tente correr

% bl0ck_qu0te%

antes de remover o pacote, faça a desinstalação e, em seguida, execute

% bl0ck_qu0te%

para remover o link.

    
por user218725 23.11.2013 / 22:19
0
sudo dpkg --configure -a

e

sudo apt-get install -f

o problema de um pacote quebrado ainda existe, a solução é editar o arquivo de status do dpkg manualmente.

sudo nano /var/lib/dpkg/status  

Localize o pacote corrompido (mfc8500lpr.postrm) e remova todo o bloco de informações sobre ele e salve o arquivo.

sudo dpkg -i --force-all [deb file path]

Esse é o caminho do arquivo mfc8500lpr:i386 .

    
por Avinash Raj 24.11.2013 / 03:24