but below this is the result: /home/user # rm -r /opt/HideUserAgent /home/user # rm -r /var/lib/dpkg/HideUserAgent.* rm: cannot remove '/var/lib/dpkg/HideUserAgent.*': No such file or directory /home/user # dpkg -r hideuseragent (Reading database ... 29813 files and directories currently installed.) Removing hideuseragent ... /var/lib/dpkg/info/hideuseragent.prerm: line 4: /opt/HideUserAgent/MicroBUserAgent.sh: not found dpkg: error processing hideuseragent (--remove): subprocess pre-removal script returned error exit status 127 chmod: /opt/HideUserAgent/MicroBUserAgent.sh: No such file or directory /var/lib/dpkg/info/hideuseragent.postinst: line 6: /opt/HideUserAgent/MicroBUserAgent.sh: not found chown: /opt/HideUserAgent/UA.txt: No such file or directory dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: hideuseragent /home/user # What's wrong ?