Page 1 of 1

[SOLVED] Can't Update

PostPosted: Mar 19th, '12, 09:00
by pmithrandir
Hello
I got this issue one week ago. I thought it was related to the rpm database error, but Doktor seems to think that I'm having something different.

Here what I get :
Code: Select all
[root@portablePierre ~]# rm -f /var/lib/rpm/__*
[root@portablePierre ~]# rpmdb --rebuilddb
[root@portablePierre ~]# urpmi --auto-update
le média « Core Release (distrib1) » est à jour
le média « Core Updates (distrib3) » est à jour
le média « Core Backports (distrib7) » est à jour
le média « Nonfree Release (distrib11) » est à jour
le média « Nonfree Updates (distrib13) » est à jour
le média « Nonfree Backports (distrib17) » est à jour
le média « Tainted Release (distrib21) » est à jour
le média « Tainted Updates (distrib23) » est à jour
le média « Tainted Backports (distrib27) » est à jour
Afin de poursuivre la mise à jour, le paquetage suivant doit être désinstallé :
rpm-4.9.1.2-22.mga2.i586
 (pour installer le paquetage rpm-4.9.1.2-22.mga2.i586) (o/N) o
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
   Paquetage                      Version      Révision      Arch   
(média « Core Release (distrib1) »)
  meta-task                      2            33.mga2       noarch 
  perl-URPM                      3.40         1.1.mga2      i586   
  rpm                            4.9.1.2      22.mga2       i586   
un espace de 1.5Mo sera libéré.
538Ko de paquets seront récupérés.
Procéder à l'installation des 3 paquetages ? (O/n)


installation de meta-task-2-33.mga2.noarch.rpm perl-URPM-3.40-1.1.mga2.i586.rpm rpm-4.9.1.2-22.mga2.i586.rpm depuis /var/cache/urpmi/rpms
Préparation ...                  #############################################
L'installation a échoué :       paquetage rpm-1:4.9.1.2-22.mga2.i586 déjà installé


The problem is that I can't update my computer at all now.
Do you have any idea on how to resolve that ?

I tried :
- to uninstall metatask(it was the same issue, and now it seems to be better)
- to uninstall rpm, but the system fail because it's a mandatory package(which is logical)

What else could I do ?
Is there a way to download the package and force there update / installation ?
Or to correct the db if it's wrong ?

Thanks
Pierre

Re: Can't Update

PostPosted: Mar 19th, '12, 21:15
by pmithrandir
resolved


Code: Select all
[root@portablePierre ~]# urpmi rpm --replacepkgs