# emerge -1v live --nodeps Traceback (most recent call last): File "/usr/bin/emerge", line 43, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 1323, in emerge_main _global_updates(trees, mtimedb["updates"], quiet=("--quiet" in myopts)): File "/usr/lib64/portage/pym/portage/_global_updates.py", line 50, in _global_updates bindb.bintree.populate() File "/usr/lib64/portage/pym/portage/dbapi/bintree.py", line 517, in populate self._populate(getbinpkgs) File "/usr/lib64/portage/pym/portage/dbapi/bintree.py", line 735, in _populate f.close() File "/usr/lib64/portage/pym/portage/util/__init__.py", line 1122, in close f.close() IOError: [Errno 5] Input/output error Root cause is that the mountpoint for $PKGDIR has run out of space. Suggested fix: - Check for free space before trying to write the Packages file?
I reckon that we could check disk usage with shutil before writing. Will look into putting something together.