maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Problem in removing catblock via autoremove command, how can I remove it then ?! (https://talk.maemo.org/showthread.php?t=80691)

Hesham_3del 2011-12-06 17:51

Problem in removing catblock via autoremove command, how can I remove it then ?!
 
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 2011-12-06 18:40

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
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.

Hesham_3del 2011-12-06 18:55

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
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 2011-12-06 19:41

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
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

Hesham_3del 2011-12-06 22:46

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
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 !!

knobby 2011-12-06 23:57

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
Code:

sudo gainroot
rm /var/lib/dpkg/info/catblock.prerm
rm /var/lib/dpkg/info/catblock.*inst
apt-get purge catblock


nicolai 2011-12-08 00:22

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
Quote:

Originally Posted by Hesham_3del (Post 1134217)
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.

aadityak 2012-01-25 13:03

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
Quote:

Originally Posted by Hesham_3del (Post 1134217)
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?

reinob 2012-01-25 15:02

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
@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.

aadityak 2012-01-25 15:17

Re: Problem in removing catblock via autoremove command, how can I remove it then ?!
 
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! :D


All times are GMT. The time now is 21:47.

vBulletin® Version 3.8.8