samba problem when installing

Bug #9192 reported by richard
6
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

after trying to update samba package, old package is now broken and new package
is not installed.

I have an error code 102 when he dpkg tries to execute the pre-removal script
for the new samba version and the new version script also doesn't work.

Revision history for this message
Matt Zimmerman (mdz) wrote :

There is not enough information in your report to discern the cause of the
problem. Please send a complete transcript of the failed upgrade.

Revision history for this message
richard (raraujo) wrote :

more info:

I'm using kernell 2.6.8.1-3-686 version 2.6.8.1-16

I have an laptop acer TravelMate 661LMi
Intel Centrino 1.4GHz

I can also tell you that I have installed VMware Workstation 4.5.2 build-8848
for Linux

Here are the errors that I have in the synaptic terminal:

Préparation du remplacement de samba 3.0.7-1ubuntu5 (en utilisant
.../samba_3.0.7-1ubuntu6_i386.deb) ...
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg : avertissement - ancien script pre-removal a retourné un code d'erreur de
sortie 102
dpkg - tentative d'éxecution du script du nouveau packet à la place...
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg : erreur de traitement de
/var/cache/apt/archives/samba_3.0.7-1ubuntu6_i386.deb (--unpack) :
le processus nouveau script pre-removal a retourné une erreur de sortie d'état 102

My actual samba package is broken and I cannot remove it or repair it or upgrade it.

Hope this is ok for you, I don't know much about linux and ubuntu, I am a new
user since about 2 weeks.

Please let me know if you need some more info.

Many thanks for your best support.

Best regards,

Richard

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug has been marked as a duplicate of bug 9208.

Revision history for this message
Ivo (ivodaniel-alves) wrote :

Hi,

I've got this problem as well until 5 minutes ago!

Please check this:

ls -l /etc/rcs.d/k09samba

if the output is: lrwxrwxrwx 1 root root 6 2007-04-03 16:16 /etc/rc2.d/K09samba -> /samba

remove K09samba because this link can not "point" to samba (crazy sh#"$%t) :

rm /etc/rc2.d/k09samba

and it's done, now you can upgrade, remove samba ... etc etc!

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.