Re: rpm -- cleaning up conflicting stray files in %pre ineffective?

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

 



2008/8/19 Martin Langhoff <martin.langhoff@xxxxxxxxx>:

> I suspect that at install/upgrade time rpm computes the conflicts
> _before_ %pre runs.

Well, it has to, doesn't it? It needs to be able to bail out before
changing anything.

Your options look to me like:

 - make a new package that has files in /here.go.files/ but does not
symlink them, and have that remove the symlinks in %post

- remove the symlinks and rename the .rpmnew files in %post

- declare the symlinks as being config (and they should become
.rpmsave, rather than your new ones becoming .rpmnew, I think;
hopefully someone will correct me if I'm wrong).

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux