[SM-Discuss] Is it possible to pause sorcery or cast?
afrayedknot at thefrayedknot.armory.com
Wed Aug 4 11:16:57 EDT 2004
For completeness its relatively safe (although not recommended as a
regular usage pattern) to shoot cast somewhere in the middle. The big
caveat is dont do it while its installing something. In general, dont
do it unless you have to, but its not going to be the end of the world.
If you have an install queue (you're doing a system-update or cast
--queue, etc.) then the queue should have things removed as you go
(although i may be wrong). If thats the case then recasting --queue
will only cast the things that are left.
ctrl-c will leave a source directory in /usr/src, which you may delete
or on a recast its removed for you. locks are left hanging, however the
locking code is usually smart enough to deal with stale locks.
On Wed, Aug 04, 2004 at 11:37:07AM +0200, Rohan Nicholls wrote:
> I have been reading the docs quite a bit lately, and there are warnings
> about stopping sorcery or cast in the middle of what it is doing, but
> nothing about if there is a way to safely stop it.
> This came about when I did the full rebuild, and was running out of time
> before I had to go home and it was happily still chugging along.
> Fortunately it stopped in time for me to get home, but it got me to
> I understand that killing the process while compiling is a bad idea, but
> does it mess up the queue or internal housekeeping to stop cast when it
> is asking you questions? ie. before it starts installing a new
> package. And if it does would it be possible to add an option to allow
> a user to pause its execution, have it save its current state to be
> continued later?
> Just something I came across in my explorations. Very nice system you
> have built here everyone, the dependency handling is amazing.
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
More information about the SM-Discuss