On Fri, 11 Dec 2009, Nagy Gabor wrote:
depends files are read in order to ensure that the upgraded package
won't break any "old" dependencies.
Example: local foo requires bar=2.0 (which is installed)
Then "pacman -S bar" is not allowed (if bar in sync has different
version).
I see now, thanks! So if we somehow had an %RDEPENDS% field
(reverse-dependencies) for every package in local that would not be
necessary. I will see if this is doable during every install.
P.S. Is there some option --pretend I might have missed? What I need
is to get exactly the same actions of "pacman -S blah" or "pacman
-Su" until the Y/N prompt, as non-root user.
-Su is even worse: We have to read all desc files in sync (to get
%REPLACES%)
Ah you are right, all desc files are being read. It really takes a lot of
time on my old laptop. If this is only for the %REPLACES% field then a
first action would be to put that info in a separate file or in the
"depends" file. I'll try that too, thanks for your help!
Dimitris