pkg upgrade conflicts
Justin Sherrill
justin at shiningsilence.com
Wed Apr 1 10:51:24 PDT 2026
If it helps, there's the "bullet-proof" upgrade process, where you can
remove and re-add all the packages:
https://www.dragonflybsd.org/docs/howtos/DPortsUsage/#index4h1
This should be usable even if 'pkg upgrade' isn't able to figure things
out. This is pretty close to what Autumn's recommending. It doesn't
answer how you ended up in this state, but I think that's a separate
problem to solve past "how do I get this update to complete".
On Wed, Apr 1, 2026 at 12:18 PM Autumn Jolitz <autumn.jolitz at gmail.com>
wrote:
> I understand the reticence. This particular issue occurred on my internet
> gateway with no failovers available. I don’t think there’s any other
> options however to resolve this.
>
> What’s your concerns in doing so? I found that it was as simple as `pkg
> upgrade -y | tee hairy-upgrade.log`, inspecting the output of the log, then
> `pkg install -y` of the wrongfully removed packages.
>
> Autumn
>
> > On Apr 1, 2026, at 6:45 AM, Jávorszky Balázs <balazs at gnifanip.info>
> wrote:
> >
> > This is not an option for me...
> >
> > Jávorszky Balázs
> >
> >> On 3/31/26 17:25, Autumn Jolitz wrote:
> >> This happened to me as well.
> >>
> >> I noted the critical packages it wanted to deinstall, let it do so,
> then reinstalled the missing ones again.
> >>
> >> Very weird experience. Nothing like “All your packages are wrong!” lol
> >>
> >> Autumn
> >>
> >>>> On Mar 24, 2026, at 2:40 PM, Antonio Huete Jimenez <
> tuxillo at quantumachine.net> wrote:
> >>>
> >>> Yeah, it’s kind of a mess. What I did was to see the packages that
> was going to remove and install them back later.
> >>>
> >>>> On 24 Mar 2026, at 21:35, Jávorszky Balázs <balazs at gnifanip.info>
> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> I did a `pkg upgrade`, and it encountered a lot of conflicts that are
> not resolvable, for likely each and every upgraded package. I just stopped
> it with Ctrl C.
> >>>>
> >>>> ```bash
> >>>> root at somehost /h/balazs# uname -a
> >>>> DragonFly somehost 6.4-RELEASE DragonFly v6.4.2-RELEASE #9: Sun May
> 11 14:35:15 CEST 2025 root at somehost:/usr/obj/usr/src/sys/X86_64_GENERIC
> x86_64
> >>>> root at somehost /h/balazs# pkg upgrade
> >>>> Updating Avalon repository catalogue...
> >>>> Fetching meta.conf: 100% 178 B 0.2kB/s 00:01
> >>>> Fetching data.pkg: 100% 6 MiB 342.3kB/s 00:18
> >>>> Processing entries: 100%
> >>>> Avalon repository update completed. 32156 packages processed.
> >>>> All repositories are up to date.
> >>>> New version of pkg detected; it needs to be installed first.
> >>>> The following 1 package(s) will be affected (of 0 checked):
> >>>>
> >>>> Installed packages to be UPGRADED:
> >>>> pkg: 1.21.3 -> 2.2.0 [Avalon]
> >>>>
> >>>> Number of packages to be upgraded: 1
> >>>>
> >>>> 4 MiB to be downloaded.
> >>>>
> >>>> Proceed with this action? [y/N]: y
> >>>> [1/1] Fetching pkg-2.2.0.pkg: 100% 4 MiB 293.0kB/s 00:15
> >>>> Checking integrity... done (0 conflicting)
> >>>> [1/1] Upgrading pkg from 1.21.3 to 2.2.0...
> >>>> [1/1] Extracting pkg-2.2.0: 100%
> >>>> Updating Avalon repository catalogue...
> >>>> Avalon repository is up to date.
> >>>> All repositories are up to date.
> >>>> Checking for upgrades (432 candidates): 100%
> >>>> Processing candidates (432 candidates): 100%
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> Cannot solve problem using SAT solver, trying another plan
> >>>> pkg: Cannot solve problem using SAT solver
> >>>> upgrade rule: upgrade local libnghttp2-1.62.1 to remote
> libnghttp2-1.65.0
> >>>> cannot install package libnghttp2, remove it from request? [Y/n]:
> >>>> pkg: Cannot solve problem using SAT solver
> >>>> require rule: package libgd(r) depends on a requirement provided by:
> webp(l)
> >>>> require rule: package libgd(r) depends on a requirement provided by:
> tiff(l)
> >>>> require rule: package libgd(r) depends on a requirement provided by:
> png(l)
> >>>> require rule: package libgd(r) depends on a requirement provided by:
> jpeg-turbo(l)
> >>>> require rule: package libgd(r) depends on a requirement provided by:
> freetype2(l)
> >>>> require rule: package libgd(r) depends on a requirement provided by:
> fontconfig(l)
> >>>> upgrade rule: upgrade local libgd-2.3.3_13,1 to remote
> libgd-2.3.3_13,1
> >>>> cannot install package libgd, remove it from request? [Y/n]:
> >>>> pkg: Cannot solve problem using SAT solver
> >>>> require rule: package gdk-pixbuf2(r) depends on a requirement
> provided by: glib(l)
> >>>> require rule: package gdk-pixbuf2(r) depends on a requirement
> provided by: glib(l)
> >>>> require rule: package gdk-pixbuf2(r) depends on a requirement
> provided by: glib(l)
> >>>> require rule: package gdk-pixbuf2(r) depends on a requirement
> provided by: glib(l)
> >>>> upgrade rule: upgrade local gdk-pixbuf2-2.42.10_3 to remote
> gdk-pixbuf2-2.42.12_1
> >>>> cannot install package gdk-pixbuf2, remove it from request? [Y/n]:
> >>>> pkg: Cannot solve problem using SAT solver
> >>>> (rest omitted)
> >>>> ```
> >>>>
> >>>> Jávorszky Balázs
> >>>>
> >>>>
> >>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20260401/a85a2fdc/attachment-0001.htm>
More information about the Users
mailing list