pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Correct way to replace bmake?



I currently have pkgsrc installed on an old G5 iMac running OS X 10.5.5. Running pkg_chk tonight I noticed that there's a new version of bmake available -- bmake-20081111 (i have bmake-20080215nb1 installed now). Going to devel/bmake I start the build process:

/<2>usr/pkgsrc/devel/bmake# sudo bmake update clean clean-depends
===> Deinstalling for bmake-20081111
Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg -r bmake-20080215nb1
Package `bmake-20080215nb1' is marked as not for deletion

and, sure enough, after a couple of minutes the build dies with:

=> Unwrapping files-to-be-installed.
===> Installing for bmake-20081111
ERROR: bmake-20080215nb1 is already installed - perhaps an older version?
ERROR: If so, you may use either of:
ERROR: - "pkg_delete bmake-20080215nb1" and "/usr/pkg/bin/bmake reinstall"
ERROR:       to upgrade properly
ERROR:     - "/usr/pkg/bin/bmake update" to rebuild the package and all
ERROR:       of its dependencies
ERROR: - "/usr/pkg/bin/bmake replace" to replace only the package without
ERROR:       re-linking dependencies, risking various problems.
*** Error code 1

Stop.
bmake: stopped in /net/shuttle/usr/pkgsrc/devel/bmake
*** Error code 1

So -- how do I upgrade/update bmake? Will 'bmake replace' do the trick? I'm a little hesitant to try 'cause I don't want to brick my setup!

Any help much appreciated...

Steve



Home | Main Index | Thread Index | Old Index