Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

-A doesn't handle metapackages #85

Open
beatgammit opened this Issue Apr 6, 2013 · 2 comments

Comments

Projects
None yet
3 participants

When I try to installkdebase4-runtime-git:

$ sudo aura -A kdebase4-runtime-git
aura >>= Determining dependencies...
aura >>= Dependency checking failed for these reasons:
`phonon-backend` exists in NO WAY as a package or as one provided by another!

However, when I try to install kdebase-runtime, pacman resolves the metapackage correctly:

sudo aura -S kdebase-runtime
resolving dependencies...
:: There are 2 providers available for phonon-backend:
:: Repository extra
   1) phonon-gstreamer  2) phonon-vlc

Enter a number (default=1):
Owner

fosskers commented Apr 7, 2013

I know exactly why this happens. When a package's type is being determined, generally it's checked to be a repo package, then an AUR package. If it isn't either, it's assumed to be a virtual package provided by another. When determining what its provider is, if more than 1 choice pop up, it's assumed not to be a real package. This prevents false positives.

I'll have to look at the code again to see how I could resolve this.

Contributor

knrafto commented Aug 5, 2013

This is still a problem, but less so. When Aura finds a virtual package, it chooses the first package instead of offering the user a choice.

@fosskers fosskers added the Aura2 label May 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment