Fix pkg upgrade -f