(Solucionado)Actualizaciones Ubuntu 11.10

Imagen de Adepogol
0 puntos

Tengo Ubuntu 11.10 - 64bits con Unity.

El gestor de actualizaciones me indica que hace 20 días que no actualizo pero no es así ya que no tengo actualizaciones pendientes que me aparezcan.

E investigado un poco y tengo (tenía) este error:

W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/...
, E:Some index files failed to download. They have been ignored, or old ones used instead.

He borrado todo lo que tenía extensión .gpg en la carpeta var/lib/apt/lists y me daba el siguiente error:

W:GPG error: http://es.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key , W:Failed to fetch http://es.archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Así que he hecho lo siguiente (todo esto guiandome por otras webs):

cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update

y ahora me da este error:

E:Unable to parse package file /var/lib/apt/lists/partial/es.archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_i18n_Index (1)

Y ya estoy un poco perdido porque me sigue diciendo que hace 20 días que no actualizo. Mi surces.list en etc/apt:

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ oneiric main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://es.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ oneiric multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://es.archive.ubuntu.com/ubuntu/ oneiric universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://es.archive.ubuntu.com/ubuntu/ oneiric multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.


## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb http://security.ubuntu.com/ubuntu/ oneiric-security restricted main multiverse universe
deb http://es.archive.ubuntu.com/ubuntu/ oneiric-updates restricted main multiverse universe
deb-src http://extras.ubuntu.com/ubuntu oneiric main

Gracias por la ayuda.

Imagen de cuentos
+1
0
-1

prueba el orden de los comandos de este hilo.



Elimina todos los archivos contenidos en
/var/lib/apt/lists/
/var/lib/apt/lists/partial/
Ejecuta en consola

sudo su
dpkg --configure -a
apt-get install -f
apt-get clean
apt-get update
apt-get upgrade



mira el hilo para cualquier duda.
http://www.ubuntu-es.org/node/166829
al borrar la carpeta o moverla tienes que volver a configurarla.
+1
0
-1

(recordatorio) -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Si el problema se soluciono, edita el 1° hilo, y agrega (Solucionado), para tener el foro mas ordenado.
Y finaliza poniendo la solución para que sirva para otros Usuarios.
Twitter @mcuentos

Imagen de Adepogol
+1
0
-1

Gracias, ha funcionado.
Adepogol

+1
0
-1

El arte de la medicina consiste en entretener al paciente mientras la Naturaleza cura la enfermedad