Closed ratijas closed 1 week ago
Does --skipdepcheck
do what you're looking for?
Yes, it does, thanks. I wonder, why
-S
,About the second point, e.g. --verbose
is suggested but does not work no matter where you put it (although it fails with different error each time, which is funny).
However, wait a just a second here.
$ aura -A --skipdepcheck pacman-updatedb-hook
aura >>= Determining dependencies...
aura >>= AUR Packages:
pacman-updatedb-hook
aura >>= Continue? [Y/n] Y
aura >>= Building pacman-updatedb-hook...
aura >>= Building failed. Would you like to see the error? [Y/n] Y
==> ERROR: Could not resolve all dependencies.
aura >>= There was a makepkg failure.
aura >>= Would you like to continue anyway? [Y/n]
Right. --skipdepcheck
assumes you're otherwise providing the dependencies somehow, at least at the pacman-level. Here pacman is still getting mad due to the missing dep. So either:
--skipdepcheck
should imply --nodeps
to pacman automatically, or;--nodeps
passthrough for you as I do for all the other pacman flags.Maybe both, for fine-grained control. Since aura is a wrapper for another tool, it naturally exposes wider API anyway.
Right. --skipdepcheck assumes you're otherwise providing the dependencies somehow, at least at the pacman-level. Here pacman is still getting mad due to the missing dep. So either:
Honestly I don't see what use this would have on its own.
If memory serves, someone asked for it for a very specific debugging scenario.
Sorry its has taken so long to get around to this. Is this still desired?
I restored --skipdepcheck
in Aura 4 today, so I'm going to close this. Please let me know if anything else comes up.
Summary
Aura's AUR(
-A
) mode does not support--nodeps
flag, which (in-S
repositories mode and in pacman itself) allows to install packages without their dependencies. It is marginally useful, because software packagers/maintainers sometimes mess up all theconflicts
andprovides
sections.Steps to reproduce
$ aura -A --nodeps pacman-updatedb-hook
Expected result
Should work, just as for
$ aura -S --nodeps …
Actual result