I already submitted a patch for upstream source code to resolve this
problem, so this bug can be closed. Until the patched binary makes its
way into the mirrors, this is the correct workaround for this problem:

#!/bin/bash
# Install dlm depends.
apt-get -y install daemon
cd /usr/src
# Install source code build depends.
apt-get -y install debhelper devscripts
apt-get -y source dlm
apt-get -y build-dep dlm
cd dlm-*
# Patch for broken init reference.
sed -i "s|/etc/rc.d/init.d/functions|/lib/lsb/init-functions|" init/dlm.init
debuild -b
cd ..
# Prerequisite Depends for DLM.
dpkg -i libdlm*.deb 
dpkg -i dlm_*.deb
rm -rf {libdlm*,dlm*}

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dlm in Ubuntu.
https://bugs.launchpad.net/bugs/1248054

Title:
  dlm package installation fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dlm/+bug/1248054/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to