I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the command below shows, but I'm not able to delete the 2.9 version.

# rpm -qa | grep  glibc

I've tried rpm -e glibc-2.9-2.9 but the system just tells me that a huge amount of stuff depends on glibc. So I was wondering if I can somehow set the 2.4 version to default or something similar and then remove the 2.9 version.

migrated from stackoverflow.com Nov 10 '11 at 11:06

This question came from our site for professional and enthusiast programmers.

  • What's wrong with having it? – Maxim Yegorushkin Oct 6 '11 at 10:34
  • since i did the upgrade my yast doesn't work anymore. I receive this error : warning: the qt frontend is installed but does not work warning: the ncurses frontend is installed but does not work You need to install yast2-ncurses to use the YaST2 text mode interface – almightyBob Oct 6 '11 at 11:16
  • plus now i think it has something to do with this other problem i'm having stackoverflow.com/questions/7675725/… – almightyBob Oct 6 '11 at 14:25
  • you don't have glibc-2.4-2.4 installed from the list of packages you showed. If you remove the 2.9 version your system won't have a glibc library anymore, which is bad. I guess your programs are not working because you have some glibc-* package at version 2.4 and some other at version 2.9. Did you install version 2.9 from package manager or from a custom rpm? – pqnet Aug 27 '14 at 9:10
  • Right, this is tricky. After kernel glibc is probably the most important package on the system, because it creates a layer between the kernel and rest of the userland. On the top of that it contains the dynamic linker. Which means without it only statically linked application will work. Linux system is probably unusable without it. You seem to have the main subpackage glibc of different version than the rest of the subpackages. You have to either upgrade glibc or downgrade rest of the glibc* packages. – Miroslav Franc Oct 30 '14 at 14:31

There are much simpler ways to downgrade the glibc as well. For example, yum will calculate all of the needed dependencies for you with a

yum downgrade glibc\* 

command. But beware: downgrading glibc is always a really dangerous trick, and it is so on every system.

Glibc on version 2.4 and 2.9 had already very good compatibility between them, I suggest for you the best option were is your 2.9 left.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.