[livesupport-dev] Installing LiveSupport under Ubuntu: Changing the livesupport-libs .deb control fi
  • Hi all,

    As you may know, I've been trying to get LiveSupport to install under
    Ubuntu Breezy, but have come up with some frustrating errors when I try to
    install from the Debian packages related to dependencies.

    The problem is that Ubuntu, for whatever reason, used a different version
    of libboost-date-time that included a different version number in its file
    name.

    At some point in the relatively near future, we should have a
    reorganization of the LiveSupport Debian packages, and possibly even
    Ubuntu-specific packages. In the meantime, you can try this method. It
    looks kind of scary, but isn't.

    What you have to do is edit the livesupport-libs Debian package's control
    file, changing the dependency requirement from libboost-date-time1.32.0 to
    libboost-date-time1.33.0. You can do so this way in your livesupport .deb
    downloads directory:

    mv livesupport-libs_1.0.2-1_i386.deb
    livesupport-libs_1.0.2-1_i386.deb.orig
    mkdir ls.tmp
    dpkg-deb --extract livesupport-libs_1.0.2-1_i386.deb.orig ls.tmp
    dpkg-deb --control livesupport-libs_1.0.2-1_i386.deb.orig ls.tmp/DEBIAN
    # Now use your favorite editor to edit the Depends line as above:
    gedit ls.tmp/DEBIAN/control
    dpkg --build ls.tmp
    mv ls.tmp.deb livesupport-libs_1.0.2-1_i386.deb

    Luckily, inside the control file, the dependency for libboost-date-time is
    the last one, so it's pretty easy to spot. Change the required version to
    the one Ubuntu Breezy ships with (libboost-date-time1.33.0), and you
    should be able to install livesupport-libs OK after that.

    Please feel free to correct anything you find wrong along the way with
    this; if it checks out I'll add it to the install documentation.


    doug





    =============================================
    Media Development Loan Fund
    =============================================
    Douglas Arellanes
    Head of Research and Development
    Center for Advanced Media--Prague (CAMP)
    Na vinicnich horach 24a/1834, 160 00 Prague 6
    Czech Republic
    Tel: + 420 2 3333 5356, Fax: +420 2 2431 5419
    Mobile: +420 724 073 364
    http://www.mdlf-camp.net
    http://www.campware.org
    =============================================
    http://www.mdlf.org
    =============================================