[MacPorts] #28350: py-pip, py25-pip: won't install due to "file already exists" error
MacPorts
noreply at macports.org
Fri Feb 25 10:45:48 PST 2011
#28350: py-pip, py25-pip: won't install due to "file already exists" error
------------------------------+---------------------------------------------
Reporter: brejoc@… | Owner: arthurk@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: py-pip, py25-pip
------------------------------+---------------------------------------------
Comment(by trinosauro@…):
Replying to [ticket:28350 brejoc@…]:
I'm having exactly the same problem with MacPorts 1.9.2 on Mac OS X
10.6.6.
I only get this error for py25-pip, the Python 2.5 version of pip. I tried
to port install py26-pip and py27-pip and it worked fine for both
packages.
> When I try to install py25-pip macports tells me it can't rename
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip'
to
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5'
because the file would already exist.
>
> This is true, but pip-2.5 is created during the installation process.
>
>
> The error part from main.log:
> -----------------------
> {{{
> :error:destroot Target org.macports.destroot returned: error renaming
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip"
to
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5":
file already exists
> :debug:destroot Backtrace: error renaming
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip"
to
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5":
file already exists
> while executing
> "$post $targetname"
> }}}
--
Ticket URL: <https://trac.macports.org/ticket/28350#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list