As stated, the vacuum pump runs the EGR, so removing it will cause a check engine light because the EGR won't work anymore.
It might be possible to run an electric vacuum pump instead, but it begs the question of why you are removing the mechanical one.
If you fully remove the EGR system, you...