samba prerm script fails on upgrade from dapper->edgy
Bug #68378 reported by
Colas Le Guernic
This bug report is a duplicate of:
Bug #9208: Samba upgrade failure due to broken rc.d symlinks.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
High
|
Fabio Massimo Di Nitto | ||
Edgy |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: update-manager
After upgrading from 6.06 to 6.10:
E: /var/cache/
Changed in samba: | |
importance: | Undecided → High |
status: | Unconfirmed → Confirmed |
To post a comment you must log in.
I tried the solution indicated in the similar bug #9208:
sudo rm /etc/rc2.d/S91samba
sudo rm /etc/rc3.d/S91samba
It seems to solve the problem, but I still have an error with irda-utils while reinstalling samba (and samba only)
Preconfiguring packages ... 3.0.22- 1ubuntu4_ i386.deb) ... rc.d: initscript irda-utils, action "start" failed.
(Reading database ... 180697 files and directories currently installed.)
Preparing to replace samba 3.0.22-1ubuntu4 (using .../samba_
* Stopping Samba daemons... [ ok ]
Unpacking replacement samba ...
Setting up irda-utils (0.9.16-11ubuntu4) ...
udev active, devices will be created in /dev/.static/dev/
udev active, devices will be created in /dev/.static/dev/
Starting IrDA service: irattachinvoke-
dpkg: error processing irda-utils (--configure):
subprocess post-installation script returned error exit status 1
Setting up samba (3.0.22-1ubuntu4) ...
* Starting Samba daemons... [ ok ]
It's quite surprising... I removed irda-utils, reinstalled samba, reinstalled irda-utils and everything works now.