maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   help needed to remove samba (https://talk.maemo.org/showthread.php?t=74957)

gorgezilla 2011-07-15 14:50

help needed to remove samba
 
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:~#

misterc 2011-07-15 17:00

Re: help needed to remove samba
 
Quote:

Originally Posted by gorgezilla (Post 1051601)
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:~#

?

gorgezilla 2011-07-15 17:01

Re: help needed to remove samba
 
yes, i even googled it and nothing happend. thanks anyway.

misterc 2011-07-15 17:07

Re: help needed to remove samba
 
Code:

apt-get -f install
?

gorgezilla 2011-07-15 17:09

Re: help needed to remove samba
 
nope :((...still trying...

Keneraali 2011-07-15 17:13

Re: help needed to remove samba
 
Code:

dpkg -P samba
What about this?

gorgezilla 2011-07-15 17:17

Re: help needed to remove samba
 
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

Estel 2011-07-15 17:42

Re: help needed to remove samba
 
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.

misterc 2011-07-15 18:04

Re: help needed to remove samba
 
Code:

dpkg --configure samba
?

gorgezilla 2011-07-15 19:20

Re: help needed to remove samba
 
Quote:

Originally Posted by misterc (Post 1051730)
Code:

dpkg --configure samba
?

well, samba is out but now i am encountering the samba-common problem...can not be removed, purged...damn...:(


All times are GMT. The time now is 20:29.

vBulletin® Version 3.8.8