View Single Post
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#9
Originally Posted by kayamagan View Post
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 ?

is rm -r /var/lib/dpkg/info/hideuseragent.*

after all of this, follow the 1st post, i had the same kind of problem but i resolved with cp and chmod. Follow the 1st pos
 

The Following User Says Thank You to santiago For This Useful Post: