hi community, I'm unable to remove catblock pkg (please see screenshot here attached).
I did many commands without solution:
apt-get remove/purge/-f...
dpkg -purge/--force-remove-essential/...
dpkg tells me: o such file or directory but this app is present and working (I can launch it from terminal using catblock command).
some idea please?
This first line "#!/bin/bash" is also called the shebang and tells the OS which program to use to interpret the script. after "#!" follows the path to the program
/bin/sh is the standard sh(ell) in linux, bash stands for the more advandced bourne again shell. both are shells and there are lots of other shells (ash, zsh, csh....) but they have to be installed to be used (of course...)
so he changed the program that interprets your install scripts from bash (that was not installed) to the standard shell.
You can also edit the files manualy using filebox, navigate to file "/var/lib/dpkg/info/catblock.prerm" press and hold then select edit, then once you have changed the file from #!/bin/bash to #!/bin/sh choose save from the top drop down menu, then repeat the same steps for "/var/lib/dpkg/info/catblock.postinst"
Once you have done that you can just remove it in the normal way
For me its so much easier to use a file manager (and filebox is exelent) as i get far too easily lost with all the commands in xterm
You can also edit the files manualy using filebox, navigate to file "/var/lib/dpkg/info/catblock.prerm" press and hold then select edit, then once you have changed the file from #!/bin/bash to #!/bin/sh choose save from the top drop down menu, then repeat the same steps for "/var/lib/dpkg/info/catblock.postinst"
Once you have done that you can just remove it in the normal way
For me its so much easier to use a file manager (and filebox is exelent) as i get far too easily lost with all the commands in xterm
You can also edit the files manualy using filebox, navigate to file "/var/lib/dpkg/info/catblock.prerm" press and hold then select edit, then once you have changed the file from #!/bin/bash to #!/bin/sh choose save from the top drop down menu, then repeat the same steps for "/var/lib/dpkg/info/catblock.postinst"
Once you have done that you can just remove it in the normal way
For me its so much easier to use a file manager (and filebox is exelent) as i get far too easily lost with all the commands in xterm