Find the answer to your Linux question:
Results 1 to 2 of 2
Hello! I dont now if i post this in the right forum, but i'll give it a try. I'm using the Acer Aspire One A110 whit Linpus Linux. When i ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    1

    Exclamation Problems with yum/pirut

    Hello! I dont now if i post this in the right forum, but i'll give it a try. I'm using the Acer Aspire One A110 whit Linpus Linux. When i try to run pirut, or install something which using the package manager (.RMP) it just dont work, and i get a chrash dump:


    Component: pirut
    Summary: TB76714bb2 config.py:80:__set__:ValueError: Error parsing '7d': invalid integer value

    Traceback (most recent call last):
    File "/usr/sbin/pirut", line 476, in <module>
    main()
    File "/usr/sbin/pirut", line 469, in main
    pm = PackageManager(options.config, options.onlyrepo)
    File "/usr/sbin/pirut", line 63, in __init__
    GraphicalYumBase.__init__(self, False, config)
    File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 129, in __init__
    plugin_types=(yum.plugins.TYPE_CORE,))
    File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 113, in doConfigSetup
    errorlevel=errorlevel)
    File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 164, in _getConfig
    self.getReposFromConfig()
    File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 237, in getReposFromConfig
    thisrepo = self.readRepoConfig(parser, section)
    File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 259, in readRepoConfig
    repo.populate(parser, section, self.conf)
    File "/usr/lib/python2.5/site-packages/yum/config.py", line 376, in populate
    setattr(self, name, value)
    File "/usr/lib/python2.5/site-packages/yum/config.py", line 80, in __set__
    raise ValueError('Error parsing %r: %s' % (value, str(e)))
    ValueError: Error parsing '7d': invalid integer value

    Local variables in innermost frame:
    obj: spotify
    self: <yum.config.IntOption object at 0x85341ec>
    e: invalid integer value
    value: 7d

    When i use YUM i also get a error:

    Options Error: Error parsing '7d': invalid integer value

    What can i do?
    Thanks!
    Best regards from
    Jonathan

  2. #2
    Just Joined!
    Join Date
    Dec 2010
    Posts
    3
    check your yum server configuration file /etc/yum.repos.d/...

    if that doesn't work try recreating your repo file by createrepo -v /location of your rpm folder.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...