Fixing a busted ports area

Chris H bsd-lists at bsdforge.com
Tue Mar 24 05:39:03 UTC 2015


On Tue, 24 Mar 2015 16:26:30 +1100 (EST) Dave Horsfall <dave at horsfall.org>
wrote

> FreeBSD 9.3-RELEASE-p10 (GENERIC) #0: Tue Feb 24 21:01:19 UTC 2015
> 
> The ports area is broken, due to what I guess was a mangled upgrade path 
> from FreeBSD 8.x.  For example, when installing cups-client, I get:
> 
> pkg-static: pkgconf-0.9.7 conflicts with pkg-config-0.25_1 (installs files 
> into the same place).  Problematic file: /usr/local/bin/pkg-config
> *** [fake-pkg] Error code 70
> 
> It's not clear to me how to fix this.  Is the simplest way to just remove 
> (or move) /usr/ports, install it from CD, then upgrade?  I have quite a 
> few ports installed.
You haven't been too specific as to your upgrade path.
But sometimes it's as easy as changing to the offending
ports folder, and issuing a make deinstall. Then attempting
whatever upgrade procedure you following at the time of the
incident.
However, if this same type of error persists unreasonably.
You may require more drastic measures, to overcome the issue(s).

--Chris
> 
> -- 
> Dave Horsfall DTM (VK2KFU)   "Those who don't understand security will
> suffer." http://www.horsfall.org/spam.html (and check the home page whilst
> you're there) _______________________________________________
> 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