moiseshonnef
(usa Debian)
Enviado em 09/04/2015 - 10:40h
Estou com um problema no meu kubuntu e não consigo resolver.
O erro acontece toda a vez que o dpkg é utilizado.
Já tentei os seguintes comandos sem sucesso:
# dpkg -a --configure
# apt-get clean && apt-get update && apt-get -f install
# aptitude -f install
# dpkg-reconfigure --all
Segue abaixo a descrição do problema.
root@res1bo:~# apt-get upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Pronto
Os pacotes a seguir serão mantidos em suas versões atuais:
linux-generic-lts-utopic linux-headers-generic-lts-utopic
linux-image-generic-lts-utopic
Os pacotes a seguir serão atualizados:
libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libtasn1-6
libtasn1-6-dev linux-libc-dev policykit-1
7 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 3 não atualizados.
É preciso baixar 0 B/1.338 kB de arquivos.
Depois desta operação, 2.048 B adicionais de espaço em disco serão usados.
Você quer continuar? [S/n] s
dpkg: erro fatal irrecuperável, abortando:
falta uma nova linha final no ficheiro de lista de ficheiros para o pacote 'libarchive13:i386'
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@res1bo:~# ^C
root@res1bo:~# sudo apt-get -f install
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 10 não atualizados.
root@res1bo:~# sudo dpkg-reconfigure -a
acpid stop/waiting
acpid start/running, process 13929
* Starting AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
[ OK ]
* Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
[ OK ]
apport stop/waiting
apport start/running
atd stop/waiting
atd start/running, process 20869
avahi-daemon stop/waiting
avahi-daemon start/running, process 21007
update-alternatives: a usar /usr/share/man/man7/bash-builtins.7.gz para disponibilizar /usr/share/man/man7/builtins.7.gz (builtins.7.gz) em modo automático
binfmt-support stop/waiting
update-binfmts: warning: current package is oracle-java8, but binary format already installed by openjdk-7
binfmt-support start/running
update-initramfs: deferring update (trigger activated)
bluetooth stop/waiting
bluetooth start/running, process 22158
update-initramfs: deferring update (trigger activated)
update-initramfs: deferring update (trigger activated)
update-initramfs: deferring update (trigger activated)
Unknown media type in type 'chemical/x-alchemy'
Unknown media type in type 'chemical/x-cache'
Unknown media type in type 'chemical/x-cactvs-ascii'
Unknown media type in type 'chemical/x-cactvs-binary'
Unknown media type in type 'chemical/x-cactvs-table'
Unknown media type in type 'chemical/x-cdx'
Unknown media type in type 'chemical/x-cdxml'
Unknown media type in type 'chemical/x-chem3d'
Unknown media type in type 'chemical/x-cif'
Unknown media type in type 'chemical/x-cml'
Unknown media type in type 'chemical/x-daylight-smiles'
Unknown media type in type 'chemical/x-dmol'
Unknown media type in type 'chemical/x-gamess-input'
Unknown media type in type 'chemical/x-gamess-output'
Unknown media type in type 'chemical/x-gaussian-input'
Unknown media type in type 'chemical/x-gaussian-log'
Unknown media type in type 'chemical/x-genbank'
Unknown media type in type 'chemical/x-gulp'
Unknown media type in type 'chemical/x-hin'
Unknown media type in type 'chemical/x-inchi'
Unknown media type in type 'chemical/x-inchi-xml'
Unknown media type in type 'chemical/x-jcamp-dx'
Unknown media type in type 'chemical/x-macromodel-input'
Unknown media type in type 'chemical/x-mdl-molfile'
Unknown media type in type 'chemical/x-mdl-rdfile'
Unknown media type in type 'chemical/x-mdl-rxnfile'
Unknown media type in type 'chemical/x-mdl-sdfile'
Unknown media type in type 'chemical/x-mdl-tgf'
Unknown media type in type 'chemical/x-mmcif'
Unknown media type in type 'chemical/x-mol2'
Unknown media type in type 'chemical/x-mopac-graph'
Unknown media type in type 'chemical/x-mopac-input'
Unknown media type in type 'chemical/x-mopac-out'
Unknown media type in type 'chemical/x-msi-car'
Unknown media type in type 'chemical/x-msi-hessian'
Unknown media type in type 'chemical/x-msi-mdf'
Unknown media type in type 'chemical/x-msi-msi'
Unknown media type in type 'chemical/x-ncbi-asn1'
Unknown media type in type 'chemical/x-ncbi-asn1-binary'
Unknown media type in type 'chemical/x-ncbi-asn1-xml'
Unknown media type in type 'chemical/x-pdb'
Unknown media type in type 'chemical/x-shelx'
Unknown media type in type 'chemical/x-vmd'
Unknown media type in type 'chemical/x-xyz'
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
cron stop/waiting
cron start/running, process 26074
update-initramfs: deferring update (trigger activated)
egrep: /etc/crypttab: Arquivo ou diretório não encontrado
Updating PPD files for cups ...
cups-browsed stop/waiting
cups-browsed start/running, process 26501
cups stop/waiting
cups start/running, process 26620
.
A remover 'desvio de /bin/sh para /bin/sh.distrib por dash'
A acrescentar 'desvio de /bin/sh para /bin/sh.distrib por bash'
A remover 'desvio de /usr/share/man/man1/sh.1.gz para /usr/share/man/man1/sh.distrib.1.gz por dash'
A acrescentar 'desvio de /usr/share/man/man1/sh.1.gz para /usr/share/man/man1/sh.distrib.1.gz por bash'
* Stopping DirMngr dirmngr [ OK ]
* Starting DirMngr dirmngr /sbin/start-stop-daemon: unable to chdir() to /root (Permission denied)
[fail]
invoke-rc.d: initscript dirmngr, action "start" failed.
root@res1bo:~#