Q. What the Hell is Repository ?& why do we care about it ?
A.-> So the idea of a repository in terms of a distro is: A central area for users to collect RPMs/DEBs/etc from.
These benefit for you by allowing you to get all your favourite programs from some defined source. Otherwise you would need to hunt the web to find the right site that would have the right RPM for your system. Even then you would need that RPM to be compatible to your system and not install ontop of other RPMs files.
(thank you wikipedia
Sometimes you might get following error while playing with Yum Repositories
"Error: File contains no section headers.
file: file://///etc/yum.repos.d/fedora-cinnamon.repo, line: 1
The quick fix should be :
1. Navigate to above said .repo file which is containing errors
i.e #cd /etc/yum.repos.d/fedora-cinnamon.repo
2.open it with Text editor like Vi or nano .I prefer vi
i.e. #vi /etc/yum.repos.d/fedora-cinnamon.repo
3.As it was dictated an error on line no. 1 ,You'll have to scan line no. 1 for any typographic errors
#vi /etc/yum.repos.d/fedora-cinnamon.repo
Just fix those typing errors in words contained in .repo file
& you're set to go with using Yum repository again !!!























0 comments :
Post a Comment