You are not logged in.

#1 2025-05-13 07:01:30

used
Member
Registered: 2010-12-14
Posts: 52

(Solved)pacman error

until 2025 (the last time in September) such a command worked
pacman -Sw $(cat fail) --cachedir ./
where fail:
.....
.....
fail_name
fail_name
fail_name
fail_name
fail_name
fail_name
fail_name
fail_name
......
......
......
....
where fail_name without a number


pacman -Swdd --cachedir ./   $(cat aa)

Packages (2) alsa-card-profiles-1:1.4.2-1  alsa-ucm-conf-1.2.14-2
   
Total Download Size:  0.14 MiB
   
:: Proceed with download? [Y/n].
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

Last edited by used (2025-05-15 05:34:57)

Offline

#2 2025-05-13 11:53:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: (Solved)pacman error

Let me guess, './' is in your home dir? The download user doesn't have access.

Online

#3 2025-05-13 12:06:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,287

Offline

#4 2025-05-13 14:41:10

teckk
Member
Registered: 2013-02-21
Posts: 579

Re: (Solved)pacman error

pacman.conf

#DownloadUser = alpm
#DisableSandbox

DownloadUser = root
DisableSandbox
pacman -Syuw --cachedir /home/username/tempdir

Offline

#5 2025-05-13 20:48:57

used
Member
Registered: 2010-12-14
Posts: 52

Re: (Solved)pacman error

Scimmia
this is a random directory in my directory
I'll try at the root.

These actions are needed to update archlinux on a remote computer and have been done for several years. They are done as root

Thank you all. I will try everything suggested

Offline

#6 2025-05-13 22:35:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,725

Re: (Solved)pacman error

used wrote:

They are done as root

Not with the new pacman they aren't. Downloading is done by a dedicated non-root user.

Online

Board footer

Powered by FluxBB