Re: error by packagekit?, can't yum update

2009-03-31 Thread Antonio Olivares




--- On Tue, 3/31/09, Paul W. Frields  wrote:

> From: Paul W. Frields 
> Subject: Re: error by packagekit?, can't yum update
> To: fedora-list@redhat.com
> Date: Tuesday, March 31, 2009, 5:22 AM
> On Tue, Mar 31, 2009 at 05:10:31AM -0700, Antonio Olivares
> wrote:
> > 
> > The following comes up by PackageKit:
> > 
> > Error Type: <type
> 'exceptions.ValueError'>
> > Error Value: Error parsing '5 # was
> 3': invalid integer value
> >   File :
> /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2314,
> in <module>
> > main()
> >   File :
> /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2310,
> in main
> > backend =
> PackageKitYumBackend('', lock=True)
> >   File :
> /usr/share/PackageKit/helpers/yum/yumBackend.py, line 182,
> in __init__
> > self.yumbase = PackageKitYumBase(self)
> >   File :
> /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2253,
> in __init__
> > self.repos.confirm_func = self._repo_gpg_confirm
> >   File :
> /usr/lib/python2.5/site-packages/yum/__init__.py, line 589,
> in <lambda>
> > repos = property(fget=lambda self:
> self._getRepos(),
> >   File :
> /usr/lib/python2.5/site-packages/yum/__init__.py, line 395,
> in _getRepos
> > self._getConfig() # touch the config class first
> >   File :
> /usr/lib/python2.5/site-packages/yum/__init__.py, line 192,
> in _getConfig
> > self._conf = config.readMainConfig(startupconf)
> >   File :
> /usr/lib/python2.5/site-packages/yum/config.py, line 778, in
> readMainConfig
> > yumconf.populate(startupconf._parser,
> 'main')
> >   File :
> /usr/lib/python2.5/site-packages/yum/config.py, line 493, in
> populate
> > setattr(self, name, value)
> >   File :
> /usr/lib/python2.5/site-packages/yum/config.py, line 86, in
> __set__
> > raise ValueError('Error parsing $r:
> $s' $ (value, str(e)))
> > 
> > 
> > going to CLI yum, I get:
> > 
> > [r...@localhost ~]# yum clean all
> > Loaded plugins: refresh-packagekit
> > Options Error: Error parsing '5 # was 3':
> invalid integer value
> > [r...@localhost ~]# yum clean metadata
> > Loaded plugins: refresh-packagekit
> > Options Error: Error parsing '5 # was 3':
> invalid integer value
> > [r...@localhost ~]# yum update
> > Loaded plugins: refresh-packagekit
> > Options Error: Error parsing '5 # was 3':
> invalid integer value
> > 
> > Any tricks/hacks to fix this?
> 
> This looks to me like you may have an error in your
> /etc/yum.conf file
> -- my best guess is you changed the
> "installonly_limit" parameter and
> tried to include the comment '# was 3' at the end
> of the line, which
> is forbidden.
> 
> -- 
> Paul W. Frields   
> http://paul.frields.org/
>   gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937
> BD11 3717
>   http://redhat.com/   -  -  -  -  
> http://pfrields.fedorapeople.org/
>   irc.freenode.net: stickster @ #fedora-docs,
> #fedora-devel, #fredlug
> -- 
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Thanks, I will remove that.  I did change the install_only to 5 from 3.
Hopefully all will work again.

Regards,

Antonio 


  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: error by packagekit?, can't yum update

2009-03-31 Thread Paul W. Frields
On Tue, Mar 31, 2009 at 05:10:31AM -0700, Antonio Olivares wrote:
> 
> The following comes up by PackageKit:
> 
> Error Type: 
> Error Value: Error parsing '5 # was 3': invalid integer value
>   File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2314, in 
> 
> main()
>   File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2310, in main
> backend = PackageKitYumBackend('', lock=True)
>   File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 182, in 
> __init__
> self.yumbase = PackageKitYumBase(self)
>   File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2253, in 
> __init__
> self.repos.confirm_func = self._repo_gpg_confirm
>   File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 589, in 
> 
> repos = property(fget=lambda self: self._getRepos(),
>   File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 395, in 
> _getRepos
> self._getConfig() # touch the config class first
>   File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 192, in 
> _getConfig
> self._conf = config.readMainConfig(startupconf)
>   File : /usr/lib/python2.5/site-packages/yum/config.py, line 778, in 
> readMainConfig
> yumconf.populate(startupconf._parser, 'main')
>   File : /usr/lib/python2.5/site-packages/yum/config.py, line 493, in populate
> setattr(self, name, value)
>   File : /usr/lib/python2.5/site-packages/yum/config.py, line 86, in __set__
> raise ValueError('Error parsing $r: $s' $ (value, str(e)))
> 
> 
> going to CLI yum, I get:
> 
> [r...@localhost ~]# yum clean all
> Loaded plugins: refresh-packagekit
> Options Error: Error parsing '5 # was 3': invalid integer value
> [r...@localhost ~]# yum clean metadata
> Loaded plugins: refresh-packagekit
> Options Error: Error parsing '5 # was 3': invalid integer value
> [r...@localhost ~]# yum update
> Loaded plugins: refresh-packagekit
> Options Error: Error parsing '5 # was 3': invalid integer value
> 
> Any tricks/hacks to fix this?

This looks to me like you may have an error in your /etc/yum.conf file
-- my best guess is you changed the "installonly_limit" parameter and
tried to include the comment '# was 3' at the end of the line, which
is forbidden.

-- 
Paul W. Frieldshttp://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug


pgpHKYjmP0zDf.pgp
Description: PGP signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

error by packagekit?, can't yum update

2009-03-31 Thread Antonio Olivares

The following comes up by PackageKit:

Error Type: 
Error Value: Error parsing '5 # was 3': invalid integer value
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2314, in 

main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2310, in main
backend = PackageKitYumBackend('', lock=True)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 182, in __init__
self.yumbase = PackageKitYumBase(self)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2253, in __init__
self.repos.confirm_func = self._repo_gpg_confirm
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 589, in 

repos = property(fget=lambda self: self._getRepos(),
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 395, in 
_getRepos
self._getConfig() # touch the config class first
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 192, in 
_getConfig
self._conf = config.readMainConfig(startupconf)
  File : /usr/lib/python2.5/site-packages/yum/config.py, line 778, in 
readMainConfig
yumconf.populate(startupconf._parser, 'main')
  File : /usr/lib/python2.5/site-packages/yum/config.py, line 493, in populate
setattr(self, name, value)
  File : /usr/lib/python2.5/site-packages/yum/config.py, line 86, in __set__
raise ValueError('Error parsing $r: $s' $ (value, str(e)))


going to CLI yum, I get:

[r...@localhost ~]# yum clean all
Loaded plugins: refresh-packagekit
Options Error: Error parsing '5 # was 3': invalid integer value
[r...@localhost ~]# yum clean metadata
Loaded plugins: refresh-packagekit
Options Error: Error parsing '5 # was 3': invalid integer value
[r...@localhost ~]# yum update
Loaded plugins: refresh-packagekit
Options Error: Error parsing '5 # was 3': invalid integer value

Any tricks/hacks to fix this?

Thanks in Advance,

Antonio 


  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines