You are not logged in.
So here's what happened:
I was trying to enable the [multilib] repository. (As according to https://wiki.archlinux.org/index.php/Multilib).
Thus, I went ahead and uncommented the following from /etc/pacman.conf:
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlistTo edit /etc/pacman.conf, I used LibreOffice Writer. I saved the file as a .txt document and made sure that it is properly renamed as pacman.conf.
Next, I went to update pacman's package list by running pacman with the -Sy switch.
And then, voila:
# pacman -Sy
error: config file /etc/pacman.conf, line 1: All directives must belong to a section.However, when looking at pacman.conf I don't see any errors in line 1. Nor do I see any problems with directives.
Here are the contents of pacman.conf:
http://pastebin.com/raw.php?i=XWh9eagr
Is there a simple problem with a line in pacman.conf --- or is it because I used LibreOffice Writer instead of Vi? Or?
Is the answer to this right in front of my nose?
Thank ya'll..
Last edited by adamstjohn (2012-12-08 00:31:28)
Offline
or is it because I used LibreOffice Writer instead of Vi?.
LibreOffice Writer is a word processor - it will do odd things to your .conf files. Use a text editor. If you don't want to use vi, then use nano, or gedit or anything other than a word processor.
Moving to NC: not at all related to pacman...
Offline
Thank you, you were correct: rewriting the file using Vi, rather than LibreOffice Writer, solved the problem.
I've never had that problem before, thank you.
Offline