Yay: SRCDIR/PKGDIR in /etc/makepkg.conf

Created on 27 Jun 2018  路  4Comments  路  Source: Jguer/yay

While yay seems to respect the $SRCDIR/$PKGDIR set in /etc/makepkg.conf, it can't find the built package when installing.

  1. Install with yay -S packagename
  2. source goes to SRCDIR, built package to PKGDIR
  3. yay fails to install with message "Could not find built package packagename..." although package is in PKGDIR.

All 4 comments

What version are you using? This was part of the template which you ignored :(

Sorry. Deleted too much of the template...

pacman -Qi yay                                                                                                                                   
Name                     : yay
Version                  : 6.784-1

Probably also in some prior versions, I have this problem since a month or so at least.

You're running an old version. The pacman 5.1 update broke pkgdest support but it has since been fixed. You can either unset your pkgdest just for this one update or use makepkg directly.

Thank you, I reported this to Manjaro which still has the old one in the repos.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ixevix picture ixevix  路  3Comments

parkerlreed picture parkerlreed  路  3Comments

muesli picture muesli  路  4Comments

nowshed-imran picture nowshed-imran  路  5Comments

drrlvn picture drrlvn  路  4Comments