Page 1 of 1

[SOLVED] Packages Sources Problem MGA 2 Beta 2

PostPosted: Mar 21st, '12, 15:45
by linuxero
Hi;

As I mentioned I am having several problems with Mageia 2 Beta 2. I am opening a thread for each one. Here; the problem is that I can, no more, add sources to update or install software!

Please see attached pics.

Righr after the installation, however, I could add sources, but I always had the error shown in the first pic whenever I wanted to update according to the notification that pops out every time there are updates..! So I deleted the added sources and till now I am trying to add new ones..no hope!

Re: Packages Sources Problem MGA 2 Beta 2

PostPosted: Mar 21st, '12, 16:04
by wobo
Could one of the Global Moderators pls move this to the Cauldron section?

As pic00 shows you have the known bug which has been fixed after Beta2 was released.

2 solutions:

1. Fix the problem temporarily with the fixes described:
As root remove the following files in /var/lib/rpm/
Code: Select all
rm -f __db*
rm -f .rpm.lock
rm -f rebuilddb
Then rebuild the rpm database with
Code: Select all
rpm -rebuilddb


After than DO NOT TOUCH rpmdrake before you do updates, you will get the same problem again.

So you have to set your sources as root with urpmi:
Code: Select all
# urpmi.removemedia -a
# urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'
Then do updates with urpmi:
Code: Select all
#urpmi --auto-update
and reboot (to be sure).

After that the problem should have gone and you can use the rpmdrake gui.

2. Do a net-install, it will use the latest package versions for installation.
- boot with the same DVD or USB stick you used for this installation
- when the installer asks if you have additional media, mark the FTP option.
A basic system will be installed, then it sets up network connection and also sets the package media.
Installation will then commence as usual.

Re: Packages Sources Problem MGA 2 Beta 2

PostPosted: Mar 21st, '12, 16:35
by linuxero
I am trying to fix Network connection now..I'll try it when I am done :)

thanks