Gleb Popov
Gleb Popov
What command are you running? A plain `pkg upgrade`?
Could you try debugging `pkg_jobs_add`? It seems it never appends to `j->patterns` there? On the first look it seems that adding `j->patters == NULL ||` is a correct fix. >...
> not always: if pkg is removing itself during an upgrade, this probably indicates that it can't be reinstalled either, e.g. due to missing shlibs depends. in this case i...
> I'm not sure there's any real winning outcome here- what happens if we remove pkg and the remote repository still hasn't caught up? We're already living in a world...
I guess, we should always treat `pkg` as non-automatic. Other than that, I see no problem there. These packages are automatic, I presume?
You can run `pkg set -A 0 pkg` to make it non-automatic and will disappear from `pkg autoremove`. I just wonder why it is marked automatic in the first place.
Ping. Can something be done about this problem?
Monthly ping.
https://github.com/freebsd/pkg/pull/2488 would likely solve this.
> To make this useful, we will need a similar patch in DNF4 https://github.com/rpm-software-management/dnf/blob/master/dnf/rpm/__init__.py. The dnf part is now merged.