Error Upgrading opendchub in Gutsy

Bug #135308 reported by W. Scott Lockwood III
2
Affects Status Importance Assigned to Milestone
opendchub (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: opendchub

After dist-upgrade, trying to apt-get update && apt-get install results in:

Errors were encountered while processing:
 /var/cache/apt/archives/opendchub_0.7.15-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Trying to reproduce locally via dpkg results in:

Preparing to replace opendchub 0.7.14-2ubuntu1
(using .../opendchub_0.7.15-1_i386.deb) ...
Stopping Open DC Hub: opendchubTerminated
invoke-rc.d: initscript opendchub, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 143
dpkg - trying script from the new package instead ...
dpkg: error
processing /var/cache/apt/archives/opendchub_0.7.15-1_i386.deb
(--unpack):
 there is no script in the new version of the package - giving up

Revision history for this message
W. Scott Lockwood III (wsl3) wrote :

package opendchub 0.7.14-2ubuntu1 failed to install/upgrade: there is no script in the new version of the package - giving up

Revision history for this message
John Kozyrakis (ikoz) wrote :

This a workaround that lets the package to be removed/purged

[grabbed from ubuntuforums]

This was posted by a gentlemen named Intelikey in #kubuntu on irc.freenode.org

# stops kubuntu from loading the service
sudo mv /sbin/start-stop-daemon /root

# convinces kubuntu the load succeeded so the process doesn't error out
sudo ln -s /bin/true /sbin/start-stop-daemon

### now uninstall your package then continue with ###

# remove the symbolic link
sudo rm /sbin/start-stop-daemon

# restore the start/stop daemon to its original location
sudo mv /root/start-stop-daemon /sbin/

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.