Update: target not found

This problem brings me to new problem: GUI update always show “target not found: PACKAGENAME” for all software (but console command in solution of mentioned topic is working)


Moderator edit: Useless screenshot and a copy of an AUR PKGBUILD removed

sudo pkgfile -u && pamac build yay-git
1 Like

Result of run:

Checking yay-git dependencies...
cp: cannot create regular file '/var/tmp/pamac/dbs/sync/pamac_aur.db': Permission denied
Error: Failed to prepare transaction: target not found: yay-git

What is the output of… :arrow_down:

ls -l /var/tmp/pamac/dbs/sync/

… and… :arrow_down:

ls -l /var/tmp/pamac/dbs

…?

P.S.: Why are you not using the yay from the Extra repository, or even if you need the AUR version, yay-bin?

Outputs:

/home/myaccount$ ls -l /var/tmp/pamac/dbs/sync/
total 52536
-rw-r--r-- 1 root root       29 июл 17 15:18 community.db
-rw-r--r-- 1 root root       29 июл 10 14:49 community.files
-rw-r--r-- 1 root root   148607 июл 17 15:18 core.db
-rw-r--r-- 1 root root  2092210 июл 10 14:49 core.files
-rw-r--r-- 1 root root        0 июн  6 06:22 core.files.part
-rw-r--r-- 1 root root  9031978 июл 17 15:18 extra.db
-rw-r--r-- 1 root root 42107023 июл 11 16:25 extra.files
-rw-r--r-- 1 root root    17499 авг 16  2022 mhwd.db
-rw-r--r-- 1 root root   147187 июл 17 15:19 multilib.db
-rw-r--r-- 1 root root   222016 июл 10 22:37 multilib.files
-rw-r--r-- 1 root root        0 июл 10 10:44 refresh_timestamp
---------------------------------------------------------------------------------
/home/myaccount$ ls -l /var/tmp/pamac/dbs
total 4
lrwxrwxrwx 1 myaccount myaccount   21 июл 19 09:15 local -> /var/lib/pacman/local
drwxr-xr-x 2 root  root  4096 июл 19 09:15 sync

I just to want to make working this via GUI, that appear everyday in icon tray and reports about existing updates.

Try this… :arrow_down:

sudo chmod 777 /var/tmp/pamac/dbs/sync

On my system, it is world-writable. I don’t know whether it’s supposed to work like that, but pamac has been having issues for a long time now, and I personally recommend against using it unless you know what you’re doing. :man_shrugging:

1 Like

Thank you, it’s working now.
p.s. I cann’t say what happen with permission of files, but it wasn’t me :slight_smile:

1 Like

I think this and similar posts are probably a symptom of sudo pamac ...

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