Thanks for your replay,
Just as you said, keeping the debug package was unnecessary.
It was just my thought that if I delete that package some other error may appear.
So after some research I just deleted it and the error was solved.