config error (copy)

If you are new to YDL and have some more or less basic questions.

config error (copy)

Postby safeinsuburbia » 01 Feb 2009, 21:02

[root@new-host ~]# yum erase ezrepos
Loading "protectbase" plugin
Loading "installonlyn" plugin
Config Error: File contains no section headers.
file: file://///etc/yum.repos.d/yelodog-base.repo, line: 1
'protect=1\n'


I'm obviously a beginnner. Looks like I made a typo, and now I get the above error.
How do I fix this. Assume I know nothing, you'll be close to the truth.

Thanks
safeinsuburbia
ydl beginner
ydl beginner
 
Posts: 44
Joined: 01 Feb 2009, 20:47

Re: config error (copy)

Postby billb » 02 Feb 2009, 00:38

Hard to tell with only this info ...

Please copy/paste the output of:

Code: Select all
su -

<enter root password>

Code: Select all
more /etc/yum.repos.d/*
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: config error (copy)

Postby safeinsuburbia » 02 Feb 2009, 03:40

[Hello@new-host ~]$ su -
Password:
[root@new-host ~]# more /etc/yum.repos.d/*
::::::::::::::
/etc/yum.repos.d/dribble.repo
::::::::::::::
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
safeinsuburbia
ydl beginner
ydl beginner
 
Posts: 44
Joined: 01 Feb 2009, 20:47

Re: config error (copy)

Postby billb » 02 Feb 2009, 04:35

Still need the rest of it ...
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: config error (copy)

Postby safeinsuburbia » 02 Feb 2009, 05:10

[Hello@new-host ~]$ su -
Password:
[root@new-host ~]# more /etc/yum.repos.d/*
::::::::::::::
/etc/yum.repos.d/dribble.repo
::::::::::::::
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
--More--(Next file: /etc/yum.repos.d/dribble.repo~)


That's it. All of it.
safeinsuburbia
ydl beginner
ydl beginner
 
Posts: 44
Joined: 01 Feb 2009, 20:47

Re: config error (copy)

Postby ppietro » 02 Feb 2009, 05:49

safeinsuburbia wrote:[Hello@new-host ~]$ su -
Password:
[root@new-host ~]# more /etc/yum.repos.d/*
::::::::::::::
/etc/yum.repos.d/dribble.repo
::::::::::::::
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
--More--(Next file: /etc/yum.repos.d/dribble.repo~)


That's it. All of it.


You have to hit the space bar to see the next part. Do that until there isn't any more printed out.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: config error (copy)

Postby safeinsuburbia » 02 Feb 2009, 05:55

[Hello@new-host ~]$ su -
Password:
su: incorrect password
[Hello@new-host ~]$ su -
Password:
su: incorrect password
[Hello@new-host ~]$ su -
Password:
su: incorrect password
[Hello@new-host ~]$ su -
Password:
[root@new-host ~]# more /etc/yum.repos.d/*
::::::::::::::
/etc/yum.repos.d/dribble.repo
::::::::::::::
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/dribble.repo~
::::::::::::::
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/fedora-extras.repo
::::::::::::::
[fedora-extras]
name=Fedora Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/ppc
enabled=1
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/fedor-extras.repo
::::::::::::::

[fedora-extras]
name=Fedora Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/ppc
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/fedor-extras.repo~
::::::::::::::

[fedora-extras]
name=Fedora Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/ppc
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/livna-stable.repo
::::::::::::::

[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/6/ppc
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/livna-stable.repo~
::::::::::::::

[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/6/ppc
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/yellowdog-base.repo
::::::::::::::
#generated by system-config-ydlnet
[base]
name=Yellow Dog Linux 6.1 Base
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-base-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1
protect=1
protect=1
::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo
::::::::::::::
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.1 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-extras-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-updates.repo
::::::::::::::
#generated by system-config-ydlnet
[updates]
name=Yellow Dog Linux 6.1 Updates
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-updates-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1
protect=1
::::::::::::::
/etc/yum.repos.d/yelodog-base.repo
::::::::::::::
protect=1
[root@new-host ~]#


How'd I do this time?
safeinsuburbia
ydl beginner
ydl beginner
 
Posts: 44
Joined: 01 Feb 2009, 20:47

Re: config error (copy)

Postby ppietro » 02 Feb 2009, 05:56

safeinsuburbia wrote:How'd I do this time?


Much much better. billb should be able to troubleshoot from there.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: config error (copy)

Postby billb » 02 Feb 2009, 16:56

Yes, I'm guessing you had a typo when using the echo command to add "protect=1" to the yellowdog-base.repo file and it ended up creating a new file with just "protect=1" in it under a different name. Delete that file and you should be OK.

su -
<enter root password>

Code: Select all
rm /etc/yum.repos.d/yelodog-base.repo


Code: Select all
exit
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: config error (copy)

Postby safeinsuburbia » 03 Feb 2009, 01:10

Thanks, it seems to be working now.

Is there a recommended "route" to learning ydl 6.1? Is there a book or course? Or a manual? Where do you suggest I begin? I have no experience with Linux.

Thanks again.
safeinsuburbia
ydl beginner
ydl beginner
 
Posts: 44
Joined: 01 Feb 2009, 20:47


Return to Beginner

Who is online

Users browsing this forum: No registered users and 4 guests

cron