Skip to content
  • 3 Votes
    2 Posts
    150 Views
    grahamperrinG
    A sequence of commands: pkg upgrade -Fqy pkg upgrade -U pkg update pkg upgrade -Fqy pkg upgrade -U Normally If updates are available – and if there are no solver conflicts in response to the first command: all updates will be listed following the second command. With the upgrade of pkg from 2.7.5 to 2.8.0_1 The second command is followed by: a prompt to run pkg update "Your packages are up to date." – and the packages are not necessarily up-to-date. For the truth, you must run pkg update and then again pkg upgrade …
  • 12 Votes
    16 Posts
    2k Views
    tychotithonus@infosec.exchangeT
    @grahamperrin It is unfortunate (for the general user population) that the transition from freebsd-update to pkg didn't turn this complexity into a wrapper before the transition, so they could ship simultaneously.
  • 6 Votes
    2 Posts
    705 Views
    grahamperrinG
    Essentially, two commands: pkg upgrade -Fqy pkg upgrade -qUy && shutdown -r +30 "restarting with an upgraded kernel" – it was not necessary to repeat the first. root@clean:~ # freebsd-version -kru ; uname -mvKU 15.1-RC3-p1 15.1-RC3-p1 15.1-RC3-p1 FreeBSD 15.1-RC3-p1 releng/15.1-n283561-e89f5d0df8fd GENERIC amd64 1501000 1501000 root@clean:~ # pkg upgrade -Fqy root@clean:~ # pkg upgrade -qUy Generating apropos(1) database for /usr/share/man... Generating apropos(1) database for /usr/share/openssl/man... ===== Message from FreeBSD-local-unbound-15.1: -- After upgrading local-unbound, the configuration file should be regenerated by running "service local_unbound setup" before restarting the service. root@clean:~ # freebsd-version -kru ; uname -KU 15.1-RELEASE 15.1-RC3-p1 15.1-RELEASE 1501000 1501000 root@clean:~ # shutdown -r +30 "restarting with an upgraded kernel" Please note This is not an encouragement to perform upgrades before official announcements. For the second command, I used the --quiet and --yes options only because in this case – a test machine in VirtualBox – I had confidence that installing packages would have no adverse effect. You should never combine those two options without knowing exactly what you're doing. It was a simple upgrade, not a minor or major upgrade. https://www.freebsd.org/releases/15.1R/ https://wiki.freebsd.org/Releng/15.1ISSUES