error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
@manuel2258
You can mark the thread as solved by editing the first post and prepending [SOLVED] to the title.
pacman --debug --sysroot /mnt -S glibc &> output.txt #check output.txt contains the expected output
cat output.txt | curl -F c=@- https://ptpb.pw
This version should work I hope
Edit
pacman --debug --sysroot /mnt -S glibc |& curl -F c=@- https://ptpb.pw
should also work on zsh and bash
]]>pacman --debug --sysroot /mnt -S glibc 2>&1 > output.txt #check output.txt contains the expected output
cat output.txt | curl -F c=@- https://ptpb.pw
Please try the above
]]>pacman --debug --sysroot /mnt -S glibc 2>&1
Does that produce the same output on the console as
pacman --debug --sysroot /mnt
pacman --debug --sysroot /mnt -S glibc 2>&1 | curl -F c=@- https://ptpb.pw
This should redirect stderr as well
]]>