I have an rpm to maintain.

Because it used to have some files that were owned by more than one package, I changed it so that the files would be installed under a second hierarchy, and copied to the original hierarchy via %post.

However, now I'm finding that I can repeatably:

1) Install 3.1.0.0 of the rpm
2) -Uvh 3.1.0.3 of the rpm
3) The files under the original hierarchy disappear. The files under the secondary hierarchy become present. My %post that copies files from the secondary hierarchy to the original hierarchy doesn't seem to be getting run
4) -ivh 3.1.0.3 of the rpm
5) The files under the original hierarchy become present. It seems that my %post is getting run

It seems like %post is only happening on -ivh, not on -Uvh, even though the maximum rpm book says that -Uvh is basically just a -e and -ivh.

Has anyone seen anything like this before?  Is there a fix?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to