package samba 2:3.5.4~dfsg-1ubuntu6 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
Binary package hint: samba
samba failed to install from upgrade to 10.10 and hung with install manually from terminal
jblack24@Mobile:~$ sudo su
root@Mobile:
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 0 not upgraded.
1 not fully installed or removed.
After this operation, 21.1MB disk space will be freed.
Do you want to continue [Y/n]? y
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)
root@Mobile:
Reading package lists... Done
Building dependency tree
Reading state information... Done
samba is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/7,450kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 151618 files and directories currently installed.)
Preparing to replace samba 2:3.5.4~
nmbd stop/waiting
stop: Unknown instance:
Unpacking replacement samba ...
Processing triggers for man-db ...
Processing triggers for ufw ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up samba (2:3.5.
update-
ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: samba 2:3.5.4~
ProcVersionSign
Uname: Linux 2.6.35-21-generic i686
NonfreeKernelMo
AptOrdering: samba: Remove
Architecture: i386
Date: Thu Sep 16 11:29:50 2010
ErrorMessage: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
RelatedPackageV
nautilus 1:2.31.92-0ubuntu1
gvfs 1.6.3-0ubuntu2
SambaClientRegr
SourcePackage: samba
Title: package samba 2:3.5.4~
did you try 'apt-get install --reinstall samba' ?
Does that fix your problem?