Bug 1046731
| Summary: | [abrt] yum: sqlitecachec.py:46:getPrimary:TypeError: Can not create providesname index: disk I/O error | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Sornoski <sornoski> | ||||||
| Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 19 | CC: | admiller, ffesti, firas.alkafri, packaging-team-maint, zpavlas | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/2a0bb287ecfc19051dd17f4901fb1773cd5d26d8 | ||||||||
| Whiteboard: | abrt_hash:329e60955b099ff2dca5e75532d7f395a3854efb | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-01-06 09:48:52 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 842049 [details]
File: backtrace
Created attachment 842050 [details]
File: environ
Very likely you've just ran out of disk space on /var/cache, and Yum couldn't convert primary.xml to primary.sqlite as a result. The error handling could be better.. there's already a disk space check before we download packages, but not before metadata download (they're usually much smaller). I don't think we should add it (it's not 100% reliable) |
Version-Release number of selected component: yum-3.4.3-106.fc19 Additional info: reporter: libreport-2.1.10 cmdline: /usr/bin/python /bin/yum -y install dbus-python python-ethtool usermode libxml2 libudev python-dmidecode python-gudev m2crypto libxml2-python libgudev1 pygobject2 pyOpenSSL libgudev1 libxml2-python m2crypto pygobject pyOpenSSL python-dmidecode python-gudeython-hwdata rhn-check rhn-client-tools rhnlib rhnsd rhn-setup yum-rhn-plugin dso_list: yum-metadata-parser-1.1.4-8.fc19.x86_64 executable: /bin/yum kernel: 3.11.1-200.fc19.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: sqlitecachec.py:46:getPrimary:TypeError: Can not create providesname index: disk I/O error Traceback (most recent call last): File "/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 316, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 126, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 532, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 435, in doCommand return base.installPkgs(extcmds, basecmd=basecmd) File "/usr/share/yum-cli/cli.py", line 928, in installPkgs txmbrs = self.install(pattern=arg) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4661, in install mypkgs = self.pkgSack.returnPackages(patterns=pats, File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1050, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 770, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.7/site-packages/yum/repos.py", line 383, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 260, in populate dobj = repo_cache_function(xml, csum) File "/usr/lib64/python2.7/site-packages/sqlitecachec.py", line 46, in getPrimary self.repoid)) TypeError: Can not create providesname index: disk I/O error Local variables in innermost frame: checksum: 'f299ff0c61f769420b774149097508d99be8e885b9367666854fd2e5d1f758f4' self: <sqlitecachec.RepodataParserSqlite instance at 0x3939638> location: '/var/cache/yum/x86_64/19/fedora19-x86_64-updates/gen/primary.xml'