Confirmed the above, and fix. I just hit this bug in the process of upgrading a (relatively newly installed ~3 weeks) 5.10 ubuntu install to 6.06 RC using the recommended upgrade process (gksudo "update-manager -d"). It seems the dangling sym link mentioned above was the problem:
matthew@sprite:~$ sudo apt-get install
Password:
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking, 0B of additional disk space will be used.
Setting up samba (3.0.22-1ubuntu3) ...
update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba
update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--configure):
subprocess post-installation script returned error exit status 102
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
matthew@sprite:~$ sudo apt-get install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking, 0B of additional disk space will be used.
Setting up samba (3.0.22-1ubuntu3) ...
* Starting Samba daemons...
...the error initially caused the dapper upgrade process to (seemingly) abort with two dialogue boxes:
subprocess post-installation script returned error exit status 102
installArchives() failed
...however it did then prompt me to reboot.
I had installed samba (through the 'connect to server' wizard) but hadn't done anything more with it than that since installing 5.10. I found myself reverting back to 'reboot and hope for the best' for the first time since using ubuntu :( This was the only error for me in an otherwise smooth upgrade process - hope that helps.
Confirmed the above, and fix. I just hit this bug in the process of upgrading a (relatively newly installed ~3 weeks) 5.10 ubuntu install to 6.06 RC using the recommended upgrade process (gksudo "update-manager -d"). It seems the dangling sym link mentioned above was the problem:
matthew@sprite:~$ sudo apt-get install
Password:
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking, 0B of additional disk space will be used.
Setting up samba (3.0.22-1ubuntu3) ...
update-rc.d: warning: /etc/rc2.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba
update-rc.d: warning: /etc/rc3.d/K09samba is not a link to ../init.d/samba or /etc/init.d/samba
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--configure):
subprocess post-installation script returned error exit status 102
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
matthew@sprite:~$ ls -l /etc/rc2.d/K09samba /etc/rc3.d/K09samba
lrwxrwxrwx 1 root root 6 2006-05-15 02:28 /etc/rc2.d/K09samba -> /samba
lrwxrwxrwx 1 root root 6 2006-05-15 02:28 /etc/rc3.d/K09samba -> /samba
matthew@sprite:~$ sudo rm /etc/rc2.d/K09samba /etc/rc3.d/K09samba
matthew@sprite:~$ sudo apt-get install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking, 0B of additional disk space will be used.
Setting up samba (3.0.22-1ubuntu3) ...
* Starting Samba daemons...
...the error initially caused the dapper upgrade process to (seemingly) abort with two dialogue boxes:
subprocess post-installation script returned error exit status 102
installArchives() failed
...however it did then prompt me to reboot.
I had installed samba (through the 'connect to server' wizard) but hadn't done anything more with it than that since installing 5.10. I found myself reverting back to 'reboot and hope for the best' for the first time since using ubuntu :( This was the only error for me in an otherwise smooth upgrade process - hope that helps.