Running "freebsd cron install" gives me: > No updates are available to install. > Run '/usr/sbin/freebsd-update fetch' first. Well, I did the fetch via "cron". Looking at the source it seems to come from incomplete change in https://svnweb.freebsd.org/base/head/usr.sbin/freebsd-update/freebsd-update.sh?r1=324441&r2=324440&pathrev=324441. After a one line patch it looks: > No updates are available to install. Will provide a patch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=85c3ef77cc9f7dbf8500c3d16c82d24eb06bfa81 commit 85c3ef77cc9f7dbf8500c3d16c82d24eb06bfa81 Author: Michael Osipov <michaelo@FreeBSD.org> AuthorDate: 2024-03-14 16:39:47 +0000 Commit: Michael Osipov <michaelo@FreeBSD.org> CommitDate: 2024-03-18 10:01:59 +0000 freebsd-update: mark "cron" as fetched as "fetch" itself The change in 33bd05c3187d7b49c80cf1b0132b405c105d0833 was incomplete because it did not mark "cron" as ISFETCHED=1 although it performs the same operations as "install", but less output and does not perform a hard exit. Mark result as such and make "install" know that updates have been fetched. PR: 277699 Approved by: jrm (mentor), emaste, cperciva MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D44356 usr.sbin/freebsd-update/freebsd-update.sh | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e54b9d17f82d5cb5efd84826706205442e6352cd commit e54b9d17f82d5cb5efd84826706205442e6352cd Author: Michael Osipov <michaelo@FreeBSD.org> AuthorDate: 2024-03-14 16:39:47 +0000 Commit: Michael Osipov <michaelo@FreeBSD.org> CommitDate: 2024-04-01 19:18:15 +0000 freebsd-update: mark "cron" as fetched as "fetch" itself The change in 33bd05c3187d7b49c80cf1b0132b405c105d0833 was incomplete because it did not mark "cron" as ISFETCHED=1 although it performs the same operations as "install", but less output and does not perform a hard exit. Mark result as such and make "install" know that updates have been fetched. PR: 277699 Approved by: jrm (mentor), emaste, cperciva MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D44356 usr.sbin/freebsd-update/freebsd-update.sh | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=fc5208028a78b014bdb1c77264c5b8c1823f9281 commit fc5208028a78b014bdb1c77264c5b8c1823f9281 Author: Michael Osipov <michaelo@FreeBSD.org> AuthorDate: 2024-03-14 16:39:47 +0000 Commit: Michael Osipov <michaelo@FreeBSD.org> CommitDate: 2024-04-01 19:19:50 +0000 freebsd-update: mark "cron" as fetched as "fetch" itself The change in 33bd05c3187d7b49c80cf1b0132b405c105d0833 was incomplete because it did not mark "cron" as ISFETCHED=1 although it performs the same operations as "install", but less output and does not perform a hard exit. Mark result as such and make "install" know that updates have been fetched. PR: 277699 Approved by: jrm (mentor), emaste, cperciva MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D44356 usr.sbin/freebsd-update/freebsd-update.sh | 1 + 1 file changed, 1 insertion(+)
Fixed in all active branches.