remove old provides/requires and useless dependencies