Mageia 5 Upgrade Problem-Fixed/Question

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Mageia 5 Upgrade Problem-Fixed/Question

Postby yankee495 » Jun 21st, '15, 20:27

I think my problem is related to my specific machine but I didn't know what else to name it. I think I have it fixed too.

First, my friend used the online upgrade and everything went fine on his desktop and laptop so that's great news.

History:
A few months ago I was only getting i586 packages in my update list. I know even a 64-bit system uses some 32-bit packages so I din't worry about it until I was certain I should have some 64-bit packages but did't. Also the i586 ones wouldn't install and I thought they were blocking further updates. Doktor5000 suggested to change servers and right off everything went back to normal and there didn't seem to be any problems with any updates, software, crashes or other bugs etc .

The upgrade:
I downloaded the Mageia 5 64-bit DVD and checked the md5 on the downloaded file and the burned disk, they matched so the disk is good. I started the upgrade and everything was going great until about an hour later when it said 216 packages failed to install with errors that said ****.x64 package conflicts with ****.i586 package. There were quite a few of these and on down the list some said ****.x64 failed to install because of missing ****.x64 package. They did all have names, I just used **** to represent the names.

I then put in the server name again and it went for awhile and then did the same thing but there were only 149 packages that failed to install. Thais was a repeating cycle and each time the number of failed packages went down, 98, 72, 66, 48, 47, etc (I quit writing them down after 47). It got down to 17 and that was it, 17 failed packages everytime. I finally exited the installer and tried to boot it. To my surprise it booted and looked like my Mageia 4 KDE desktop but had no panel.

I set up repositories and tried urpmi --auto-update which said some pkgs need to be uninstalled so others can be updated and I said ok. Well, I'm pretty sure it uninstalled the 64-bit pkgs not the i586 ones, I was tired by then and didn't look at it right. So I rebooted and had nothing but a black screen and I right clicked and got a console and ran MCC whcich told me there were no updates so I tried urpmi --auto-update again which didn't fix it.

I then ran the command to do an online upgrade because that worked for my friend.

Code: Select all
urpmi --replacefiles --auto-update --auto


That seems to have fixed a lot of things but I had to go manually install parts of KDE that were removed when I told it to remove the conflicting pkgs.

I believe this was the result of the i586 package problem I had a few months ago due to a corrupted server, but others may have used that server and have the same problem so I posted how I fixed it. Also, if you had this problem you may want to do the online upgrade.

Question:

As I said I think it's fixed but I do have a question. Is there any way for me to find this list of conflicting i586 packages to make sure they've been removed and the 64-bit ones are installed now? I haven't found any problems with any software (yet) and if I do it'll probably trace back to a i586 pkg being installed instead of the 64-bit one or a 64-bit one being removed that I ok'd. Basically I think I need to replace any 32-bit pkgs with 64-bit ones if one exist. I may also need to check that all dependencies for installed pkgs are installed and I'm just not that knowledgeable about urpmi.

I have done:

Code: Select all
urpmi --update --auto-select
Packages are up to date
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: Mageia 5 Upgrade Problem-Fixed/Question

Postby doktor5000 » Jun 21st, '15, 22:22

You could check the full list via
Code: Select all
rpm -qa --qf "%{NAME}-%{VERSION}-%{ARCH}\n" | sort
or write a list for both archs:
Code: Select all
rpm -qa --qf "%{NAME}-%{VERSION}-%{ARCH}\n" | sort | grep i586 > pkgs_i586
rpm -qa --qf "%{NAME}-%{VERSION}-%{ARCH}\n" | sort | grep x86_64 > pkgs_x86_64
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest