paul@paul-desktop:~$ sudo apt-get purge samba-common-bin
[sudo] password for paul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nautilus-share* samba-common-bin*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 13.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 222330 files and directories currently installed.)
Removing nautilus-share ...
Removing samba-common-bin ...
Processing triggers for man-db ...
paul@paul-desktop:~$ sudo aptitude download samba-common-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Get:1 http://archive.ubuntu.com karmic-updates/main samba-common-bin 2:3.4.0-3ubuntu5.6 [4,789kB]
Fetched 4,789kB in 20s (234kB/s)
paul@paul-desktop:~$ sudo dpkg -i samba-common-bin_2%3a3.4.0-3ubuntu5.6_i386.deb
Selecting previously deselected package samba-common-bin.
(Reading database ... 222302 files and directories currently installed.)
Unpacking samba-common-bin (from samba-common-bin_2%3a3.4.0-3ubuntu5.6_i386.deb) ...
Setting up samba-common-bin (2:3.4.0-3ubuntu5.6) ...
update-alternatives: error: /var/lib/dpkg/alternatives/nmblookup corrupt: invalid status
dpkg: error processing samba-common-bin (--install):
subprocess installed post-installation script returned error exit status 2
Processing triggers for man-db ...
Errors were encountered while processing:
samba-common-bin
paul@paul- desktop: ~$ sudo apt-get purge samba-common-bin desktop: ~$ sudo aptitude download samba-common-bin archive. ubuntu. com karmic-updates/main samba-common-bin 2:3.4.0-3ubuntu5.6 [4,789kB] desktop: ~$ sudo dpkg -i samba-common- bin_2%3a3. 4.0-3ubuntu5. 6_i386. deb bin_2%3a3. 4.0-3ubuntu5. 6_i386. deb) ... 0-3ubuntu5. 6) ... alternatives: error: /var/lib/ dpkg/alternativ es/nmblookup corrupt: invalid status
[sudo] password for paul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nautilus-share* samba-common-bin*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 13.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 222330 files and directories currently installed.)
Removing nautilus-share ...
Removing samba-common-bin ...
Processing triggers for man-db ...
paul@paul-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Get:1 http://
Fetched 4,789kB in 20s (234kB/s)
paul@paul-
Selecting previously deselected package samba-common-bin.
(Reading database ... 222302 files and directories currently installed.)
Unpacking samba-common-bin (from samba-common-
Setting up samba-common-bin (2:3.4.
update-
dpkg: error processing samba-common-bin (--install):
subprocess installed post-installation script returned error exit status 2
Processing triggers for man-db ...
Errors were encountered while processing:
samba-common-bin