Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: engineer on 29 March 2025, 21:04:38

Title: pacman URL rejected malformed input to a URL function
Post by: engineer on 29 March 2025, 21:04:38
tl;dr: The file is not a script, and comments need to be on their own line.

I ran into a problem updating my system, getting "URL rejected malformed input to a URL function" error. I researched all about mirrors and an apparent curl update that requires %20 for spaces, and such. None solved my problem, so I'm leaving this here.

Solved: what none of the websites addressed was "administrator brilliance". I decided that the pacman.conf file entry:

Code: [Select]
Architecture = auto

should be:
Code: [Select]
Architecture = x86_64  # uname -m

So the inline comment was messing up the pacman command.