Unix Technical Forum

Best way to downgrade glibc

This is a discussion on Best way to downgrade glibc within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> A server that I used to build binaries for libc 2.3.2+ crashed, so I need to downgrade another of ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:51 AM
TonyB
 
Posts: n/a
Default Best way to downgrade glibc

A server that I used to build binaries for libc 2.3.2+
crashed, so I need to downgrade another of my Slackware
servers from 2.3.4 -> 2.3.2

Any recommendations, I was planning to do a
telinit 1
installpkg glibc-2.3.2-i486-6
installpkg glibc-solibs-2.3.2-i486-6
removepkg glibc-2.3.4-i486-1
removepkg glibc-solibs-2.3.4-i486-1

not sure if that would cause any problems,
has anybody done a downgrade?

thanks
TonyB

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:51 AM
TonyB
 
Posts: n/a
Default Re: Best way to downgrade glibc

Oh yes, there are no libc 2.3.4 applications
installed in this server, since it was upgraded to 2.3.4, so it will
all still work with after the 2.3.2 downgrade.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:52 AM
Jakub Jankowski
 
Posts: n/a
Default Re: Best way to downgrade glibc

On Fri, 27 May 2005 18:49:43 -0700, TonyB wrote:

> A server that I used to build binaries for libc 2.3.2+
> crashed, so I need to downgrade another of my Slackware
> servers from 2.3.4 -> 2.3.2
>
> Any recommendations, I was planning to do a
> telinit 1
> installpkg glibc-2.3.2-i486-6
> installpkg glibc-solibs-2.3.2-i486-6
> removepkg glibc-2.3.4-i486-1
> removepkg glibc-solibs-2.3.4-i486-1


telinit 1
upgradepkg glibc-solibs-2.3.2-i486-6.tgz
upgradepkg glibc-2.3.2-i486-6.tgz

--
I do not approve anything that tampers with natural ignorance.
Ignorance is like a delicate exotic fruit; touch it and the bloom
is gone.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:01 AM
TonyB
 
Posts: n/a
Default Re: Best way to downgrade glibc

Well that did not exactly work.
Upgradepkg displayed as if it was doing the job but:

it did copy the old 2.3.2 package to /lib correctly
seems like doinst.sh did not run correctly
it did not remove the 2.3.4 files & links or do new 2.3.2 symlinks
it removed 2.3.4 from /var/log/packages and wrote the 2.3.2

so, upgradepkg failed to upgrade correctly to a previous version.

Had to fix the mess by hand, will upgrade to pkgtools v10.1 and see
if that does a better job.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:01 AM
Grant Coady
 
Posts: n/a
Default Re: Best way to downgrade glibc

On 2 Jun 2005 16:21:26 -0700, "TonyB" <comxoft@yahoo.com> wrote:
> so, upgradepkg failed to upgrade correctly to a previous version.
>
> Had to fix the mess by hand, will upgrade to pkgtools v10.1 and see
> if that does a better job.


Negative info, but I blew away OS playing with glibc --> reinstalled.

Boot install CD, tar the config info elsewhere, NFS install, bring back
some configs, only took an hour or so. Why I like slackware, hard to
break, easy to fix. I broke it on purpose, curiosity. Segfault BOOM!

--Grant.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:30 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com