Summary: | sys-apps/portage-2.1.3.10 backtrace during unmerge: OSError: [Errno 16] Device or resource busy | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Togge <togge.gentoo> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chad.simmons, rose, srrijkers |
Priority: | High | Keywords: | InVCS, REGRESSION |
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 194041 | ||
Attachments: | ignore EBUSY during unmerge |
Description
Togge
2007-09-28 12:02:41 UTC
same issue here with an emerge -C tunesbrowser chadgentoo tmp # emerge -C tunesbrowser media-sound/tunesbrowser selected: 0.3.0-r1 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging media-sound/tunesbrowser-0.3.0-r1... No package files given... Grabbing a set. --- !found obj /usr/share/tunesbrowser.glade --- !found obj /usr/share/tips.txt --- !found obj /usr/share/soundfile.png --- !found obj /usr/share/sound2.png --- !found obj /usr/share/sound1.png --- !found obj /usr/share/man/man1/tunesbrowser.1.bz2 --- !found obj /usr/share/doc/tunesbrowser-0.3.0-r1/ChangeLog.bz2 --- !found obj /usr/share/doc/tunesbrowser-0.3.0-r1/AUTHORS.bz2 --- !found dir /usr/share/doc/tunesbrowser-0.3.0-r1 --- !found obj /usr/share/comp.red.png --- !found obj /usr/share/comp.blue.png --- !found obj /usr/bin/tunesbrowser --- !empty dir /usr/share/man/man1 --- !empty dir /usr/share/man --- !empty dir /usr/share/doc --- !empty dir /usr/share --- !empty dir /usr/bin Traceback (most recent call last): File "/usr/bin/emerge", line 6529, in <module> retval = emerge_main() File "/usr/bin/emerge", line 6509, in emerge_main mtimedb["ldpath"]): File "/usr/bin/emerge", line 4340, in unmerge vartree=vartree, ldpath_mtimes=ldpath_mtimes) File "/usr/lib64/portage/pym/portage.py", line 4304, in unmerge ldpath_mtimes=ldpath_mtimes) File "/usr/lib64/portage/pym/portage.py", line 7390, in unmerge self._unmerge_pkgfiles(pkgfiles, others_in_slot) File "/usr/lib64/portage/pym/portage.py", line 7632, in _unmerge_pkgfiles os.rmdir(obj) OSError: [Errno 16] Device or resource busy: '/usr' *** Bug 194083 has been marked as a duplicate of this bug. *** Exact same thing here (-C gentoo-sources) on ~x86, portage 2.1.3.10. Created attachment 132105 [details, diff]
ignore EBUSY during unmerge
If this patch is saved as /tmp/ebusy.patch, then it can be applied as follows:
patch /usr/lib/portage/pym/portage.py < /tmp/ebusy.patch
I've masked portage-2.1.3.10 to prevent others from hitting this bug.
This has been released in 2.1.3.11. FIXED? |