Closed DroidFreak32 closed 1 year ago
It seams to be a problem with packages which, in some way, try to either change or preserve the ownership of a file.
The AUR package heroic-games-laucher-bin fails, for instance, with tar
throwing the following error:
tar: \<name-of-the-file>: Cannot change ownership to uid 0, gid 0: Invalid argument
Which I believe is caused by makepkg
, since downloading the .pacman file for 2.5.2 and running the same tar command --- tar -xJv
--- doesn't cause this issue.
tar:
: Cannot change ownership to uid 0, gid 0: Invalid argument Which I believe is caused by
makepkg
, since downloading the .pacman file for 2.5.2 and running the same tar command ---tar -xJv
--- doesn't cause this issue.
I found a (dirty) way to mitigate this. You just have to pass FAKEROOTDONTTRYCHOWN=true
to your Junest environment
If anybody has a better way of doing this, it would be appreciated!
Thanks for the workaround!, @Donokami.
It seems that will be the way, at least for now, for installing AUR packages whose PKGBUILDs try to preserve the ownership of files, as is with the ones brought up in this thread: android-sdk-cmdline-tools-latest and heroic-games-launcher-bin.
Thanks! I am updating JuNest image to include the variable FAKEROOTDONTTRYCHOWN
set to true
by default. This will fix the problem permanently.
For example package
android-sdk-cmdline-tools-latest
:However replacing them with
cp -r
works totally fine