Page 1 of 1

unable to install gcc (solved)

PostPosted: Dec 22nd, '23, 20:37
by daniewicz
Fresh install of Mageia 9. Unable to install gcc with the following error:

Code: Select all
Sorry, the following package cannot be selected:

- gcc-12.3.0-3.mga9.x86_64


rpm -qa|grep -i kernel|sort
Code: Select all
ernel-desktop-6.4.9-4.mga9
kernel-desktop-6.5.11-5.mga9
kernel-desktop-latest-6.5.11-5.mga9
kernel-firmware-20230625-1.mga9
kernel-firmware-nonfree-20230814-1.mga9.nonfree
kernel-userspace-headers-6.4.9-4.mga9
remove-old-kernels-0.99.21.7-1.mga9


urpmq --list-media active --list-url
Code: Select all
ore Release (distrib1) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release
Core Updates (distrib3) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates
Core Backports (distrib7) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/backports
Nonfree Release (distrib11) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/release
Nonfree Updates (distrib13) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/updates
Nonfree Backports (distrib17) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/backports
Tainted Release (distrib21) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/release
Tainted Updates (distrib23) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/updates
Tainted Backports (distrib27) https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/backports
Core 32bit Release (distrib31) https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/release
Nonfree 32bit Release (distrib36) https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/nonfree/release
Nonfree 32bit Updates (distrib37) https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/nonfree/updates
Tainted 32bit Release (distrib41) https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/tainted/release
Tainted 32bit Updates (distrib42) https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/tainted/updates
Tainted 32bit Backports (distrib44) https://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/tainted/backports

Re: unable to install gcc

PostPosted: Dec 22nd, '23, 23:23
by daniewicz
Changed to the kernel.org mirror and all is well.

Re: unable to install gcc (solved)

PostPosted: Dec 22nd, '23, 23:53
by doktor5000
You also had a pretty inconsistent repo selection. Backports enabled. And for core 32bit only release, but no updates.

Re: unable to install gcc (solved)

PostPosted: Dec 23rd, '23, 00:51
by daniewicz
Thanks