Page 1 of 1
Recommended way upgrading glibc-* packages?
Posted: 10. Nov 2015, 13:28
by john256
I have noticed that the glibc package-series (glibc glibc-i18n glibc-profile glibc-solibs glibc-zoneinfo) have been patched upstream, but as these are locked in gslapt I wonder what would be the safe way upgrading them

Re: Recommended way upgrading glibc-* packages?
Posted: 10. Nov 2015, 14:51
by djemos
in general can do this
Code: Select all
sudo slapt-get -u
sudo slapt-get -i glibc glibc-i18n glibc-profile glibc-solibs glibc-zoneinfo
The safe way because sometimes glibc break and system become unbootable. Then can boot with a salix live cd and reinstall glibc.
So to be sure
Code: Select all
sudo slapt-get -u
sudo slapt-get -i --reinstall -d glibc glibc-i18n glibc-profile glibc-solibs glibc-zoneinfo
sudo init 1
sudo spkg -u /var/slapt-get/patches/glibc*
sudo init 4
Re: Recommended way upgrading glibc-* packages?
Posted: 10. Nov 2015, 17:47
by gapan
In salix the only package that is installed is glibc. You can upgrade that with:
You don't need the other packages at all. Don't install them as they might cause you troubles if you're not sure what you're doing.
Re: Recommended way upgrading glibc-* packages?
Posted: 10. Nov 2015, 20:53
by mimosa
But isn't it dangerous to do this? And what are the advantages of doing it?
Here is what happened:
Code: Select all
Preparing to replace glibc-2.17-i486-7 with glibc-2.17-i486-10_slack14.1
So (thinking slowly on my feet) it's ok because it's the same
version (2.17), just with patches. But then, why is it excluded?
Re: Recommended way upgrading glibc-* packages?
Posted: 10. Nov 2015, 21:10
by gapan
mimosa wrote:So (thinking slowly on my feet) it's ok because it's the same version (2.17), just with patches.
Correct.
mimosa wrote:But then, why is it excluded?
Because, it might not be the same version and in really rare cases (I think only happened once during the past 7 years in Slackware), it could have the effect of bricking your OS.