portmaster and portmanager disagree

Robert Noland rnoland at 2hip.net
Thu Mar 29 20:04:53 UTC 2007


On Thu, 2007-03-29 at 19:46 +0100, Mark Ovens wrote:
> Tried updating all my ports - all 439 of them - sing ``portmanager -u''. 
> Numerous failures, conflicts etc. as usual. Got most of them sorted but 
> ``portmanager -s'' still reports a load as MISSING, but they aren't; the 
> directories are in /var/db/pkg and the apps work.

I suspect that one of your /var/db/pkg entries is corrupt, try doing a
"pkg_info" and note any errors that get reported.  Manually rebuild the
port with the corrupted entry and then try portmanager again.

robert.

> portmanager(1) builds and installs them (successfully), then immediately 
> rebuilds and installs. It does this three times the gives up saying the 
> builds are looping.
> 
> Tried portmaster(1) instead using the style ``portmaster -p 
> print/acroread''. Even though they are installed, it rebuilt and 
> installed them (only once, so better than portmanager).
> 
> However, ``portmanager -s'' *still* reports them as missing - argghh!!
> 
> Is something screwed in my ports tree or /var/db/pkg?
> 
> I'm getting so fed up of upgrading ports being a marathon exercise 
> everytime I do it that I'm beginning to wonder if it's time to uninstall 
> *every* port on my system, zap /usr/ports, and start again from scratch, 
> but that's the Windows way, not the Unix way so I've so far resisted 
> doing it.
> 
> Any help in getting my system sorted out would be much appreciated.
> 
> Regards,
> 
> Mark
> 
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list