how to upgrade without removing some pkg marked for removal... and should i?

hello.
i am in this situation:
Code:
[root@punkspresso /home/hern42]# pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (604 candidates): 100%
Processing candidates (604 candidates): 100%
The following 44 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        libb2: 0.98.1_1

Installed packages to be UPGRADED:
        binutils: 2.43.1,1 -> 2.44,1
        boost-libs: 1.86.0_1 -> 1.87.0_1
        botan2: 2.19.5_3 -> 2.19.5_4
        calibre: 7.25.0 -> 7.26.0_1
        easy-rsa: 3.2.1_3,1 -> 3.2.2,1
        exiv2: 0.28.3,1 -> 0.28.4,1
        eza: 0.20.20 -> 0.20.21
        firefox: 135.0_2,2 -> 135.0_3,2
        gpgme: 1.24.1 -> 1.24.2
        gpgme-cpp: 1.24.1 -> 1.24.2
        gspell: 1.10.0_5 -> 1.10.0_6
        harfbuzz-icu: 10.2.0 -> 10.2.0_1
        icu: 74.2_1,1 -> 76.1,1
        inkscape: 1.4 -> 1.4_1
        lib2geom: 1.4 -> 1.4_1
        libcdr01: 0.1.8 -> 0.1.8_1
        libcmis: 0.6.2_3 -> 0.6.2_4
        libe-book: 0.1.3_28 -> 0.1.3_29
        libixion: 0.19.0_3 -> 0.19.0_4
        libkml: 1.3.0_28 -> 1.3.0_29
        libmspub01: 0.1.4_24 -> 0.1.4_25
        liborcus: 0.19.2_3 -> 0.19.2_4
        libpsl: 0.21.5_1 -> 0.21.5_2
        libqxp: 0.0.0_24 -> 0.0.0_25
        libreoffice: 25.2.0.3 -> 25.2.0.3_2
        libvisio01: 0.1.8 -> 0.1.8_1
        libzmf: 0.0.2_29 -> 0.0.2_30
        openldap26-client: 2.6.9 -> 2.6.9_1
        pdal: 2.7.2_5 -> 2.7.2_6
        picard: 2.13.1 -> 2.13.2
        postgresql16-client: 16.6_1 -> 16.7_1
        qpdf: 11.9.1 -> 11.10.0
        qt5-core: 5.15.16p130 -> 5.15.16p130_1
        qt6-5compat: 6.8.2 -> 6.8.2_1
        qt6-base: 6.8.2 -> 6.8.2_2
        qt6-multimedia: 6.8.2 -> 6.8.2_1
        raptor2: 2.0.16_3 -> 2.0.16_4
        scribus: 1.6.3 -> 1.6.3_1
        sfcgal: 2.0.0_1 -> 2.0.0_2
        sqlite3: 3.46.1,1 -> 3.46.1_1,1
        webkit2-gtk_40: 2.46.5_2 -> 2.46.5_3

Installed packages to be REMOVED:
        electron30: 30.5.1_2
        obsidian: 1.6.7_3

Number of packages to be removed: 2
Number of packages to be installed: 1
Number of packages to be upgraded: 41

The operation will free 611 MiB.
449 MiB to be downloaded.

i'm afraid that if i say yes, i'll get rid of obsidian... which is sort of a pain to install.
any reason it's been selected for removal?
i could of course "lock" them all (both packages) but i'd like to understand if i'm to do something else.
as far as i read pkg has been designed to force coherence and therefore does not allow "pkg upgrade <package_name>".
many thanks...
yrs trly,
a-
 
well, sometimes you don't really have a choice... but in my case i never installed obsidian via pkg, that's what i do not get.
 
Match your ports tree and packages, they should both be on 'quarterly' or both on 'latest'. Mixing 'quarterly' and 'latest' is going to cause a divergence in versions the 'older' a quarterly branch gets.

For textproc/obsidian quarterly branch has 1.7.5_2, latest has 1.8.4. See the difference?

Also, update more often, 1.6.7_3 is from September 2024 (2024Q4). You're at least a quarterly branch behind schedule. If you track 'quarterly' update once every three months at the very least.
 
then install it from the pkg.
Is it possible?
Code:
$ grep LICENSE_PERM /usr/ports/textproc/obsidian/Makefile
LICENSE_PERMS=
Edit:
Code:
$ head -n 2 /usr/ports/textproc/obsidian/Makefile
# This port will not be packaged by the official FreeBSD build cluster, because
# its license doesn't permit redistribution.
 
Match your ports tree and packages, they should both be on 'quarterly' or both on 'latest'. Mixing 'quarterly' and 'latest' is going to cause a divergence in versions the 'older' a quarterly branch gets.

For textproc/obsidian quarterly branch has 1.7.5_2, latest has 1.8.4. See the difference?

Also, update more often, 1.6.7_3 is from September 2024 (2024Q4). You're at least a quarterly branch behind schedule. If you track 'quarterly' update once every three months at the very least.
thanks for your answer...
i suspect i'm on quaterly as i didn't do the procedure in "4.4.2. Quarterly and Latest Ports Branches" from the handbook.
which is to say i'll need to perform
Code:
# git -C /usr/ports switch 2025Q1
and reinstall obsidian from there?

also i'm not clear on when i should update the system?
i'm currently on "FreeBSD 14.2-STABLE" which i upgraded sometime in november last year i think...

sorry if it's a silly "what is that guy doing mingling with that, get back to windows already!" question.
best,
a-
 
i suspect i'm on quaterly
-STABLE and -CURRENT default to 'latest' packages, -RELEASE versions default to 'quarterly' packages.

i'm currently on "FreeBSD 14.2-STABLE" which i upgraded sometime in november last year i think...
-STABLE is perpetually out of date, it gets constant updates. And you need to realize the base OS and ports/packages are two separate entities.
 
Back
Top