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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






--- On Tue, 3/31/09, Paul W. Frields <stickster@xxxxxxxxx> wrote:

> From: Paul W. Frields <stickster@xxxxxxxxx>
> Subject: Re: error by packagekit?, can't yum update
> To: fedora-list@xxxxxxxxxx
> 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: &lt;type
> &apos;exceptions.ValueError&apos;&gt;
> > Error Value: Error parsing &apos;5 # was
> 3&apos;: invalid integer value
> >   File :
> /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2314,
> in &lt;module&gt;
> >     main()
> >   File :
> /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2310,
> in main
> >     backend =
> PackageKitYumBackend(&apos;&apos;, 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 &lt;lambda&gt;
> >     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,
> &apos;main&apos;)
> >   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(&apos;Error parsing $r:
> $s&apos; $ (value, str(e)))
> > 
> > 
> > going to CLI yum, I get:
> > 
> > [root@localhost ~]# yum clean all
> > Loaded plugins: refresh-packagekit
> > Options Error: Error parsing '5 # was 3':
> invalid integer value
> > [root@localhost ~]# yum clean metadata
> > Loaded plugins: refresh-packagekit
> > Options Error: Error parsing '5 # was 3':
> invalid integer value
> > [root@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@xxxxxxxxxx
> 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@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux