Pacman.conf, line 11: directive 'SyncFirst' not recognized

I do an update (sudo pacman -Syyu) every day (unstable branch) and got this warning this morning. I’ve read the locked thread below but I’m unsure what to do. I don’t think it’s anything I’ve done as I can’t recall the last time I tampered with a system file. My pacman version is 7.0.0.

Warning: config file /etc/pacman.conf ‘SyncFirst’ in section ‘options’ not recognised - Support - Manjaro Linux Forum

From what I understand:
there was a change - the option is now no longer supported

It was known for a long time in advance, but now, apparently, it is no longer valid and gives you an error.

This was addressed with a .pacnew file which you likely didn’t merge

… commenting out the line should do the trick
or
remove that line entirely
or
merge the pacman.conf.pacnew
which you very likely still have

this will all have the same effect -
and also take care of the community repo no longer being there
(that you still have it is just speculation, but if you didn’t merge your .pacnew files …)
This one will not give you an error yet, just a message.
But that may change and catch you by surprise once again.

anecdote:
my system was installed after that change - and I don’t even had this line in that file from the get go
as far as I remember

2 Likes

Thanks Nachiese. Have commented out and warning is no more.

Ah - it was just a warning. You said it but I misinterpreted it somehow …
You could have ignored it, but it would have bitten you at some point in the future.

Cheers!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.