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

Bad version compare in some packages #2467

Open
mhkarimi1383 opened this issue Jun 30, 2024 · 0 comments
Open

Bad version compare in some packages #2467

mhkarimi1383 opened this issue Jun 30, 2024 · 0 comments

Comments

@mhkarimi1383
Copy link

Affected Version

yay v12.3.5 - libalpm v14.0.0

Describe the bug

Reproduction Steps

  1. install insomia or xdg-desktop-portal-hyprland-git
  2. run yay -Syuu
  3. See it wants to update from newer version to older one aur/xdg-desktop-portal-hyprland-git 1.3.2.r1.gc7894aa5-1 -> 1.3.1.r14.g2d2fb547-1
  4. apply update
  5. run yay -Syuu
  6. you will see that it wants to rollback applied update

I think something is always returning true in some cases

Expected behavior

Correct version compare

Output

{
	"aururl": "https://aur.archlinux.org",
	"aurrpcurl": "https://aur.archlinux.org/rpc?",
	"buildDir": "/home/karimi/.cache/yay",
	"editor": "",
	"editorflags": "",
	"makepkgbin": "makepkg",
	"makepkgconf": "",
	"pacmanbin": "pacman",
	"pacmanconf": "/etc/pacman.conf",
	"redownload": "no",
	"answerclean": "",
	"answerdiff": "",
	"answeredit": "",
	"answerupgrade": "",
	"gitbin": "git",
	"gpgbin": "gpg",
	"gpgflags": "",
	"mflags": "",
	"sortby": "votes",
	"searchby": "name-desc",
	"gitflags": "",
	"removemake": "ask",
	"sudobin": "sudo",
	"sudoflags": "",
	"version": "12.3.5",
	"requestsplitn": 150,
	"completionrefreshtime": 7,
	"maxconcurrentdownloads": 1,
	"bottomup": true,
	"sudoloop": false,
	"timeupdate": false,
	"devel": false,
	"cleanAfter": false,
	"keepSrc": false,
	"provides": true,
	"pgpfetch": true,
	"cleanmenu": true,
	"diffmenu": true,
	"editmenu": false,
	"combinedupgrade": true,
	"useask": false,
	"batchinstall": false,
	"singlelineresults": false,
	"separatesources": true,
	"debug": false,
	"rpc": true,
	"doubleconfirm": true,
	"rebuild": "no"
}
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

1 participant