Fixing a busted ports area

Kevin Oberman rkoberman at gmail.com
Tue Mar 24 06:38:34 UTC 2015


On Mon, Mar 23, 2015 at 10:41 PM, Chris H <bsd-lists at bsdforge.com> wrote:

> 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
>
>
You rally need to check out /usr/ports/UPDATING. Take a look at  20120726
If you are making this big a jump, you will likely hit a few more of these,
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman at gmail.com


More information about the freebsd-ports mailing list