PINE64
Metis package can't update - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Metis package can't update (/showthread.php?tid=17895)



Metis package can't update - Mangustis - 02-06-2023

Hi,

I have pinebook with Manjaro OS. I have metis version 5.1.0.p10-2 and notification for available update to 5.1.0.p11-1. But when I try to update it I have result below:

Code:
reparing...
Synchronizing package databases...
Cloning metis build files...
Generating metis information...
Checking metis dependencies...
Resolving dependencies...
Checking inter-conflicts...
Download of inetutils (2.3-1) started
Download of inetutils (2.3-1) finished
Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing inetutils (2.3-1)...
Running post-transaction hooks...
Reloading system manager configuration...
Arming ConditionNeedsUpdate...
Updating the info directory file...

Building metis...
==> ERROR: metis is not available for the 'aarch64' architecture.

What's a problem, how to fix it?


RE: Metis package can't update - robocone - 02-22-2023

The metis package is coming from the AUR https://aur.archlinux.org/packages/metis

AUR packages use a file called a PKGBUILD which has instructions to build the package. In this case, the metis PKGBUILD has the line
Code:
arch=(x86_64)

meaning it only supports the x86_64 architecture.

If you want to build it you can try from the command line
Code:
sudo pamac build metis

Then when prompted press 'e' to edit the package build. You can edit the line above to
Code:
arch=(any)

then see how you go. You might need to make further changes to get the build to succeed on arm64.


Personally I would try to configure my update utility not to automatically upgrade from the AUR.

If you want to update just the pacman packages you can run
Code:
sudo pacman -Syu