redir |
04-09-2010 09:23 AM |
Cannot deinstal or reinstall prot/package. Error: An older version already exists
I am trying to install the apr port on freeBSD and I get the following error:
Code:
===> Checking if devel/apr already installed
===> An older version of devel/apr is already installed (apr-db42-1.2.8_2)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of devel/apr
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
So then I try to do what it says and deinstall the port:
Code:
toblocal# make deinstall clean
===> Deinstalling for devel/apr
===> Cleaning for apr-ipv6-gdbm-db42-mysql-1.3.9.1.3.9_1
toblocal#
So that looks good now I will try to reinstall it, and it does a lot of work which finally ends in:
Code:
===> An older version of devel/apr is already installed (apr-db42-1.2.8_2)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of devel/apr
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
It's like an endless loop. Any suggestions?
Thanks in advance.
|