Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 00:55:48 -0500
From:      Doug Lee <dgl@dlee.org>
To:        freebsd-questions@freebsd.org
Subject:   How best to recover from untimely portupgrade interruption?
Message-ID:  <20041124055548.GS597@kirk.dlee.org>

next in thread | raw e-mail | index | archive | help
I'm afraid I missed the note in /usr/ports/UPDATING about portupgrade
building INDEX, so when a simple upgrade stalled for three hours (p166
here) without doing anything obvious, I'm afraid I typed ^C.
Portupgrade was rebuilding the database, and the ^C made it move on to
the index, which I again stopped with ^C now knowing I'd actually
interrupted something other than an infinite loop.

Now if I rerun portupgrade, it restarts the index build but warns me
about an incomplete dependency list.  I assume this is because I shot
down the database builder.  That part of the process doesn't seem to
want to rerun though...

So my question is, what is the best recommended way to get everything
back in order?  I assume I need to do something to make the database
rebuild restart, but I'm not sure what that is.  Portupgrade's process
isn't interactive like my pkgdb runs, and I didn't snag a ps list at
the time, so I'm not sure what it was doing.

Again, my apologies for missing the /usr/ports/UPDATING alert about
this...

Please Cc replies to me.


-- 
Doug Lee           dgl@dlee.org        http://www.dlee.org
Bartimaeus Group   doug@bartsite.com   http://www.bartsite.com
The very smart may feel they have nothing to learn from anyone;
The very wise will find something to learn from everyone.  (7/14/01)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041124055548.GS597>