Re: Package conflicts after upgrading to 15.0

From: Lexi Winter <ivy_at_freebsd.org>
Date: Thu, 04 Dec 2025 23:34:59 UTC
Martin wrote in <BHYUQlHcjXrSPDn2h1gkB_9RiOoxgREJrFdj4mz4RQhEwSiR-kqNdPqcZADXYGaf1QIY73yQBksnkcTlC86L__sM7goJ4ig8DXC4aRHayw8=@protonmail.com>:
> After upgrading to 15.0 I see this:
> 
> Checking integrity... done (25 conflicting)
>   - tevent016-0.16.1_3 [FreeBSD-ports] conflicts with tevent-0.15.0_1 [installed] on /usr/local/include/tevent.h
>   - tevent016-0.16.1_3 [FreeBSD-ports] conflicts with tevent-0.15.0_1 [FreeBSD] on /usr/local/include/tevent.h

it looks like you have two ports repositories, one called "FreeBSD" and
one called "FreeBSD-ports".

the most likely cause of this is that you are trying to override the
"FreeBSD" repository in /usr/local/etc/pkg/repos, but this repository
was renamed to "FreeBSD-ports" in /etc/pkg/FreeBSD.conf, so you also
need to rename your override.