pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Can "make package-install" call "pkg_add -u"?
I often work in an updated tree without having updated all installed packages. Often, I get this annoying failure mode when running „make package-install“:
===> Installing binary package of go-1.7.1
pkg_add: A different version of go-1.7.1 is already installed: go-1.7
pkg_add: 1 package addition failed
*** Error code 1
Would it be possible to have „make package-install“ just use the -u option to pkg_add? This would do the right thing in this case. The param is harmless if no older version is installed.
Is there some setting I can tweak to get that?
I know about the implications of this (plus possible breakage).
—Benny.
Home |
Main Index |
Thread Index |
Old Index