Deleting files from an RPM
Matthew J. Brodeur
mbrodeur at NextTime.com
Thu May 30 13:56:00 EDT 2002
-----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-----
More information about the Discuss
mailing list