kitsunyan / pakku

Pacman wrapper with AUR support
GNU General Public License v3.0
130 stars 8 forks source link

AArch64 - error: repo 'aur' can not be used as fake AUR repository #43

Closed WebReflection closed 5 years ago

WebReflection commented 5 years ago

After successfully building on RPi3, any pacman -Ss packge search would fail with the message in this ticket title.

Others packages seems to work fine, including yaourt and yay.

Please let me know if you need any other detail, thanks.

kitsunyan commented 5 years ago

You can rename fake AUR repo using AurRepo config option.

WebReflection commented 5 years ago

@kitsunyan and why wouldn't this be part of the PKGBUILD ? it works fine in x86_64, not sure why one would need extra steps on Arch64 🤔

kitsunyan commented 5 years ago

This problem is not related to aarch64 but to Arch Linux ARM, which supports multiple architectures.

WebReflection commented 5 years ago

OK, but how yaourt and yay work out of the box?

I'm just asking what's the procedure to make pakku useful on ArchLinuxARM too so I can auto/enable AUR while installing it from archibold.io/install/pakku

kitsunyan commented 5 years ago

OK, but how yaourt and yay work out of the box?

I don't know for sure how they work. Pacman allows to specify repository before package name: pacman -S repo/pkgname, so you could install the package from specific repo when the package is available on multiple repos. For AUR pakku uses fake "aur" repo so you could use it in the same commands as well (pakku -S aur/pkgname).

But what if you add "aur" repo in pacman.conf and, furthermore, this repo will contain the packages built from AUR? In order to resolve ambiguity, I decided to not allow fake repo to be named as existing repository. Instead, I added a config option to rename fake repo.

I'm just asking what's the procedure to make pakku useful on ArchLinuxARM too so I can auto/enable AUR while installing it from archibold.io/install/pakku

I think you can just set AurRepo to something else (feel free to come up with the name yourself) in pakku.conf during prepare.