Resolving portmaster error “pkg-static: automake-1.16.1 conflicts with automake-wrapper-20131203”

I decide to make some software upgrade.
And when updating automake I received so kind of error:
“Installing automake-1.16.1…
pkg-static: automake-1.16.1 conflicts with automake-wrapper-20131203 (installs files into the same place).
Problematic file: /usr/local/bin/aclocal
*** Error code 70″
Solutions:
1) using portmaster
portmaster -o devel/automake devel/automake-wrapper
2) manual solution
pkg info | grep automake
pkg delete automake-wrapper-20131203
“Proceed with deinstalling packages? [y/N]: y”
cd /usr/ports/devel/automake
make clean
make install clean

Verify the fix
Now let’s check to make sure portmaster knows that automake is installed and up-to-date.
portmaster -avw | grep automake
“===>>> automake-1.16.1”
This single line of output above is a good sign: portmaster recognizes automake, and isn’t generating any more errors about it.

P.S.
Much thanks to shaun
Good links:
https://shaunc.com/blog/article/resolving-portmaster-error-pkgstatic-automake1.16.1-conflicts-with-automakewrapper20131203~kH3KuoFdJyLv
https://groups.google.com/forum/#!topic/uafug/KMK-iUZScho


Leave a comment