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

yay -s does not work properly #2241

Closed
hax0rjax opened this issue Jul 12, 2023 · 3 comments
Closed

yay -s does not work properly #2241

hax0rjax opened this issue Jul 12, 2023 · 3 comments

Comments

@hax0rjax
Copy link

yay v12.1.0 - libalpm v13.0.2

Describe the bug

If I run yay -s (any package) I am able to search, but once I select a package it will fail to install. Example -

Reproduction Steps

  1. Any shell (have tested with bash and fish) $ yay -s (any package name)
  2. Select any package(s) in the searched listing
  3. Get error

Expected behavior

I expect the install to run after selecting a package from the searched list

Output

$ yay -s yay
13 aur/perl-reply 0.42-3 (+0 0.00)
read, eval, print, loop, yay!
12 aur/pkm 1.2.1-1 (+1 0.01)
A simple wrapper for yay
11 aur/aptyay-git r2.42785d0-1 (+2 0.00)
Changes yay syntax to be more like APT
10 aur/pikaur-aurnews 1.15.1-1 (+3 0.28)
AUR helper which asks all questions before installing/building. Inspired by pacaur, yaourt and yay, and with the live aurnews eggzpatch
9 aur/ffpb 0.4.1-1 (+6 0.14)
A progress bar for ffmpeg. Yay !
8 aur/pikaur-git 1.15.3-1 (+26 0.04)
AUR helper which asks all questions before installing/building. Inspired by pacaur, yaourt and yay.
7 aur/pikaur 1.15.3-1 (+265 4.33)
AUR helper which asks all questions before installing/building. Inspired by pacaur, yaourt and yay.
6 aur/yayfzf 1.0.2-0 (+3 0.14)
AUR package fzf finder to search, install, remove, and manage packages using yay
5 aur/yay-git 12.1.0.r9.g0dcf911-1 (+47 0.84)
Yet another yogurt. Pacman wrapper and AUR helper written in go. (development version)
4 aur/yay-bin 12.1.0-1 (+239 5.51)
Yet another yogurt. Pacman wrapper and AUR helper written in go. Pre-compiled.
3 extra/ruby-yard 0.9.28-2 (1.0 MiB 4.6 MiB)
YARD is a Ruby Documentation tool. The Y stands for "Yay!"
2 extra/yay 12.1.0-1 (3.6 MiB 9.1 MiB) (Installed)
Yet another yogurt. Pacman wrapper and AUR helper written in go.
1 aur/yay 12.1.0-1 (+1992 37.69) (Installed)
Yet another yogurt. Pacman wrapper and AUR helper written in go.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
Sync Make Dependency (1): go-2:1.20.5-1
AUR Explicit (1): yay-12.1.0-1
:: PKGBUILD up to date, skipping download: yay
1 yay (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/hax0rjax/.cache/yay/yay
HEAD is now at 3b3b0e9 12.1.0
Removing src/
Removing yay-12.1.0.tar.gz
1 yay (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
==> Making package: yay 12.1.0-1 (Wed 12 Jul 2023 11:34:41 AM EDT)
==> Retrieving sources...
-> Downloading yay-12.1.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 448k 100 448k 0 0 908k 0 --:--:-- --:--:-- --:--:-- 908k
==> Validating source files with sha256sums...
yay-12.1.0.tar.gz ... Passed
:: Remove make dependencies after install? [y/N] n
:: (1/1) Parsing SRCINFO: yay
-> Failed to install layer, rolling up to next layer.error:error installing repo packages
-> error installing repo packages
error installing repo packages

@hax0rjax
Copy link
Author

This bug happens in Manjaro and Garuda Linux

@hax0rjax
Copy link
Author

Here is another example (again, this only happens with "-s" and not "-S"

`hax0rjax@Nabeshin ~> yay -s xine-ui
2 aur/xine-ui-hg 0.99.12.r406.df9d850bba34-1 (+0 0.00)
A free video player for Unix (mercurial version)
1 extra/xine-ui 0.99.14-1 (1.7 MiB 3.4 MiB) (Installed)
A free multimedia player
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
Sync Explicit (1): xine-ui
-> error installing repo packages

@Jguer
Copy link
Owner

Jguer commented Jul 13, 2023

Hey @hax0rjax, yay -s gets translated to yay -Ys which is not a valid yay operation. Prefer yay xine-ui instead

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

No branches or pull requests

2 participants