Hi, good afternoon.

I'm having problem with my locate script that stay in /user/bin folder. When I type locate in terminal, or apt-get or aptitude it's showing this:

/usr/bin/locale: 23: /usr/bin/locale: /DirectClassPacket: not found
/usr/bin/locale: 34: /usr/bin/locale: currentfile: not found
/usr/bin/locale: 35: /usr/bin/locale: compression: not found
/usr/bin/locale: 37: /usr/bin/locale: /number_pixels: not found
/usr/bin/locale: 40: /usr/bin/locale: currentfile: not found
/usr/bin/locale: 41: /usr/bin/locale: number_pixels: not found
/usr/bin/locale: 43: /usr/bin/locale: 0: not found
/usr/bin/locale: 45: /usr/bin/locale: pixels: not found
/usr/bin/locale: 47: /usr/bin/locale: pixels: not found
/usr/bin/locale: 50: /usr/bin/locale: /DirectClassImage: not found
/usr/bin/locale: 74: /usr/bin/locale: Syntax error: word unexpected (expecting "}")


This started after I try to fix the problem about add-apt-repository. I installed apt-file and others.

I'm already uninstall locale and install it again, but the problem still persisting.

Please help.

Thanks.