You are not logged in.
Is it possible to install packages over gvfs? If I copy to my machine I can install fine
$ pwd
/run/user/1000/gvfs/sftp:host=192.168.0.98,user=user/home/user/aur
$ sudo pacman -U somepackage-x86_64.pkg.tar.zst
loading packages...
error: 'somepackage-x86_64.pkg.tar.zst': permission denied
$ cp somepackage-x86_64.pkg.tar.zst ~
$ sudo pacman -U ~/somepackage-x86_64.pkg.tar.zst
loading packages...
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net ChangeOffline
You need access to your user's DBUS session and potentially read access problems for the root user as supposed to the one you are actually on the gvfs mount for.
What might minimally work is a
sudo -E pacman invocation to retain the environment and potential allowing reusing the existing dbus session.
Alternatively use an actual "system-level" mount like sshfs: https://wiki.archlinux.org/title/SSHFS
Or of course just pass the actual ftp url to the -U command
Last edited by V1del (2022-02-09 10:01:38)
Online
I wasn't able to get `sudo -E pacman` to work.
I'm aware of sshfs and passing the actual ftp, it's just more annoying to setup; it's easier to open a terminal from my file manager. Regardless, thanks for the tip and letting me know why it wasn't working!
Offline