Active Topics

 


Reply
Thread Tools
Posts: 193 | Thanked: 104 times | Joined on Oct 2010 @ Romania
#1
hi there...i have a problem...while testing and installing some new apps, and of course uninstalling them, I met this problem when trying to uninstall/purge/remove samba. Could you please, if available, provide feedback on deleting samba cuz' am i not able anymore to install other apps.

thanks in advance...

BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ root


Nokia-N900:~# apt-get purge samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
samba
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
3 not fully installed or removed.
Need to get 0B/345kB of archives.
After this operation, 14,8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 30223 files and directories currently installed.)
Removing samba ...
/bin/sh: illegal option -
dpkg: error processing samba (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#
 

The Following User Says Thank You to gorgezilla For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#2
Originally Posted by gorgezilla View Post
hi there...i have a problem...[...]
did you alreadt try any of

Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# apt-get clean
Nokia-N900:~# apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Nokia-N900:~# apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Nokia-N900:~#
?
 

The Following User Says Thank You to misterc For This Useful Post:
Posts: 193 | Thanked: 104 times | Joined on Oct 2010 @ Romania
#3
yes, i even googled it and nothing happend. thanks anyway.
 

The Following User Says Thank You to gorgezilla For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#4
Code:
apt-get -f install
?
 

The Following User Says Thank You to misterc For This Useful Post:
Posts: 193 | Thanked: 104 times | Joined on Oct 2010 @ Romania
#5
nope (...still trying...
 

The Following User Says Thank You to gorgezilla For This Useful Post:
Posts: 114 | Thanked: 109 times | Joined on Nov 2010 @ Finland
#6
Code:
dpkg -P samba
What about this?
 

The Following User Says Thank You to Keneraali For This Useful Post:
Posts: 193 | Thanked: 104 times | Joined on Oct 2010 @ Romania
#7
BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo dpkg -P samba
dpkg: status database area is locked by another process
~ $ sudo dpkg -P samba
(Reading database ... 30272 files and directories currently installed.)
Removing samba ...
/bin/sh: illegal option -
dpkg: error processing samba (--purge):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
samba
~ $ root


BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# dpkg -P samba
(Reading database ... 30210 files and directories currently installed.)
Removing samba ...
/bin/sh: illegal option -
dpkg: error processing samba (--purge):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
samba
Nokia-N900:~# dpkg -P samba-common
dpkg: error processing samba-common (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
samba-common
Nokia-N900:~#

thats is what comes out
 

The Following User Says Thank You to gorgezilla For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#8
So, try what it suggest - apt-get --reinstall samba, then try removing...

If that doesn't help, I'm afraid that samba post-uninstall scripts are sadly broken (at least, vs Your device), and You'll need to manually find and delete remaining files/configs/whatsnot.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#9
Code:
dpkg --configure samba
?
 

The Following 2 Users Say Thank You to misterc For This Useful Post:
Posts: 193 | Thanked: 104 times | Joined on Oct 2010 @ Romania
#10
Originally Posted by misterc View Post
Code:
dpkg --configure samba
?
well, samba is out but now i am encountering the samba-common problem...can not be removed, purged...damn...
 

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

Tags
samba remove


 
Forum Jump


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