remove old versions, add packunused verson constraint