Page 1 of 1

SegFault

PostPosted: Oct 9th, '23, 23:10
by jeffm
Hi Folks,

what a wonderful distro, very well documented. I installed Mageia a few years ago (Vbox) and I regularly updated and no problems arise. Last month I supposed I did something and things started to get haywire. I did some research and found out somehow I switched the mirror list to Cauldron. I followed some unofficial advise and somehow regrettable, the system became unstable. I restored the snapshots, removed some old mageia8 kernels, repaired mirror list etc long story short right now the ccm show empty black like in the attachment. I understood that the dnf upgrade is deprecate but still complaining about this:

Code: Select all
dnf upgrade --refresh
Mageia Cauldron - x86_64                                                                               2.8 kB/s | 2.5 kB     00:00   
Mageia Cauldron - x86_64 - Updates                                                                     1.7 kB/s | 1.5 kB     00:00   
Mageia 10 - x86_64                                                                                      82  B/s |  58  B     00:00   
Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Mageia 10 - x86_64 - Updates                                                                            97  B/s |  58  B     00:00   
Error: Failed to download metadata for repo 'updates-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Ignoring repositories: mageia-x86_64, updates-x86_64
Segmentation fault (core dumped)


I am trying to understand where I am:
Code: Select all
dnf repolist
repo id                                                       repo name
cauldron-updates-x86_64                                       Mageia Cauldron - x86_64 - Updates
cauldron-x86_64                                               Mageia Cauldron - x86_64
mageia-x86_64                                                 Mageia 10 - x86_64
updates-x86_64                                                Mageia 10 - x86_64 - Updates

uname -r
6.5.3-desktop-1.mga10

[root@mageia brad]# lsb-release -a
LSB Version:    *
Distributor ID: Mageia
Description:    Mageia 10
Release:        10
Codename:       mga10


I did not intended to switch to Cauldron and if is possible I will try to downgrade a snapshot to the last stable release.
Thanks for your time for reading.

Re: SegFault

PostPosted: Oct 9th, '23, 23:47
by doktor5000
Hi there, there's not really a way to downgrade the distro release. As you should have a separate /home partition, it's probably best to reinstall, keeping that /home partition and not formatting it (which is the default).
Should take only ~10 minutes which is much less compared to the hassle of trying to downgrade distro release and all packages manually.

Re: SegFault

PostPosted: Oct 10th, '23, 01:18
by jeffm
doktor5000 wrote:Hi there, there's not really a way to downgrade the distro release. As you should have a separate /home partition, it's probably best to reinstall, keeping that /home partition and not formatting it (which is the default).
Should take only ~10 minutes which is much less compared to the hassle of trying to downgrade distro release and all packages manually.


Thank you! I read this https://forums.mageia.org/en/viewtopic.php?f=15&t=12732 post and I thought would be possible. I changed to Mageia 9 and worked fine but I do not know what the stable release output of repolist will looks like. Mine still reads Cauldron perhaps due to frankenstainisation.
Sure thing is better to reinstall, I am just wasting my time :). Thanks so much doktor5000!

Re: SegFault

PostPosted: Oct 10th, '23, 01:48
by xerxes2
I have noticed these segfaults too. Both DNF and RPM are heavily outdated in Cauldron and need to be updated. I managed to solve it by switching to DNF5. https://wiki.mageia.org/en/Using_DNF#Next-generation

You could hopefully temporarily solve the segafult by running "rpm --rebuilddb". And if DNF is complaining about sqlite files just erase them, that worked for me.

Re: SegFault

PostPosted: Oct 10th, '23, 02:56
by jeffm
Thanks xerxes2, neither one work for me

Re: SegFault

PostPosted: Oct 10th, '23, 19:40
by doktor5000
jeffm wrote:Thank you! I read this https://forums.mageia.org/en/viewtopic.php?f=15&t=12732 post and I thought would be possible.

Well, there was no actual downgrade in that thread, the OP only changed away from his cauldron repos during release freeze.