"Matthew S. Hallacy" <poptix at techmonkeys.org> writes: > On Tue, Aug 06, 2002 at 01:19:24PM -0500, David Dyer-Bennet wrote: > > > I'm upgrading to glibc 2.2.4-27 (including the usual -common and > > -devel; I don't use -profile). In fact I have it running now. rpm > > --verify reports all three are installed fine. > > > > However, if I try to reinstall glibc using "rpm -U --replacepkgs > > glibc-2.2.4-27.i386.rpm" I get "% post scriptlet failed", and if I try > > -common I get "% pre scriptlet failed". When the first, at least, > > happens, *everything* stops working (well, presumably every program > > that depends on the glibc dynamic library; in fact a couple of > > staticly linked programs I found do still run). > > > > [snip] > > > I'm running now, but I believe my next upgrade will fail in the same > > way, so I'd really like to figure out WTF is going on and fix it. > > Anybody got a spare clue? > > Yes, I suspect you're using --nodeps and/or --force somewhere, that's > a bad idea, instead you should use apt, or up2date to upgrade all of > the packages that depend on $XYZ version of glibc at the same time. I didn't override any dependencies in the basic install. I certainly have tried that when playing around trying to *recover* from the basic install, but the problem appeared without that. Given that *every* dynamic process died in the bad cases, I don't think it's a dependency of a particular program on a particular glibc version. And the same dynamic binaries work when I copy over the binaries from my alternate root. I'm pretty sure the problem is whatever is causing the post and pre scriptlets to fail, but I have no clue what that is. I ran rpm2cpio on the rpm and looked at the files, but there doesn't seem to be a copy of the spec file available there, or of those scriptlets, so I haven't been able to look at them and find what they do. I'm scared of turning over too much of the system maintenance to outside programs; I'm always left cleaning up the mess they make, and I don't even know what they did. I've vaguely heard of up2date, but I thought it was part of the commercial services? > Also: > rpm -q glibc > glibc-2.2.5-37 > > that's the latest release for 7.3, what are you running? I'm still on 7.2 -- David Dyer-Bennet, dd-b at dd-b.net / New TMDA anti-spam in test John Dyer-Bennet 1915-2002 Memorial Site http://john.dyer-bennet.net Book log: http://www.dd-b.net/dd-b/Ouroboros/booknotes/ New Dragaera mailing lists, see http://dragaera.info