The output is (after prompting for password): Warning: Building packages as dynamic user Warning: Setting build directory to /var/cache/pamac Preparing... Synchronizing package databases... Failed to synchronize AUR database Warning: plymouth: local (24.004.60-6) is newer than extra (22.02.122-18) Nothing to do. Transaction successfully finished.
But, if I open the pamac ui and run Refresh databases it seems to complete with no errors or warnings. (AUR is enabled.)
(Also, do I need to fix this warning?) Warning: plymouth: local (24.004.60-6) is newer than extra (22.02.122-18)
Using sudo with pamac can have undesirable effects, especially when building packages. if in doubt, don’t use sudo. Pamac will ask for escalated rights if needed.
To refresh databases:
pamac update --aur --force-refresh
Warning: plymouth: local (24.004.60-6) is newer than extra (22.02.122-18)
No. The message says plymouth and 24.004.60-6 isn’t a pkgver from a proper -git pkgbuild, playmouth-git have 24.004.60.r88.ga0e8b6cf-1 also pkgrel typically reset to 1 when building
Likely plymouth 24.004.60-6 have been pushed to stable and then pulled
Can be fixed by downgrading to the currently available version with pacman -Syuu
better fix this otherwise you’ll miss updates or rebuilds until it catch up the version
Nicely picked up. I had also made the assumption in another thread that Plymouth from the AUR might have been installed. Now I know better.
I also just tried test building the plymouth-git package on my Testing branch system - the build failed due to missing Arch logos:
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/pamac-build-scotty/plymouth-git/src/build
Error reading file "/usr/share/pixmaps/archlinux-logo-text-dark.svg": Error opening file /usr/share/pixmaps/archlinux-logo-text-dark.svg: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
The pkgbuild convert /usr/share/pixmaps/archlinux-logo-text-dark.svg which is part of filesystem package
Anyway if you want to build you need to comment the line that start with rsvg-convert in build() and the one with install -Dm644 $srcdir/archlinux-logo-text-dark.png in package(), however I don’t know if it really need the png
Sigh, I have managed very little other than to confuse the issue (at least for me) further.
I now have 2 Manjaro installs. One sees each update of a package from AUR, but throws the “plymouth local is newer” message.
The other the one (initially mentioned in this post). After running “pacman -Syuu” does not throw the plymouth message, but refuses to see any update in the AUR packages.
I have no idea when or how I got these two installs messed up.
I see freecad mentioned – pacman -Ss freecad shows the following result from querying the official repository:
extra/freecad 1.0.0-1
Feature based parametric 3D CAD modeler
I’ll drop this here for consideration;
After each system update it is generally considered good practice to rebuild any packages that you may have installed from the AUR.
pamac build <packagename>
Further to this, it is also recommended to always update from the official repositories before updating or rebuilding packages from the AUR.
Example:
sudo pacman -Syu
pamac update --aur
Or, as a combo:
sudo pacman -Syu && pamac update --aur
And lastly, the AUR is officially unsupported by Manjaro (or Arch); if you absolutely must use these packages, consider switching to the Unstable branch (which is generally closer to Arch Stable):