Can't resolve dependency for libelf, prevents system upgrade

Try the solution given in this post.

There is a previous thread on this issue too: