Updating my CentOS box failed with a TypeError: unsubscriptable object. (I spent far too long reading that as “unscriptable object”). Google to the rescue — following Rowan Crane’s helpful advice led me to
# yum clean metadata; yum update
And all was well. Thanks!