Closed XavierCLL closed 6 years ago
should it be applied only for -Ss, -Su/-Syu, -Qu, -Qs
or also for some other options?
pacaur implemented it for search, build, install, upgrade and clean, apart from the ones you mention, I think only one is missing: -Sc
right, haven't considered it because it's not implemented in pikaur now
begin pacman -Sh ; pacman -Qh ; end | grep -e " -[ra]"
-r, --root <path> set an alternate installation root
-r, --root <path> set an alternate installation root
also i am not sure it makes sense to apply it to -Qs
since i don't a reliable way to determine from where the package was installed
I think only one is missing: -Sc
No, pacaur implements it for -Sc too. Pacaur overrides the short -r
flag of pacman, but still allows the original --root
long option.
@actionless Yes, you shouldn't try to find the origin of that package anyway. These --aur
and --repo
options make sense when you want to restrict the operation to a specific source, but -Qs
has only one source and that is the local
database.
yeah, -Qs
is only for local database, isn't necessary.
Hi @actionless, I test it and works perfectly with --aur
and --repo
but not with contraction -a
and -r
, for example, it is very useful for use in combination with -Ssr
or -Ssa
i don't like the idea of overriding pacman
's -r
just noticed what i forgot to implement it for -Sc/-Scc, fixed
i'm reopening this in order to add -a
flag for --aur
since it seems to be quite popular among users migrating over from yaourt/pacaur
but i still don't like to add -r
flag for --repo
to not override pacman
Note that --root
and -r
will be soon deprecated (replaced by --sysroot
), and -r
will not be used by pacman anymore.
thanks for info! for now on i'll add only -a
and so will add -r
as soon as pacman will deprecate it
The pacman extension options implemented in pacaur are so useful: (-a, --aur) and (-r, --repo)
https://github.com/rmarquis/pacaur#pacman-extension-options