**weep**

Dammit, another Linux issue… I’m about to just ditch this Linux partition and go back to Windows (which, while buggier, I at least know how to fix).

When I try to run Ubuntu’s Software Update program, I get this error:

<H2>Software index is broken</H2><p>It is impossible to install or remove any software. Please use the package manager “Synaptic” or run “sudo apt-get install -f” in a terminal to fix this issue at first."

When I try apt-get, I get this issue:

<FONT FACE=“terminal”>mrsaturn@mrsaturn-desktop:~$ sudo apt-get install -f
Reading package lists… Done
Building dependency tree… Done
Correcting dependencies… Done
The following extra packages will be installed:
samba
Recommended packages:
smbldap-tools
The following packages will be upgraded:
samba
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2845kB of archives.
After unpacking 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 … 123664 files and directories currently installed.)
Preparing to replace samba 3.0.22-1ubuntu3 (using …/samba_3.0.22-1ubuntu3.1_i386.deb) …
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: warning - old pre-removal script returned error exit status 102
dpkg - trying script from the new package instead …
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing /var/cache/apt/archives/samba_3.0.22-1ubuntu3.1_i386.deb (–unpack):
subprocess new pre-removal script returned error exit status 102
Errors were encountered while processing:
/var/cache/apt/archives/samba_3.0.22-1ubuntu3.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
</FONT>

When I try Synaptic, I get this message:

You have 1 broken package on your system!

Use the “Broken” filter to locate it.

I’ve tried to do “complete removal” on Samba through Synaptic, but it didn’t do anything. Any ideas?

You will probably have to manually delete the installation files. Do an updatedb, and locate samba, and delete what files you find.