ports/121554: Portupgrade: suspend/resume support
chris at securityforensics.co.uk
Mon Mar 10 10:40:05 UTC 2008
>Synopsis: Portupgrade: suspend/resume support
>Arrival-Date: Mon Mar 10 10:40:05 UTC 2008
>Originator: Chris Calvey
FreeBSD epsilon.localdomain 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 4 18:09:03 GMT 2008 root at epsilon.localdomain:/usr/obj/usr/src/sys/EPSILON i386
Would it be possible to implement some mechanism where portupgrade could be suspended and resumed at a later date?
I am in the process of rebuilding all of my ports due to a recent upgrade to FreeBSD 7.0. The release announcement advised portupgrade -fa. With over 800 ports installed on this system such an operation would take a long time. I am not able to leave the system up continuous, and have had to try to break the portupgrade down into managable steps by upgrading selected ports. The whole process has been very messy indeed. I have two other machines to upgrade, and even if I generate a set of binary packages, the process will still take some time to complete.
A suggestion might be that portupgrade could capture say the kill signal, write it's current upgrade tree to disk and exit. On restarting portupgrade it would re-load the saved tree and continue.
More information about the freebsd-ports-bugs