On Mon, 07 Feb 2005 19:22:53 +0100, zig <zig@xxxxxxxxxx> wrote: > I installed* the new version of zlib with the command: > rpm -U zlib-1.2.2.2-1.i386.rpm zlib-devel-1.2.2.2-1.i386.rpm > with no complains from rpm > Later on many packages complain: > /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libz.so: undefined > reference to `__fprintf_chk@xxxxxxxxxxx' > It seems infact that zlib-1.2.2.2-1 wants glibc_2.3.4 > 1)To go back, I tried > rpm -U --oldpackage zlib-1.2.1.1-2.1.i386.rpm > zlib-devel-1.2.1.1-2.1.i386.rpm > but I got Segmentation fault (core dumped), why? > Without looking at the back trace from the core I haven't a clue other than you have said what changed (zlib), so its likely api breakage between rpm and zlib (or who knows maybe an assert being thrown because rpm sees that something is wrong with the universe). At anyrate, right now what you need is a way to get your old stuff back to some sort of sane state. What I would do is use rpm2cpio from the root directory to extract the files from the old zlib package (rpm2cpio zlib*.rpm | cpio -idv). Now you should be able to use rpm again (provided this was the real problem. At which point you can try the oldpackage install again. Your db may be corrupt depending on where rpm died, if that is the case you will need to rebuild your db. If you want to get to the bottom of this save the core file and maybe file a bugzilla report attaching a backtrace from the core file. > 2)why rpm accepted to update zlib WITHOUT checking for glibc.2.3.4? > Thanks Don't know. Good luck...james > paolo > > P.S. > -zlib-1.2.2.2 and lib-devel-1.2.2.2 are requested for security > reasons from clamav0.81 > -I recovered, for the moment, with an old zlib.so.1 > -glibc-2.3.3-27, glibc-kernheaders-2.4-8.44 > -uname -r = 2.6.10-1.9_FC2 > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list