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: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: feature
: 134167 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-18 11:28 UTC by Tomasz "CeDeROM" CEDRO
Modified: 2023-11-27 22:30 UTC (History)
3 users (show)

See Also:


Attachments

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! :-)
Tomek
Comment 1 Tomasz "CeDeROM" CEDRO 2021-07-18 11:36:57 UTC
Somehow related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228397
Comment 2 Graham Perrin 2023-10-06 15:49:55 UTC
Developers: please, can you foresee implementation of things such as this before PkgBase becomes the norm?

^Triage: 

* feature (keyword)
* severity reduced to the norm for an enhancement request.
Comment 3 Graham Perrin 2023-10-06 16:06:23 UTC
*** Bug 134167 has been marked as a duplicate of this bug. ***