freeman
02-13-2007, 05:25 AM
My N800 have a stuck package after doing a normal update. My samba is now not working and it stuck. It cannot be remove or reinstall. Any suggestion.
upon running 'apt-get remove samba' I got
Nokia-N800-51:/var# apt-get remove samba
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
samba
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 6873kB disk space will be freed.
Do you want to continue [Y/n]?
dpkg: error processing samba (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
While running 'apt-get install samba' I have
Nokia-N800-51:/var# apt-get install samba
Reading package lists... Done
Building dependency tree... Done
samba is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/2919kB of archives.
After unpacking 0B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
samba
Install these packages without verification [y/N]? y
Selecting previously deselected package samba.
(Reading database ... 16153 files and directories currently installed.)
Preparing to replace samba 3.0.22-3 (using .../samba_3.0.22-3_armel.deb) ...
Unpacking replacement samba ...
/var/lib/dpkg/info/samba.postrm: /var/lib/dpkg/info/samba.postrm: 24: update-inetd: not found
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: /var/lib/dpkg/tmp.ci/postrm: 24: update-inetd: not found
dpkg: error processing /var/cache/apt/archives/samba_3.0.22-3_armel.deb (--unpack):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: /var/lib/dpkg/tmp.ci/postrm: 24: update-inetd: not found
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/samba_3.0.22-3_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any tips?
upon running 'apt-get remove samba' I got
Nokia-N800-51:/var# apt-get remove samba
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
samba
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 6873kB disk space will be freed.
Do you want to continue [Y/n]?
dpkg: error processing samba (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
While running 'apt-get install samba' I have
Nokia-N800-51:/var# apt-get install samba
Reading package lists... Done
Building dependency tree... Done
samba is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/2919kB of archives.
After unpacking 0B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
samba
Install these packages without verification [y/N]? y
Selecting previously deselected package samba.
(Reading database ... 16153 files and directories currently installed.)
Preparing to replace samba 3.0.22-3 (using .../samba_3.0.22-3_armel.deb) ...
Unpacking replacement samba ...
/var/lib/dpkg/info/samba.postrm: /var/lib/dpkg/info/samba.postrm: 24: update-inetd: not found
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: /var/lib/dpkg/tmp.ci/postrm: 24: update-inetd: not found
dpkg: error processing /var/cache/apt/archives/samba_3.0.22-3_armel.deb (--unpack):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: /var/lib/dpkg/tmp.ci/postrm: 24: update-inetd: not found
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/samba_3.0.22-3_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any tips?