I needed to do a quick update of VirtualBox. I updated the ports collection. However, after (of course) the deinstallation, then the reinstallation failed to complete with the following error.
I turned to UPDATING and found an entry 20140307, that affect users of devel/py-setuptools. The description tells me, that the programmers of Python now is working on so many versions of their source code, that they got confused - and mixed two versions in the same directory - causing a lot of trouble for users of VirtualBox and lots of other widely used programs. The instructions recommends a fix using the portmaster. I tested them right away. However, the instructions does not seem to be correct. It seems, that the arguments are wrong.
I then tried to delete it and install it manually from the ports collection. I tried compiling the port and I tried installing the package. It all failed.
Some users might suggest a switch from the good old ports package system to the new package system. However, I did try that - and it nearly totally crashed my system - and deleted critical programs in the proces. What a nightmare.
So, I am stuck with a system, that can not reinstall VirtualBox for now. Does anyone know of a fix?
Code:
===> Installing for py27-setuptools-2.0.1
===> py27-setuptools-2.0.1 depends on file: /usr/local/bin/python2.7 - found
===> Checking if devel/py-setuptools already installed
pkg-static: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
===> Registering installation for py27-setuptools-2.0.1
pkg-static: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
Installing py27-setuptools-2.0.1...pkg-static: py27-setuptools-2.0.1 conflicts with py27-setuptools27-2.0.1 (installs files into the same place). Problematic file: /usr/local/lib/python2.7/site-packages/easy-install.pth.dist
*** [fake-pkg] Error code 70
I turned to UPDATING and found an entry 20140307, that affect users of devel/py-setuptools. The description tells me, that the programmers of Python now is working on so many versions of their source code, that they got confused - and mixed two versions in the same directory - causing a lot of trouble for users of VirtualBox and lots of other widely used programs. The instructions recommends a fix using the portmaster. I tested them right away. However, the instructions does not seem to be correct. It seems, that the arguments are wrong.
Code:
# portmaster -o devel/py-setuptools27 devel/py-setuptools
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
===>>> The second argument to -o can be a package name,
or a port directory from /usr/ports
devel/py-setuptools does not seem to be installed,
or listed as a dependency
===>>> No valid installed port, or port directory given
===>>> Try portmaster --help
I then tried to delete it and install it manually from the ports collection. I tried compiling the port and I tried installing the package. It all failed.
Some users might suggest a switch from the good old ports package system to the new package system. However, I did try that - and it nearly totally crashed my system - and deleted critical programs in the proces. What a nightmare.
So, I am stuck with a system, that can not reinstall VirtualBox for now. Does anyone know of a fix?