Recommended way upgrading glibc-* packages?

Other talk about Salix
Post Reply
User avatar
john256
Posts: 89
Joined: 1. Jun 2011, 07:52

Recommended way upgrading glibc-* packages?

Post 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 :?:
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Recommended way upgrading glibc-* packages?

Post 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
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Recommended way upgrading glibc-* packages?

Post by gapan »

In salix the only package that is installed is glibc. You can upgrade that with:

Code: Select all

sudo slapt-get -i glibc
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.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Recommended way upgrading glibc-* packages?

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Recommended way upgrading glibc-* packages?

Post 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.
Image
Image
Post Reply