On Fri, 2010-03-19 at 09:00 +0000, Alan Hourihane wrote:
> But when using....
> emerge -g vim
> it gets further, but when trying to pull in dev-util/ctags I get a large
> backtrace as it tries to do...
> (Last few lines...)
> File "/usr/lib/portage/pym/_emerge/BinpkgPrefetcher.py", line 38, in
> File "/usr/lib/portage/pym/portage/dbapi/bintree.py", line 940, in
> inject _movefile(filename, new_filename, mysettings=self.settings)
> File "/usr/lib/portage/pym/portage/__init__.py", line 492, in _movefile
> "mv '%s' '%s'" % (src, dest))
> PortageException: mv '/usr/portage/packages/dev-util/ctags-5.8.tbz2'
> Any ideas to both points ?
This looks like a problem
in /usr/lib/portage/pym/portage/dbapi/bintree.py that does a _movefile()
operation without checking if the source & destination filenames are the
If I put a check in that does that, it works fine.