Packages adding groups in %pre/post
Bill Nottingham
notting at redhat.com
Mon Dec 22 16:35:56 UTC 2008
Jesse Keating (jkeating at redhat.com) said:
> > How on earth do you get things installed w/o setup first?
> > glibc -> basesystem -> setup.
>
> *shrug* it's just anaconda doing it's package install to build the
> install image. Given that shadow-utils doesn't mention setup at all,
> rpm can't possibly know that setup should come before shadow-utils.
Sure it does.
Package A has a Requires(pre) on shadow-utils. Hence, shadow-utils
must be installed *and functional* before A is installed. This means
shadow-utils and all its requirements.
>From there it's a simple dependency chain - shadow-utils -> glibc
-> basesystem -> setup.
So, if it's not getting installed right, rpm or yum is broken in some
way.
Bill
More information about the fedora-devel-list
mailing list