Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: pacman URL rejected malformed input to a URL function (Read 97 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

pacman URL rejected malformed input to a URL function

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.

 
Artix forum uses a single cookie to remember youOK