what to do after upgrading FreeBSD OS?

Hello.
I recently upgraded 14.0 release to 14.2 release. For that, I used following commands:
freebsd-update fetch
freebsd-update install
reboot
freebsd-update upgrade -r 14.2-RELEASE
/usr/sbin/freebsd-update install
reboot
/usr/sbin/freebsd-update install
pkg update
pkg upgrade
reboot

The upgrade was successful, but there were a lot of inconsistencies in the installed packages. Some of the software are not working including orcale's virtualbox, and gnome-calculator. virtualbox is giving an error, whereas calculator crashes after being visible for second.
pkg version -v | grep '<'

brotli-1.1.0,1 = up-to-date with
portbsdisks-0.36 > succeeds port (port has 0.30)
ca_root_nss-3.104 > succeeds port (port has 3.93)
cairo-1.17.4_2,3 = up-to-date with

so then I ran freebsd-version -k which gave output 14.2-RELEASE-p1 and pkg -vv | grep url which gave url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly",

then I ran pkg upgrade -f But the calculator is still not working.

to get the gnome-calculator and others working, what should I do next?
Is the url pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly correct?
I mostly install using "pkg install".

Thanks a lot in advance,
usernamekiran.

PS: the biggest nuance is xfce freezing for few seconds, sometimes it gets responsive, sometimes I have to use alt+ctrl+F1 to exit the xfce session.
 
That is not enough. You need to force rebuild all packages.
pkg upgrade -F
This is especially important on a major version upgrade.
I apologise, I forgot to mention it. I had ran "pkg upgrade -f" (with small f), but it still did not resolve the problem. I updated the original post accordingly.
 
That is not enough. You need to force rebuild all packages.
pkg upgrade -F
This is especially important on a major version upgrade.
It's only important with a major version upgrade, not with a minor version upgrade. ABI is the same, 14.0 packages will run just fine on 14.2. Only certain kernel modules (like the one for Virtualbox) might not work.
 
For some reason https://pkg-status.freebsd.org/ seems to be broken, it doesn't show anything. But the builds are running as far as I know. It takes a bit of time to build ~40.000 packages, then they'll need to be copied to all the mirrors.
 
I ran pkg upgrade, and among few others, it removed xfce: 4.20, xfce4-desktop: 4.20.0, and xfce4-tumbler: 4.20.0 among few others (not related to xfce though)
after the reboot I was able to log into xfce, but due to the missing xfce4-desktop, my wallpaper, and desktop icons/launchers have gone. some commands I ran:

usernamekiran@optiplex:~ % pkg info xfce
pkg: No package(s) matching xfce
usernamekiran@optiplex:~ % pkg info | grep xfce4
libxfce4menu-4.20.1 Widgets library for the Xfce desktop environment
libxfce4util-4.20.1 Extension library for the Xfce desktop environment
libxfce4windowing-4.20.2 Windowing concept abstraction library for X11 and Wayland
xfce4-appfinder-4.20.0 Application launcher and finder
xfce4-conf-4.20.0 D-Bus-based configuration storage system
xfce4-mixer-4.18.2 Volume control for the Xfce desktop
xfce4-notifyd-0.9.7 Visually-appealing notification daemon for Xfce
xfce4-panel-4.20.4 Xfce's panel
xfce4-power-manager-4.20.0 Power manager for the Xfce Desktop
xfce4-session-4.20.2_1 Xfce's session manager
xfce4-settings-4.20.1 Xfce settings management
xfce4-terminal-1.1.5 Terminal emulator for the X windowing system
xfce4-wm-4.20.0 Xfce's window manager
usernamekiran@optiplex:~ % su
Password:
root@optiplex:/home/usernamekiran # cd
root@optiplex:~ # pkg install xfce
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'xfce' have been found in the repositories
root@optiplex:~ # pkg upgrade xfce
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to upgrade matching 'xfce' have been found in the repositories
root@optiplex:~ #


I am not sure if I will be able to use xfce on my next boot. any help would be appreciated a lot. I am okay with using CDE for time being. I simply do not want to lose any data, its way too important. would it be okay if I install CDE on next boot in case xfce does not work?
 
root@optiplex:~ # pkg upgrade xfce
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to upgrade matching 'xfce' have been found in the repositories
root@optiplex:~ #
Actually, the hint is provided in your shell output:

Instead of pkg upgrade xfce, you need to run pkg upgrade xfce4. Do you notice the difference between the two?

This is the command that SHOULD work. Whether or not the remote repos are fine, that is a separate matter, unfortunately.
 
You have ports installed, and when you use pkg to check versions it show you that your port index version is old, aka you have newer version of the program compared to the port source(index). You may want to remove the port source or upgrade it or when you check the installed version of the pkg to use -p or -P to tell pkg to which version you compare the installed program, to port index or to pkg index.
 
Actually, the hint is provided in your shell output:

Instead of pkg upgrade xfce, you need to run pkg upgrade xfce4. Do you notice the difference between the two?

This is the command that SHOULD work. Whether or not the remote repos are fine, that is a separate matter, unfortunately.
yes, I had already checked that. it is missing as well. This is a relevant thread, with discussing the missing KDE, and other DEs.

VladiBG Thanks, that sounds logical. But I think I will use CDE for a few days, and will come to this issue once my office workload becomes more manageable.
 
Back
Top