Reply
Thread Tools
Posts: 22 | Thanked: 4 times | Joined on Jun 2010 @ Egypt
#1
Hello,

I've catblock app not fully installed

and I'm using these commands to remove it

sudo gainroot

apt-get autoremove catblock

but I get this msg.

Errors were encountered while processing:
catblock
E: Sub=process /usr/bin/dpkg returened an error code (1)
 
Mike Fila's Avatar
Posts: 412 | Thanked: 480 times | Joined on Feb 2011 @ Bronx, NY
#2
first look in ham not fam to see if catlock is in the list and try to remove it from there otherwise use apt-get remove from what i understand apt-get autoremove is for removing unused dependencies.
 
Posts: 22 | Thanked: 4 times | Joined on Jun 2010 @ Egypt
#3
It's in HAM

when I try to uninstall it, it says Unable to uninstall "catblock"

and tried remove command instead of autoremove, the same result I got.
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#4
manually edit
/var/lib/dpkg/info/catblock.prerm
and
/var/lib/dpkg/info/catblock.postinst

change the first line:
#!/bin/bash
to
#!/bin/sh

or install bash

http://talk.maemo.org/showthread.php?t=65939
 

The Following 2 Users Say Thank You to nicolai For This Useful Post:
Posts: 22 | Thanked: 4 times | Joined on Jun 2010 @ Egypt
#5
Dear nicolai,

I installed bash4 from FSM and restarted the device

entered the below commands via the terminal

sudo gainroot

apt-get autoremove catblock

I still get the same message

What I want to know from you is, why still the problem exist although I installed bash4 not bash3 !!
 
Posts: 159 | Thanked: 68 times | Joined on Sep 2011 @ India
#6
Code:
sudo gainroot
rm /var/lib/dpkg/info/catblock.prerm
rm /var/lib/dpkg/info/catblock.*inst
apt-get purge catblock
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#7
Originally Posted by Hesham_3del View Post
Dear nicolai,

I installed bash4 from FSM and restarted the device

entered the below commands via the terminal

sudo gainroot

apt-get autoremove catblock

I still get the same message

What I want to know from you is, why still the problem exist although I installed bash4 not bash3 !!
I don't know, why it isn't working for you.
I tried
apt-get install bash
apt-get remove catblock

and it worked.

Anyway try the hard way from knobby.
 
Posts: 21 | Thanked: 1 time | Joined on Dec 2011 @ India
#8
Originally Posted by Hesham_3del View Post
Dear nicolai,

I installed bash4 from FSM and restarted the device

entered the below commands via the terminal

sudo gainroot

apt-get autoremove catblock

I still get the same message

What I want to know from you is, why still the problem exist although I installed bash4 not bash3 !!
Even I am getting the same error messages...how did u finally go about uninstalling it?
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#9
@aadityak,

Just guessing. Make sure /bin/bash actually exists.

for example, I have bash4 installed, so I have /bin/bash4. If I wanted to have /bin/bash (which apparently is required by the package you want to uninstall), you can just make a symlink.
 

The Following User Says Thank You to reinob For This Useful Post:
Posts: 21 | Thanked: 1 time | Joined on Dec 2011 @ India
#10
phewww finally uninstalled it...thanks a lot ppl...ok so now to what I did...Simple!!
Just installed Bash4 and then uninstalled Catblock through HAM...abs no errors popped up!
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:12.