On Wed, Nov 4, 2020, at 11:37, Chris Bennett wrote:
> 
> You haven't supplied any information for answering this question well.
> Are you running -current and updating to a new snapshot?
> 

I upgraded to a new snapshot.

> Easy answer. System libraries that these packages were built with have
> changed. Package is the same except for being rebuilt with newer
> libraries.
> 

This demonstrates that I don’t understand the mechanism by which these upgrade 
decisions are made then. How can pkg_add determine that a given package was 
built against newer libraries if there is nothing in the package header 
(+CONTENTS) indicating such? I assumed this would manifest itself in the 
package signature in some way, since pkg_add is clearly making an upgrade 
decision here. Or there is of course the possibility that there *is* some 
information there that I’m overlooking.

> Are you upgrading to a newer stable/release?
> Same answer.
> 
> Are you getting this problem running pkg_add -u multiple times on the
> same system without changing to a newer version or snapshot?
> 
> Then something is wrong. (Assumimg you are actually running the actual
> pkg_add -u)
> Check to make sure that you do not have any packages that have been
> since dropped. gettext caused me problems a good while back
> 
> Please supply a little more info. That helps people to decide whether
> they want to answer or not. Most likely you don't have any problem.
> Have you read all of the relevant man pages? pkg_*
> 

Multiple times. My problem is that the documentation appears to be written for 
a user of OpenBSD, not necessarily someone trying to fully grok the inner 
workings of exactly how the pkg_* tools work. I’ve tried reading the perl 
directly, but I haven’t found anything that seemed like a smoking gun. I guess 
what I want to know is, what *exactly* is pkg_add doing/comparing to determine 
that an upgrade is needed?

> What is your PKG_PATH (if using). unset PKG_PATH is a quickie, temp fix
> if it's wrong.
> Have you changed /etc/installurl?
> 

No PKG_PATH. /etc/installurl is ftp3. Unchanged since my install ~8 months ago.

> Look for relevant threads previously on the ports@ mailing list
> especially.
> 

I will search, thank you :)

> Enjoy!
> Chris Bennett
> 

Reply via email to