Bug 771861

Summary: RepoError: Tried to add None filelists to fedora
Product: [Fedora] Fedora Reporter: mertensb.mazda
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: anaconda-maint-list, dustpuppy_2000, ffesti, g.kaviyarasu, james.antill, jonathan, maxamillion, mertensb, pmatilai, tilmann, tla, vanmeeuwen+fedora, vpodzime, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:fa11bb44beab09e991e120bf29da5a646d76711d933095f044e253e10805d531
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-09 08:26:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb-COzADT none

Description mertensb.mazda 2012-01-05 09:34:19 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: anaconda
kernel:         3.1.0-7.fc16.x86_64
product:        Fedora
reason:         RepoError: Tried to add None filelists to fedora
time:           Thu Jan  5 14:31:52 2012
version:        16

anaconda-tb-COzADT: Binary file, 618485 bytes

description:
:The following was filed automatically by anaconda:
:anaconda 16.25 exception report
:Traceback (most recent call first):
:  File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 801, in addDict
:    raise Errors.RepoError, "Tried to add None %s to %s" % (datatype, repo)
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 189, in populate
:    self.addDict(repo, item, dobj, callback)
:  File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 294, in _loadFiles
:    self.sack.populate(self.repo, mdtype='filelists')
:  File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 372, in returnFileTypes
:    self._loadFiles()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 975, in getDownloadPkgs
:    for filetype in txmbr.po.returnFileTypes():
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 1562, in doPostSelection
:    (self.dlpkgs, self.totalSize, self.totalFiles)  = self.ayum.getDownloadPkgs()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/backend.py", line 196, in doPostSelection
:    return anaconda.backend.doPostSelection(anaconda)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 373, in dispatch
:    self.dir = self.steps[self.step].target(self.anaconda)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 241, in go_forward
:    self.dispatch()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked
:    self.anaconda.dispatch.go_forward()
:RepoError: Tried to add None filelists to fedora

Comment 1 mertensb.mazda 2012-01-05 09:34:25 UTC
Created attachment 550862 [details]
File: anaconda-tb-COzADT

Comment 2 mertensb.mazda 2012-01-06 09:46:50 UTC
This error occurs while trying to install Fedora 16 on an EasyNote TJ66 Packard Bell.

I am using a CD I used successfully on other laptops.
It's a pretty default install, english language, be-latin1 keyboard, opted to use all available space without modification.

Allowed Network manager to configure the LAN port eth0, cancelled configuration of the wifi card.

No customization of the software package selection for "Graphical Desktop".
Default repositories selected: Fedora 16 - x86_64 and Updates.

Dependency check starts, progress bar continues to the end and this crash occurs.

If I do select customize now, the crash again occurs after the dependency check completes.

Comment 3 Vratislav Podzimek 2012-02-10 12:21:59 UTC
This looks like a problem in yum, reassigning to yum.

Comment 4 Zdeněk Pavlas 2012-02-13 13:02:44 UTC
Looks like there are some more issues..

pyanaconda/yuminstall.py:972 in getDownloadPkgs:
> for filetype in txmbr.po.returnFileTypes()

This seems to run after depsolving.  Not sure why/if we have to load filelists there.  Maybe anaconda should call returnFileTypes(primary_only=True) ?

yum/sqlitesack.py:293 in _loadFiles:

>        #FIXME - this should be try, excepting
>        self.sack.populate(self.repo, mdtype='filelists')

Yes, that'd probably fix this too- but since this is 'fedora' repo, filelists should be there and valid.

yum/yumRepo.py:189 in populate:

>    self.addDict(repo, item, dobj, callback)

dobj was None, so repo.cacheHandler.open_database(db_un_fn) has failed.  This is probably an anaconda callback.  Have no idea why that returned None.This should either succeed, or we should handle the RepoError somewhere..

The above suggests opening filelists db of the Fedora repo fails for some reason, that seems to be internal to anaconda.  Can anybody investigate?  Thanks.

Comment 5 mertensb 2012-05-07 06:36:28 UTC
This may have been a local issue.  That particular laptop I encountered this issue on has completely died since this issue was filed.

I suspected a virus or even an error made by the owner of the laptop but it appears to have been a hardware malfunction.

If you cannot reproduce this issue it is probably not worth spending more time on it, unless as it seems from the comments it helped you to uncover a real issue in anaconda.

If not I apologize for not closing this sooner.