SegFault

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

SegFault

Postby jeffm » Oct 9th, '23, 23:10

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.
Attachments
Screenshot from 2023-10-09 16-57-15.png
Screenshot from 2023-10-09 16-57-15.png (83.56 KiB) Viewed 1176 times
jeffm
 
Posts: 3
Joined: Oct 9th, '23, 22:43

Re: SegFault

Postby doktor5000 » Oct 9th, '23, 23:47

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.
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: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: SegFault

Postby jeffm » Oct 10th, '23, 01:18

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!
jeffm
 
Posts: 3
Joined: Oct 9th, '23, 22:43

Re: SegFault

Postby xerxes2 » Oct 10th, '23, 01:48

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.
xerxes2
 
Posts: 62
Joined: Jul 18th, '18, 15:53
Location: Sweden

Re: SegFault

Postby jeffm » Oct 10th, '23, 02:56

Thanks xerxes2, neither one work for me
Last edited by doktor5000 on Oct 10th, '23, 19:39, edited 1 time in total.
Reason: removed fullquote
jeffm
 
Posts: 3
Joined: Oct 9th, '23, 22:43

Re: SegFault

Postby doktor5000 » Oct 10th, '23, 19:40

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.
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: 18070
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