I'm using yum 2.4.3 as provided in CentOS 4.4.

When adding packages to the installonlypkgs in yum.conf, I would
expect yum to show an error when conflicting files are found when it
attempts to install those packages.

Here's an example.  Install your base OS.  Disable your updates repo.
Add php to installonlypkgs.  'yum install php'.  Re-enable your
updates repo.  'yum install php'.  'rpm -q php' will now show both
package versions.  'rpm -V php-$OLDVER' will now show md5sum
differences.  Yum did not show an error when attempting to install the
second php.

If you attempt to install (not update) the new version with rpm, it
will tell you about the conflicts.

(And no, I'm not trying to have multiple versions of php on my system,
it was just an easy example.)

This is either a FAQ entry and/or a bug.  We might also want to
include a note about this in the man page.

Thanks,
-Dave
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to