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 proposes an update, builds and proposes the same update again #1659

Closed
qkzk opened this issue Dec 27, 2021 · 2 comments
Closed

yay proposes an update, builds and proposes the same update again #1659

qkzk opened this issue Dec 27, 2021 · 2 comments

Comments

@qkzk
Copy link

qkzk commented Dec 27, 2021

Affected Version

% yay --version
yay v11.0.2 - libalpm v13.0.1

Describe the bug

  • yay proposes an update,
  • yay builds the package,
  • yay proposes the same update.

Reproduction Steps

  1. yay
  2. accepts the update
  3. yay again

Expected behavior

The package should be installed and not proposed again since it's up to date.

Output

% yay
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
 -> Missing AUR Packages:  linux513
 -> Orphaned AUR Packages:  ocaml-curl  ocaml-xmlm
:: 1 Packages to upgrade.
1  aur/quake3e-git  r2157.3478d7f4-1 -> 2020.08.08.r43.g521c2fbf-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  quake3e-git-2020.08.08.r43.g521c2fbf-1

  1 quake3e-git                              (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/0): quake3e-git
  1 quake3e-git                              (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: quake3e-git
==> Making package: quake3e-git 2020.08.08.r43.g521c2fbf-1 (lun. 27 déc. 2021 08:36:35)
==> Retrieving sources...
  -> Updating Quake3e git repo...
Fetching origin
warning: redirecting to https://github.com/ec-/Quake3e.git/
  -> Found quake3e.desktop
  -> Found quake3e.png
==> Validating source files with sha256sums...
    Quake3e ... Skipped
    quake3e.desktop ... Passed
    quake3e.png ... Passed
==> Making package: quake3e-git 2020.08.08.r43.g521c2fbf-1 (lun. 27 déc. 2021 08:36:36)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating Quake3e git repo...
Fetching origin
warning: redirecting to https://github.com/ec-/Quake3e.git/
  -> Found quake3e.desktop
  -> Found quake3e.png
==> Validating source files with sha256sums...
    Quake3e ... Skipped
    quake3e.desktop ... Passed
    quake3e.png ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of Quake3e git repo...
Cloning into 'Quake3e'...
done.
==> Starting pkgver()...
==> Updated version: quake3e-git r2157.3478d7f4-1
==> Sources are ready.
==> Making package: quake3e-git r2157.3478d7f4-1 (lun. 27 déc. 2021 08:36:39)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Sources are ready.
 -> quake3e-git-r2157.3478d7f4-1 already made -- skipping build
 -> Found git repo: github.com/ec-/Quake3e.git
loading packages...
warning: quake3e-git-r2157.3478d7f4-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) quake3e-git-r2157.3478d7f4-1

Total Installed Size:  2,85 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                        [######################################] 100%
(1/1) checking package integrity                                      [######################################] 100%
(1/1) loading package files                                           [######################################] 100%
(1/1) checking for file conflicts                                     [######################################] 100%
(1/1) checking available disk space                                   [######################################] 100%
:: Processing package changes...
(1/1) reinstalling quake3e-git                                        [######################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...

% yay

... (skipping since it is exactly the same output)

1  aur/quake3e-git  r2157.3478d7f4-1 -> 2020.08.08.r43.g521c2fbf-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  quake3e-git-2020.08.08.r43.g521c2fbf-1

  1 quake3e-git                              (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/0): quake3e-git
  1 quake3e-git                              (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: quake3e-git

==> Making package: quake3e-git 2020.08.08.r43.g521c2fbf-1 (lun. 27 déc. 2021 08:36:47)

(...)

(2/2) Updating the desktop file MIME type cache...

Configuration

% yay -Pg
{
	"aururl": "https://aur.archlinux.org",
	"buildDir": "/home/quentin/.cache/yay",
	"editor": "",
	"editorflags": "",
	"makepkgbin": "makepkg",
	"makepkgconf": "",
	"pacmanbin": "pacman",
	"pacmanconf": "/etc/pacman.conf",
	"redownload": "no",
	"rebuild": "no",
	"answerclean": "",
	"answerdiff": "",
	"answeredit": "",
	"answerupgrade": "",
	"gitbin": "git",
	"gpgbin": "gpg",
	"gpgflags": "",
	"mflags": "",
	"sortby": "votes",
	"searchby": "name-desc",
	"gitflags": "",
	"removemake": "ask",
	"sudobin": "sudo",
	"sudoflags": "",
	"requestsplitn": 150,
	"sortmode": 0,
	"completionrefreshtime": 7,
	"sudoloop": false,
	"timeupdate": false,
	"devel": false,
	"cleanAfter": false,
	"provides": true,
	"pgpfetch": true,
	"upgrademenu": true,
	"cleanmenu": true,
	"diffmenu": true,
	"editmenu": false,
	"combinedupgrade": false,
	"useask": false,
	"batchinstall": false
}
@Jguer
Copy link
Owner

Jguer commented Jan 2, 2022

Seems the PKGBUILD was not using the same convention for version keeping. I'm seeing this has changed now. does this issue still occur?

@qkzk
Copy link
Author

qkzk commented Jan 2, 2022

No, it's solved. Thank you 🐱

@Jguer Jguer closed this as completed Jan 3, 2022
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