Hi there,
when updating with yay I get the notification that some local packages are newer than AUR, but they are not.
How can I resolve this, force upgrading?
Thanks!
:: Synchronizing package databases...
endeavouros is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> Packages not in AUR: grub-tools grub2-theme-endeavouros
-> paper-icon-theme: local (1.5.0.832.aa3e8af-1) is newer than AUR (1.5.0-3)
-> prusa-slicer-gtk2-bin: local (2.6.0.rc1-2) is newer than AUR (2.6.0-1)
there is nothing to do
dalto
July 23, 2023, 1:03pm
2
You can solve it with:
yay -S paper-icon-theme prusa-slicer-gtk2-bin
rey_one:
but they are not.
Those packages have higher versions even if they are not actually newer. That doesn’t usually happen unless a mistake was made or the versioning changed.
1 Like
Hi dalto thanks for your reply, e.g.:
yay -S prusa-slicer-gtk2-bin
This downloads the prusa release candidate 1 again, instead of the latest full release 2.6:
[reinhold@matterhorn ~]$ LANG=C yay -S prusa-slicer-gtk2-bin
AUR Explicit (1): prusa-slicer-gtk2-bin-2.6.0-1
:: PKGBUILD up to date, skipping download: prusa-slicer-gtk2-bin
1 prusa-slicer-gtk2-bin (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/reinhold/.cache/yay/prusa-slicer-gtk2-bin
HEAD is now at c768579 bump to rc1
Removing PrusaSlicer-2.6.0.rc1.AppImage
Removing prusa-slicer-gtk2-bin-2.6.0.rc1-2-x86_64.pkg.tar.zst
1 prusa-slicer-gtk2-bin (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: prusa-slicer-gtk2-bin 2.6.0.rc1-2 (So 23 Jul 2023 15:43:25 CEST)
==> Retrieving sources...
-> Downloading PrusaSlicer-2.6.0.rc1.AppImage...
% 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 78.2M 100 78.2M 0 0 20.1M 0 0:00:03 0:00:03 --:--:-- 24.1M
==> Validating source files with sha256sums...
PrusaSlicer-2.6.0.rc1.AppImage ... Passed
:: (1/1) Parsing SRCINFO: prusa-slicer-gtk2-bin
==> Making package: prusa-slicer-gtk2-bin 2.6.0.rc1-2 (So 23 Jul 2023 15:43:31 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found PrusaSlicer-2.6.0.rc1.AppImage
==> Validating source files with sha256sums...
PrusaSlicer-2.6.0.rc1.AppImage ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
squashfs-root/PrusaSlicer.desktop
squashfs-root/usr/bin/resources/icons/PrusaSlicer_128px.png
squashfs-root/usr/bin/resources/icons/PrusaSlicer_192px.png
squashfs-root/usr/bin/resources/icons/PrusaSlicer_32px.png
squashfs-root/usr/bin/resources/icons/PrusaSlicer-gcodeviewer_128px.png
squashfs-root/usr/bin/resources/icons/PrusaSlicer-gcodeviewer_192px.png
squashfs-root/usr/bin/resources/icons/PrusaSlicer-gcodeviewer_32px.png
==> Sources are ready.
==> Making package: prusa-slicer-gtk2-bin 2.6.0.rc1-2 (So 23 Jul 2023 15:43:34 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "prusa-slicer-gtk2-bin"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: prusa-slicer-gtk2-bin 2.6.0.rc1-2 (So 23 Jul 2023 15:43:39 CEST)
==> Cleaning up...
loading packages...
warning: prusa-slicer-gtk2-bin-2.6.0.rc1-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) prusa-slicer-gtk2-bin-2.6.0.rc1-2
Total Installed Size: 78,27 MiB
Net Upgrade Size: 0,00 MiB
:: Proceed with installation? [Y/n] n
-> error installing: [/home/reinhold/.cache/yay/prusa-slicer-gtk2-bin/prusa-slicer-gtk2-bin-2.6.0.rc1-2-x86_64.pkg.tar.zst] - exit status 1
dalto
July 23, 2023, 2:18pm
4
It looks like it is using the old PKGBUILD.
Try rm -rf /home/reinhold/.cache/yay/prusa-slicer-gtk2-bin
before you run yay
.
Thank you, that did the trick for both packages!
Funny that I got a warning for downgrading
warning: downgrading package prusa-slicer-gtk2-bin (2.6.0.rc1-2 => 2.6.0-1)
1 Like
system
Closed
July 25, 2023, 2:29pm
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.