Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Sy [package] only searches pacman, not aur #54

Open
justin8 opened this issue Feb 19, 2016 · 2 comments
Open

-Sy [package] only searches pacman, not aur #54

justin8 opened this issue Feb 19, 2016 · 2 comments

Comments

@justin8
Copy link
Contributor

justin8 commented Feb 19, 2016

Similar to -Syu ignoring all packages specified, but if you specify a package with -Sy it will only search pacman and not the AUR, then fail after not finding the package in question.

@ghost
Copy link

ghost commented Feb 29, 2016

i think this may actually be a "bug" (at least, unintended behaviour) in vanilla pacman as it's not actually documented in the man page. kind of cool, though- i didn't even know it could do that.

-Ss is the actual supported search function (as it.. well, actually performs a search, and a fulltext one at that), and if you want to upgrade a single package with apacman (keeping in mind, of course, that that can cause some major breakage on rolling-release distros), one would to apacman -S

(though you can get the same behaviour of pacman -Sy'ing for nonexisting packages by just leaving off the y as well, since the end result is about the same...)

i'm tempted to open an arch bug about the -Sy behaviour- either get it documented or have them at least look into it for further unintended results- but frankly it seems the project leads are assholes.

anyways, @oshazard has been a little quiet lately so not sure where he'll go with this, but wanted to let you know that i think this is a sort of "why does this even work in the first place" cases that @oshazard wasn't thinking about.

@justin8
Copy link
Contributor Author

justin8 commented Feb 29, 2016

It also normally works with -Syu. If it works on pacman I feel it should on apacman as well.

It actually installs the package, not searching for it.

-S syncs packages, and accepts input, as per the man page. -y just refreshes the list of packages, and -u adds packages to upgrade, it seems pretty clear in the man page to me. Not to mention, apacman passes through the package list to pacman, so it does handle it, but it should be passing through -Sy/-Syu and then return back to doing essentially apacman -S $@ so that it can search the AUR as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant