On Wed, 2003-08-06 at 09:52, Marco Fioretti wrote: > Hello, > rpm -U --force will overwrite installed RPMS (and thus the libraries). Look at additional parms for forcing overwrite of the nwo overwritten config files. Anyway this will not solve the problem of additional files or of files installed in different places like /usr/local instead of /usr (and they could be higher priority for search). If you really want to install from source install the RedHat SRPMS edit the Spec file for the new sources and version then build. DON'T install from the tar files the way you did: you will lose every benefit from RPM like preservation of config files, dependency checks, pre and post install scripts, triggers. Also when you build from tar file you will notice that the configure file will check for presence of libraries. Depending on the importance it can abort the thing, not a problem, but it can also silently leave it out (with just a warning who will be lost between the hundreds of messages. There is also the problem of optional features turned on by falgs to configure. All of this can lead to a crippled binary. For instance, a Gimp who cannot handle JPEGS, or a Gnome library without OpenGL support who will cause trouble because some RedHat apps have been built assumming OpenGL-aware gnome libraries. Building from SRPM greatly reduces those dangers since you have build-time dependencies and configure will be run with a well defined set of flags for optional features (eg support of Ldap or winbind when building Samba). The macho drivel you read in magazines about "./configure; make; make install and voila" is just that, macho drivel by people who write in magazines and who are too busy writing for performing real work :-) > In a moment when I would have done better sleeping, I went to a plain > RH9 box, downloaded the libao, libogg and libvorbis tarballs from the > vorbis web site, and installed them from source: > configure, make, make install. > > Only after that I remembered to do rpm -qa, and found that those libraries, > or better their RPM coming with RH9 had been installed initially. > > How do I go back to a clean system (no extra/orphan/conflicting files, > consistent RPM db) now? Should I do > > make uninstall for all the source packages, > rpm -e for the rpm packagesù > then install only from RPM or source, depending from the version > needed? > > TIA, > Marco Fioretti -- Jean Francois Martinez <jfm512@xxxxxxx> -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list