Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-12-2005, 07:19 PM   #1
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
Error: Bad repository file ///etc/yum.repos.d/dag.repo. Skipping

i get the following error when i try adding dag to my yum.repos.d directory

Error: Bad repository file ///etc/yum.repos.d/dag.repo. Skipping

this is the file when i open it in oowriter

[dag] name=Dag RPM Repository for Fedora Core baseurl=$releasever/en/$basearch

does anyone know why it is considered a bad file? (note: the baseurl line is oneline when i copied and pasted it but in oowriter the /dag wraps around to the next line. i altered the pasted copy to look exactly the same) thanks for any replies in advance.
Old 07-12-2005, 11:56 PM   #2
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
if you're sure the file is ok, then hm... as my suggestion...
why don't you change the gpgchek to 0...since you don't have the key
you're adding a new repository ... but you don't have its GPG key...

to use the GPG check ( to make sure the file is OK & from the real source)
download/get it from the website.......
after that you can enable gpgcheck=1 and add one line.....
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-DAG (for example)...

hope it can help....
at least you can give it a try.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum repo that has mythtv? santaliqueur Linux - Newbie 2 11-07-2005 02:56 PM
yum repo trouble twinkers SUSE / openSUSE 2 10-26-2005 03:37 PM
no packages in yum:dag on fedora core 4 Lobais Fedora 2 08-16-2005 11:33 AM
isn't it weird that the DAG repository GPG key thing won't? t3gah Fedora 3 04-19-2005 01:29 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration