I keep getting this error everytime i use yum :
yum install unison240
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Error: File contains no section headers.
file: file://///etc/yum.repos.d/CentOS-Base.repo, line: 12
'priority=1
'
I am very new to this world (A small month) and didnt use it very much yet because i just started engineering school.
It seems as if CentOs-Base.repo had an error in it and i actually tried to create priorities.sh in order to follow this tutorial from my school : https://ensiwiki.ensimag.fr/index.php/Portail:Centos which could have done the error.
(First Section named "Depots Centos 6.5")
I dont know if it helps you.
This error happens with every use of yum. Here, I was just trying to get Unison from the package epel that i already got on my computer.
Thank you for your help!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…