emerge fails with Errno 21 at the end of emerge at......... Performing Global Updates: /usr/portage/profiles/updates/3Q-2003 (Could take a couple minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' ..................................@Traceback (most recent call last): File "/usr/sbin/emerge", line 14, in ? import portage File "/usr/lib/portage/pym/portage.py", line 6210, in ? do_upgrade(mykey) File "/usr/lib/portage/pym/portage.py", line 6133, in do_upgrade db["/"]["vartree"].dbapi.move_ent(mysplit) File "/usr/lib/portage/pym/portage.py", line 3769, in move_ent fixdbentries(origcp, newcp, pkgdir) File "/usr/lib/portage/pym/portage.py", line 3130, in fixdbentries mycontent = f.read() IOError: [Errno 21] Is a directory Then running emerge <anything> fails with the same error. So i reverted with ebuild portage-2.0.49-r21.ebuild merge and emerge works. Reproducible: Always Steps to Reproduce: 1. 2. 3.
What's the output of "find /var/db/pkg -mindepth 3 -type d" ?
Created attachment 23837 [details] output of find /var/db/pkg -mindepth 3 -type d 22:03 >>find /var/db/pkg -mindepth 3 -type d /root /var/db/pkg/media-tv/xawtv-3.65/files
update xawtv, if /var/db/pkg/media-tv/xawtv-3.65 still exists remove it and all subdirectories of it.
Closing, no activity in 5+ months. Reopen if still an issue.