Update-manager gives this error: 'exceptions.SystemError' E:The package libkfile4 needs to be reinstalled, but I can't find an archive for it.

Asked by Pablo

When updating I get this error message:

Type 'exceptions.SystemError' E:The package libkfile4 needs to be reinstalled, but I can't find an archive for it.

I disabled all but the Cannonical sources, but that didn't help

Now I can't even open the update manager

What to do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Pablo
Solved:
Last query:
Last reply:
Revision history for this message
Pablo (ceascolombia) said :
#1

I am using Ubuntu 12.04 in Spanish. The original error text is this:

No se ha podido inicializar la información de los paquetes

Ha ocurrido un problema imposible de corregir cuando se inicializaba la información de los paquetes.

Por favor, informe de esto como un fallo en el paquete «update-manager» e incluya el siguiente mensaje de error:

'E:El paquete libkfile4 necesita ser reinstalado, pero no se encuentra un archivo para éste.'

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

uname -a; lsb_release -a; sudo apt-get --reinstall install libkfile4

Thanks

Revision history for this message
Pablo (ceascolombia) said :
#3

This is the output:
casa@casa-laptop-ubuntu:~$ uname -a; lsb_release -a; sudo apt-get --reinstall install libkfile4
Linux casa-laptop-ubuntu 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
[sudo] password for casa:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: El paquete libkfile4 necesita ser reinstalado, pero no se encuentra un archivo para éste.
casa@casa-laptop-ubuntu:~$

The last line translates: The package libkfile4 needs to be reinstalled, but I can't find an archive for it.

By the way, if you can remind me how I change the Terminal language to English, I can send subsequent output reports in English.

Thank you for your help.

Revision history for this message
Pablo (ceascolombia) said :
#4

By the way, I am also unable to open the Software Center, and I get this message:

No se ha podido determinar el nombre del paquete binario o fuente.

Translated: It has not been possible to determine the name of the binary package or source.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

You seem to have a problem in your sources list (the configuration file that tells Ubuntu where to get programs for installation and updates).

Please open a terminal (ctrl-alt-t) and issue the following commands:

uname -a
lsb_release -a
cat -n /etc/apt/sources.list

Then select all output (edit - select all), cioy it (edit - copy) and paste all output into a new message of this question thread.

Revision history for this message
Pablo (ceascolombia) said :
#6

Thanks for your help. I was simultaneaously pursuing another error message with this question:
      Your question #203822 on apt in Ubuntu changed:
      https://answers.launchpad.net/ubuntu/+source/apt/+question/203822

In the solution to that question, the problem here seems to have been solved. Thank you.