There are really two possible scenarios here: did the packages in question change over time, or not? Are the features which these scripts use still active, or have they been deprecated by something else? This really is a subject of research, for which there is no automated answer.
Most commonly, packages are designed with forward-compatibility in mind, and they do run without incident. Therefore, I do generally suggest that you should keep up-to-date on packages ... not just for the ones that an application directly uses, but all of their co-requisites, as well.
You must have a sensible test-environment, though, and a test-plan. Making changes to a production environment is not a trivial undertaking. You must have both a rollout plan and a rollback plan.