[Mageia-dev] Broken database problem
Anne Wilson
annew at kde.org
Wed Apr 18 19:25:38 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 18/04/12 17:58, Thomas Backlund wrote:
> 18.04.2012 19:49, Anne Wilson skrev:
>> On 18/04/12 17:41, Thomas Backlund wrote:
>>> 15.04.2012 16:16, Anne Wilson skrev:
>>>> In desperation I tried "rm -fR /var/lib/rpm/*" - I hope I
>>>> haven't broken anything too drastic, but nothing seems to
>>>> have changed. The database will still not rebuild.
>>>>
>>
>>> This part you should _never_ do...
>>
>>> You wiped _all_ of rpms databases and any tracking of what is
>>> installed or not.
>>
>> OK, apologies. Doesn't rebuilding the database replace that?
>>
>
> Nope, as the info used to rebuild the database is also stored
> there :/
>
>
> If you want to restore the database at this point you need to
> reinstall all packages as listed in /var/log/rpmpkgs with
> --replacepkgs
>
> or do a reinstall
>
OK. We need to resolve the problem of broken kdm first - remember it
broke before I deleted anything. Once we know what needs doing, I'll
sort that out. Looking at the list, reinstall might be the fastest
option, but I don't want to end up in the same place :-)
Anne
- --
Need KDE help? Try
http://userbase.kde.org or
http://forum.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+O+RAACgkQj93fyh4cnBc/OACfVpM6vlVG2ztbb8ins3Xz9T0H
IbEAn2t6eWv0+y/IVn+lKw7QGz6RfQKU
=6DAJ
-----END PGP SIGNATURE-----
More information about the Mageia-dev
mailing list