Yum error: SyntaxError: not well-formed (invalid token):

"Heimburger,Justin C" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <215707EFA8B8E0409EAC7396E205989703A8BC50@nwpsrv08.edj.ad.edwardjones.com>
Hello,

I'm getting an error when I try to list available packages with yum:

----
Reading repository metadata in from local files
ejrpm_noar: #####################################
979/1320Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 97, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/cli.py", line 516, in doCommands
    ypl = self.returnPkgLists()
  File "/usr/share/yum-cli/cli.py", line 1192, in returnPkgLists
    ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
  File "__init__.py", line 972, in doPackageLists
  File "/usr/share/yum-cli/cli.py", line 82, in doRepoSetup
    self.doSackSetup(thisrepo=thisrepo)
  File "__init__.py", line 291, in doSackSetup
  File "repos.py", line 289, in populateSack
  File "sqlitecache.py", line 96, in getPrimary
  File "sqlitecache.py", line 89, in _getbase
  File "sqlitecache.py", line 344, in updateSqliteCache
  File "/usr/lib/python2.3/site-packages/yum/mdparser.py", line 61, in
next
    for event, elem in self.reader:
  File "<string>", line 61, in __iter__
SyntaxError: not well-formed (invalid token): line 2380, column 321
----

I'm of the mind that this was caused by a package that was added to the
repository yesterday afternoon, as one time it worked, and the next it
didn't.  I've been searching the internet for a good chunk of the day,
but haven't found this particular error and its solution anywhere.

I'm also guessing that the line and column numbers at the end of the
error refer to the position in the primary.xml.gz file, but taking a
look there shows me nothing different than what's in every other package
in the repo.

Any suggestions?  I'm able to get around it by just using rpm, but I
lose the some of the benefits provided by yum.  Thanks in advance for
your help!


Justin Heimburger
Edward Jones Development Environment
314.515.3996
[email protected]
 
 If you are not the intended recipient of this message (including attachments), or if you have received this message in error, immediately notify us and delete it and any attachments.  If you no longer wish to receive e-mail from Edward Jones, please send this request to [email protected].  You must include the e-mail address that you wish not to receive e-mail communications.  For important additional information related to this e-mail, visit www.edwardjones.com/US_email_disclosure

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.