I know this is the definition of "life", but how does someone overcome this quickly. I mean, the thing that something like this brings, is more in the lines of discouragement, that I don't even wish to do anything else for the day, procrastinate or other, because what I thought would free me from one worry, has just added a myriad more.
If at all possible when something sets me back I try to physically change locations for a bit. I find that this simple act can often help me snap out of the gloom and doom mood I can get myself in long enough to gain some perspective, usually see the world hasn't ended and determine the Next Action(s) to get me back on course.
I recently had to rebuild my computer after a little "mishap" and used this approach. It worked really well.