this post was submitted on 29 Oct 2024
26 points (96.4% liked)

Arch Linux

7744 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

There is an AUR package that errors when I update it, and it has been like that for a while so I wondered if I could fix it myself?

The Package is here https://aur.archlinux.org/packages/filebrowser-bin

You can see my comment explaining the error under the username "mub".

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 2 weeks ago* (last edited 2 weeks ago)

Regarding your question, you can just clone the package's git URL or download the PKGBUILD file directly, make your edit and run makepkg or makepkg -sirc as the wiki suggests to produce the package and install it.
You can also install the package tar with pacman -U <file>.

Relevant Arch wiki pages:
https://wiki.archlinux.org/title/Arch_build_system
https://wiki.archlinux.org/title/Arch_User_Repository

But looking at the comments it seems you are using an AUR helper that has a cache you might want to clear as the git repo for that package has an unstaged change for the license file for some reason (or you reset that file so git doesn't complain when pulling).

Edit: I see you figured it out already.