Cannot upgrade from AUR because of git: no tracking information for the current branch

Thanks for keep replying! :blush: I’m not sure that I’m getting this right, sorry for the inconvenience :sweat_smile:

I already installed the latest version through AUR, but it keeps appearing as a new version available, and Anki shows that I’m using the previous version. What am I missing? why does AUR and Anki think that I keep using the previous version instead of the new one?

After building it with chrootbuild, did you actually install the package with pacman? Doesn’t sound like it.

sudo pacman -U /var/cache/pacman/pkg/anki-2.1.54-1-x86_64.pkg.tar.zst

OK, I found the error: chrootbuild downloaded it to ~ instead of /var/cache/pacman/pkg/, this is why it couldn’t find the file.

Thanks for all your work and support!

Do you have a custom PKGDEST set in /etc/makepkg.conf?

I don’t think so, it says:

[EDITED]

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.