Bug 257247 - freebsd-update / pkg: add automation, no questions, continue from interrupted state
Summary: freebsd-update / pkg: add automation, no questions, continue from interrupted...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2021-07-18 11:28 UTC by Tomasz "CeDeROM" CEDRO
Modified: 2021-07-20 15:43 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz "CeDeROM" CEDRO 2021-07-18 11:28:58 UTC
Hello world :-)

I was recently on extremely slow cellular connection with some old (laptop) machine with 12.0 that had to be upgraded to 13.0 before I could work on it. Unfortunately upgrade process was interrupted due poor internet connection. I had to restart is manually over and over, several times per day, and finally I abandoned the process. What is even worse I had to press Y on "does this sound reasonable" question.

Is it possible to add -A (automation) option or something similar so:
1. the whole process does not ask questions.
2. the whole process restarts from where is was interrupted (i.e. connection broken).
3. I just get the information that download is completed and I can manually proceed.

This option would be extremely helpful to both freebsd-update and pkg(-static) :-)

Sure I need to maunally restart the machine, perform freebsd-update install, pkg-static update /upgrade, and again freebsd-update install. But the interrupted downloads seems to break whole process here and it would be really nice to have it "just do it for me even if there are connection problems" :-)

Thank you for considering! :-)
Comment 1 Tomasz "CeDeROM" CEDRO 2021-07-18 11:36:57 UTC
Somehow related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228397