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.

Bug #640634 reported by JoeBlack
6
This bug affects 1 person
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:/home/jblack24# apt-get remove 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 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:/home/jblack24# apt-get install samba
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~dfsg-1ubuntu6 (using .../samba_2%3a3.5.4~dfsg-1ubuntu6_i386.deb) ...
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.4~dfsg-1ubuntu6) ...
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.

ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: samba 2:3.5.4~dfsg-1ubuntu6
ProcVersionSignature: Ubuntu 2.6.35-21.31-generic 2.6.35.4
Uname: Linux 2.6.35-21-generic i686
NonfreeKernelModules: wl
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)
RelatedPackageVersions:
 nautilus 1:2.31.92-0ubuntu1
 gvfs 1.6.3-0ubuntu2
SambaClientRegression: Yes
SourcePackage: samba
Title: 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.

Revision history for this message
JoeBlack (jblack44) wrote :
Revision history for this message
Scott Moser (smoser) wrote :

did you try 'apt-get install --reinstall samba' ?
Does that fix your problem?

Changed in samba (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
JoeBlack (jblack44) wrote : RE: [Bug 640634] Re: 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.
Download full text (4.5 KiB)

Nope...stopped at the same place
jblack24@Mobile:~$ sudo su
[sudo] password for jblack24:
root@Mobile:/home/jblack24# apt-get install --reinstall samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/7,450kB of archives.
After this operation, 0B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 151618 files and directories currently installed.)
Preparing to replace samba 2:3.5.4~dfsg-1ubuntu6 (using .../samba_2%3a3.5.4~dfsg-1ubuntu6_i386.deb) ...
nmbd stop/waiting
smbd stop/waiting
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.4~dfsg-1ubuntu6) ...
update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.

JLB

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Scott Moser
Sent: Thursday, September 16, 2010 2:04 PM
To: <email address hidden>
Subject: [Bug 640634] Re: 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.

did you try 'apt-get install --reinstall samba' ?
Does that fix your problem?

** Changed in: samba (Ubuntu)
   Importance: Undecided => Medium

** Changed in: samba (Ubuntu)
       Status: New => Incomplete

--
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.
https://bugs.launchpad.net/bugs/640634
You received this bug notification because you are a direct subscriber of the bug.

Status in “samba” package in Ubuntu: Incomplete

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:/home/jblack24# apt-get remove 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 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:/home/jblack24# apt-get install samba 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.
...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.