Solved Update Virtualbox Guest Additions notification

FreeBSD is inside Virtualbox.
This message keeps appearing inside XFCE4:

VirtualBox Guest Additions update available!
Your virtual machine is currently running the Guest Additions version 6.1.22. Since you are running a version of the Guest Additions provided by the operating system you installed in the virtual machine we recommend that you update it to at least version 6.1.26 using that system's update features, or alternatively that you remove this version and then install the Oracle Guest Additions package using the install option from the Devices menu.

How am I supposed to handle this?
 

Attachments

  • FreeBSD_Virtualbox_Guest_Additions.png
    FreeBSD_Virtualbox_Guest_Additions.png
    30.2 KB · Views: 104
pkg upgrade will use latest if you edit a configuration file appropriately.

Here, for example:

Code:
% grep url /etc/pkg/FreeBSD.conf
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
%
 
Mine was like this:
Code:
% cat /etc/pkg/FreeBSD.conf
# $FreeBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
Just replaced quarterly with latest and a couple of pkg updates, went fine.
 
I wonder why this doesn't come enabled by default, people who's in FreeBSD 13 expects up-to-date rolling release. Otherwise I would stay in 12.2. At least that's how I see it.
 
but for this simple change I reckon, it's OK to edit /etc/pkg/FreeBSD.conf
Don't edit /etc/pkg/FreeBSD.conf, your changes might get undone after an update. Instead, create a /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}
 
Back
Top