On Fri, Nov 16, 2007 at 01:04:44PM +0100, Thomas Bächler wrote:
> This cyclic dependency cannot be avoided: bash needs glibc to be
> executed, but glibc needs bash in its post_install.
> 

Making glibc depend on bash doesn't solve this post_install problem.
Since it introduces a cycle, it will only confuse pacman, which will be
unable to sort the packages.
So pacman could still install glibc before bash, and so the post_install
won't be run (if bash wasn't already installed).

This problem only exists during the initial install of the base packages,
which is usually done by the installer (I'm curious about how the arch
installer deals with this btw).
Otherwise, if an user wants to set up a chroot using pacman, he'll have to
deal with this manually :
1) install bash + all other tools used in scriptlets
2) install all the base packages (reinstalling the packages installed from
  step 1).

And since this already needs to be taken care of manually, I don't think it's
necessary to add the dependencies needed only for running the scriptlets,
especially the ones that introduce cycles.

_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to