Morganamilo / paccat

Print pacman package files
GNU General Public License v3.0
30 stars 4 forks source link

Paccat fails when DownloadUser option is set in pacman.conf #22

Open codicodi opened 3 weeks ago

codicodi commented 3 weeks ago

Problems began after recent pacman update. If I comment out "DownloadUser = alpm", everything works fine.

~> paccat pacman /etc/makepkg.conf
error: unexpected error
Morganamilo commented 3 weeks ago

A pacman bug broke downloading as non root. There's a fix but I don't think it's in the current pacman package.

codicodi commented 3 weeks ago

Happens with pacman-git too. Besides, downloading stuff with pacman manually works fine.

Edit: actually pacman -U ... seems to indeed fail with current AND -git pacman version...

Morganamilo commented 3 weeks ago

The bug is the sandbox doesn't work without root. Using pacman directly should work before it always requires root to download. Running paccat as root should also work.