FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-16-2011, 11:54 PM
Jim
 
Default Problems with yum.repos.d

F14

What is is wrong with this repos ?

[playonlinux]
name=PlayOnLinux Official repository
baseurl=http://rpm.playonlinux.com/fedora/yum/base
enable=1
gpgcheck=0
gpgkey=http://rpm.playonlinux.com/public.gpg


Error message;

19:34:06 : Connected to an network
19:34:06 : Starting yum child process
19:34:13 : YUM: Loaded plugins: auto-update-debuginfo, langpacks, presto
19:34:13 : YUM: Adding en_US to language list
19:34:13 : YUM: Traceback (most recent call last):
19:34:13 : YUM: File "/usr/share/yumex/yum_childtask.py", line 66, in
<module>
19:34:13 : YUM: my = YumServer(debuglevel, plugins, offline, repos,
yum_conf)
19:34:13 : YUM: File
"/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 183,
in __init__
19:34:13 : YUM: self.repos.setProgressBar(self.dnlCallback)
19:34:13 : YUM: File
"/usr/lib/python2.7/site-packages/yum/__init__.py", line 823, in <lambda>
19:34:13 : YUM: repos = property(fget=lambda self: self._getRepos(),
19:34:13 : YUM: File
"/usr/lib/python2.7/site-packages/yum/__init__.py", line 548, in _getRepos
19:34:13 : YUM: self.getReposFromConfig()
19:34:13 : YUM: File
"/usr/lib/python2.7/site-packages/yum/__init__.py", line 440, in
getReposFromConfig
19:34:13 : YUM: self.getReposFromConfigFile(repofn,
repo_age=thisrepo_age)
19:34:13 : YUM: File
"/usr/lib/python2.7/site-packages/yum/__init__.py", line 369, in
getReposFromConfigFile
19:34:13 : YUM: raise Errors.ConfigError, msg
19:34:13 : YUM: yum.Errors.ConfigError: File contains no section headers.
19:34:13 : YUM: file: file://///etc/yum.repos.d/playonlinux.repo, line: 1
19:34:13 : YUM: ' [playonlinux]
'


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-17-2011, 12:19 AM
Patrick O'Callaghan
 
Default Problems with yum.repos.d

On Wed, 2011-02-16 at 19:54 -0500, Jim wrote:
> F14
>
> What is is wrong with this repos ?
>
> [playonlinux]
> name=PlayOnLinux Official repository
> baseurl=http://rpm.playonlinux.com/fedora/yum/base
> enable=1
> gpgcheck=0
> gpgkey=http://rpm.playonlinux.com/public.gpg

This isn't an official Fedora repo, so why not ask whoever runs it?

poc

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-17-2011, 01:01 AM
Ian Pilcher
 
Default Problems with yum.repos.d

On 02/16/2011 07:19 PM, Patrick O'Callaghan wrote:
> On Wed, 2011-02-16 at 19:54 -0500, Jim wrote:
>> F14
>>
>> What is is wrong with this repos ?
>>
>> [playonlinux]
>> name=PlayOnLinux Official repository
>> baseurl=http://rpm.playonlinux.com/fedora/yum/base
>> enable=1
>> gpgcheck=0
>> gpgkey=http://rpm.playonlinux.com/public.gpg
>
> This isn't an official Fedora repo, so why not ask whoever runs it?
>

I believe that the OP is asking what is wrong with the repo file itself.

--
================================================== ======================
Ian Pilcher arequipeno@gmail.com
================================================== ======================

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-17-2011, 01:12 AM
Patrick O'Callaghan
 
Default Problems with yum.repos.d

On Wed, 2011-02-16 at 20:01 -0600, Ian Pilcher wrote:
> On 02/16/2011 07:19 PM, Patrick O'Callaghan wrote:
> > On Wed, 2011-02-16 at 19:54 -0500, Jim wrote:
> >> F14
> >>
> >> What is is wrong with this repos ?
> >>
> >> [playonlinux]
> >> name=PlayOnLinux Official repository
> >> baseurl=http://rpm.playonlinux.com/fedora/yum/base
> >> enable=1
> >> gpgcheck=0
> >> gpgkey=http://rpm.playonlinux.com/public.gpg
> >
> > This isn't an official Fedora repo, so why not ask whoever runs it?
> >
>
> I believe that the OP is asking what is wrong with the repo file itself.

Which he presumably obtained from the repo site. If that's not the case,
it would surely have been worth mentioning in the post.

poc

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-17-2011, 01:14 AM
Kam Leo
 
Default Problems with yum.repos.d

On Wed, Feb 16, 2011 at 6:01 PM, Ian Pilcher <arequipeno@gmail.com> wrote:

On 02/16/2011 07:19 PM, Patrick O'Callaghan wrote:

> On Wed, 2011-02-16 at 19:54 -0500, Jim wrote:

>> F14

>>

>> What is is wrong with this repos ?

>>

>> [playonlinux]

>> name=PlayOnLinux Official repository

>> baseurl=http://rpm.playonlinux.com/fedora/yum/base

>> enable=1

How about replacing "enable" with "enabled"?
*

>> gpgcheck=0

>> gpgkey=http://rpm.playonlinux.com/public.gpg

>

> This isn't an official Fedora repo, so why not ask whoever runs it?

>



I believe that the OP is asking what is wrong with the repo file itself.



Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-17-2011, 01:22 AM
Kam Leo
 
Default Problems with yum.repos.d

On Wed, Feb 16, 2011 at 6:14 PM, Kam Leo <kam.leo@gmail.com> wrote:

On Wed, Feb 16, 2011 at 6:01 PM, Ian Pilcher <arequipeno@gmail.com> wrote:


On 02/16/2011 07:19 PM, Patrick O'Callaghan wrote:

> On Wed, 2011-02-16 at 19:54 -0500, Jim wrote:

>> F14

>>

>> What is is wrong with this repos ?

>>

>> [playonlinux]

>> name=PlayOnLinux Official repository

>> baseurl=http://rpm.playonlinux.com/fedora/yum/base

Missed another: Add slash at the end of above line; i.e. "baseurl=http://rpm.playonlinux.com/fedora/yum/base/"




>> enable=1

How about replacing "enable" with "enabled"?
*


>> gpgcheck=0

>> gpgkey=http://rpm.playonlinux.com/public.gpg

>

> This isn't an official Fedora repo, so why not ask whoever runs it?

>



I believe that the OP is asking what is wrong with the repo file itself.



Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines





--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-17-2011, 07:45 AM
Michael Schwendt
 
Default Problems with yum.repos.d

On Wed, 16 Feb 2011 19:54:32 -0500, Jim wrote:

> F14
>
> What is is wrong with this repos ?
>
> [playonlinux]
> name=PlayOnLinux Official repository
> baseurl=http://rpm.playonlinux.com/fedora/yum/base
> enable=1
> gpgcheck=0
> gpgkey=http://rpm.playonlinux.com/public.gpg
>
>
> Error message;
>
> 19:34:06 : Connected to an network
> 19:34:06 : Starting yum child process
> 19:34:13 : YUM: Loaded plugins: auto-update-debuginfo, langpacks, presto
> 19:34:13 : YUM: Adding en_US to language list
> 19:34:13 : YUM: Traceback (most recent call last):
> 19:34:13 : YUM: File "/usr/share/yumex/yum_childtask.py", line 66, in
> <module>
> 19:34:13 : YUM: my = YumServer(debuglevel, plugins, offline, repos,
> yum_conf)
> 19:34:13 : YUM: File
> "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 183,
> in __init__
> 19:34:13 : YUM: self.repos.setProgressBar(self.dnlCallback)
> 19:34:13 : YUM: File
> "/usr/lib/python2.7/site-packages/yum/__init__.py", line 823, in <lambda>
> 19:34:13 : YUM: repos = property(fget=lambda self: self._getRepos(),
> 19:34:13 : YUM: File
> "/usr/lib/python2.7/site-packages/yum/__init__.py", line 548, in _getRepos
> 19:34:13 : YUM: self.getReposFromConfig()
> 19:34:13 : YUM: File
> "/usr/lib/python2.7/site-packages/yum/__init__.py", line 440, in
> getReposFromConfig
> 19:34:13 : YUM: self.getReposFromConfigFile(repofn,
> repo_age=thisrepo_age)
> 19:34:13 : YUM: File
> "/usr/lib/python2.7/site-packages/yum/__init__.py", line 369, in
> getReposFromConfigFile
> 19:34:13 : YUM: raise Errors.ConfigError, msg
> 19:34:13 : YUM: yum.Errors.ConfigError: File contains no section headers.
> 19:34:13 : YUM: file: file://///etc/yum.repos.d/playonlinux.repo, line: 1
> 19:34:13 : YUM: ' [playonlinux]
'

Notice the quoted string in the last line of the Python exception.
It refers to ' [playonlinux]
' which has a leading space character
before the section header. Remove that one in the .repo file and try
again. Yum's repo loader is not smart enough to do this whitespace
stripping automatically.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-17-2011, 01:00 PM
Rahul Sundaram
 
Default Problems with yum.repos.d

On 02/17/2011 02:15 PM, Michael Schwendt wrote:
> Notice the quoted string in the last line of the Python exception.
> It refers to ' [playonlinux]
' which has a leading space character
> before the section header. Remove that one in the .repo file and try
> again. Yum's repo loader is not smart enough to do this whitespace
> stripping automatically.

Filed it.

https://bugzilla.redhat.com/show_bug.cgi?id=678301

Rahul

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 03:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org