Opened 10 years ago

Closed 10 years ago

#97 closed defect (fixed)

filelists.xml for experimental repo has a typo

Reported by: Lewis Rosenthal Owned by:
Priority: trivial Milestone:
Component: yum Version:
Severity: Keywords:
Cc:

Description

Lines 7048-7050 of the above read:

    <file>/@unixroot/usr/share/perl5/unicore/lib/Nv/30000.pl</file>
    <ffle>/@unixroot/usr/share/perl5/unicore/lib/Nv/31.pl</file>
    <file>/@unixroot/usr/share/perl5/unicore/lib/Nv/32.pl</file>

This causes some parsers some difficulty.

Change History (4)

comment:1 by Yuri Dario, 10 years ago

what do you mean with difficulty?

comment:2 by Lewis Rosenthal, 10 years ago

{0}[c:\var\cache\yum\netlabs-exp] yum provides */-YAML*

Traceback (most recent call last):
  File "C:\USR\BIN\YUM", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/@unixroot/usr/share/yum-cli/yummain.py", line 254, in user_main
    errcode = main(args)
  File "/@unixroot/usr/share/yum-cli/yummain.py", line 109, in main
    result, resultmsgs = base.doCommands()
  File "/@unixroot/usr/share/yum-cli/cli.py", line 356, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/@unixroot/usr/share/yum-cli/yumcommands.py", line 559, in doCommand
    return base.provides(extcmds)
  File "/@unixroot/usr/share/yum-cli/cli.py", line 861, in provides
    callback_has_matchfor=True)
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/__init__.py", line 2274, in searchPackageProvides
    where = self.pkgSack.searchAll(arg, False)
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/packageSack.py", line 544, in searchAll
    return self._computeAggregateListResult("searchAll", arg, query_type)
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/packageSack.py", line 579, in _computeAggregateListResult
    sackResult = apply(method, args)
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 800, in searchAll
    return self.searchPrco(name, 'provides')
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 46,in newFunc
    return func(*args, **kwargs)
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 1320, in searchPrco
    results.extend(self.searchFiles(n))
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 46, in newFunc
    return func(*args, **kwargs)
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 881, in searchFiles
    self.populate(repo, mdtype='filelists')
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 187, in populate
    dobj = repo_cache_function(xml, csum)
  File "/@unixroot/usr/lib/python2.7/site-packages/sqlitecachec.py", line 54, in getFilelists
    self.repoid))
TypeError: Parsing filelists.xml error: Opening and ending tag mismatch: ffle line 7049 and file

...they choke.

comment:3 by Yuri Dario, 10 years ago

Indexing bot stopped working a while ago... now it is back in action and the error is no longer reproducible here.
Please try again yourself and close this ticket in case.

comment:4 by Lewis Rosenthal, 10 years ago

Resolution: fixed
Status: newclosed

Thanks, Yuri.

Confirmed, fixed:

[j:\devel\yumie\yumie_preview7\scripts]yum provides */-YAML*
Loaded plugins: fastestmirror, remove-with-leaves
Loading mirror speeds from cached hostfile
netlabs-rel-2rosenthals/f 100% |=========================| 948 kB    00:00
No Matches found

I cleared the repo data in the mirrors and forced a download from the main ones, so we're in sync.

Note: See TracTickets for help on using tickets.