Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 2026 05:39:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 296467] pkg upgrade installs unrelated, unnecessary other packages
Message-ID:  <bug-296467-32340-1ZDmiKA5Mh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-296467-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296467

--- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to wbe from comment #4)

I understand your context little better now: I now understand
that there was no prior conversion to pkgbase so some of my
notes had no chance of being right. Sorry. I do not normally
operate based on freebsd-upgrade use for any systems.


In the original problem context, before any clean up, I would
be curious to see the output of:

# pkg which -g \*/libgcc_s.so.1

(If the system does not end up being listed, despite the
/lib/libgcc_s.so.1 , that may mean that pkg is going to
try installing/upgrading the other things it does list.)

Of course, that may not be possible now because of prior
cleanup activity.


>From what you wrote, it sounds to me like you should
mostly ignore my attempted notes and go your own way.

I would suggest avoiding making pkg deal with orphaned files
from any prior activities. I would also suggest making sure
no orphaned files are left when you are done.

Also watch out for ending up with *.pgknew and/or *.pkgsave
files. (Less likely: .pkgtemp.* files.)

I'll leave it at that for more generic suggestions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-296467-32340-1ZDmiKA5Mh>