Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deleting files from an RPM



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 30 May 2002, Warren E. Agin wrote:

> I am trying to install two RPMs on Red Hat 7.1, but I am running into a
> conflict because the RPMs contain an overlap with respect to files. When
> I try to install the second RPM, I get an error that a file contained in
> the fist RPM (identified in the error message) conflicts with
> unidentified files in the second RPM. I tried deleting the conflicting
> file, but it does not solve the problem. I suspect this is because
> installing the RPM registers the file in the system. Any way to clear
> that so the second RPM will load?

   I've found that this most often occurs when I'm doing something wrong 
anyway. ;)  Files often get moved from one package to another, so you 
might want to make sure you have the latest versions of both packages just 
in case.
   That being said, RPM does have a "--replacefiles" option which will do 
just what you want.  The "--force" option will work as well, but it could 
mask other more fatal errors.


- -- 
     -Matt

Did I really just use the phrase "more fatal?"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE89meyc8/WFSz+GKMRAleRAKCPecX/1U6pIgweaHVZADmhO/PQEgCeMOVn
D3AlbNaR2vF8uhasltt++m8=
=yKnf
-----END PGP SIGNATURE-----





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org