[livesupport-dev] Installing 1.0.1 packages on Ubuntu: Strange errors
  • Hi all,

    I'm trying to get LiveSupport up and running on my Ubuntu box, but am
    running into some pretty strange errors.

    When I try to install the livesupport-libs package, I get this error:

    dpkg: dependency problems prevent configuration of livesupport-libs:
    livesupport-libs depends on libboost-date-time1.32.0 (>= 1.31); however:
    Package libboost-date-time1.32.0 is not installed.
    dpkg: error processing livesupport-libs (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    livesupport-libs

    So I added a Debian sid repository, and installed
    libboost-date-time1.33.0, and when I went to check to make sure it is
    installed, it looks good:

    root@douglas:/home/douglas/My Downloads/livesupport/1.0.1# dpkg -l | grep
    libboost-date-time
    ii libboost-date-time-dev 1.33.0-3 set of date-time
    libraries based on generic
    ii libboost-date-time1.33.0 1.33.0-3 set of date-time
    libraries based on generic

    So when I try to install livesupport-libs, it should go well, right? Nope:

    root@douglas:/home/douglas/My Downloads/livesupport/1.0.1# dpkg -i
    livesupport-libs_1.0.1-1_i386.deb
    Selecting previously deselected package livesupport-libs.
    (Reading database ... 66646 files and directories currently installed.)
    Unpacking livesupport-libs (from livesupport-libs_1.0.1-1_i386.deb) ...
    dpkg: dependency problems prevent configuration of livesupport-libs:
    livesupport-libs depends on libboost-date-time1.32.0 (>= 1.31); however:
    Package libboost-date-time1.32.0 is not installed.
    dpkg: error processing livesupport-libs (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    livesupport-libs
    ?


    In addition, I tried to generate new Ubuntu packages based on the info in
    the release documentation, and aside from the fact that the text needs to
    be updated to reflect the switch to Subversion, I ran into a separate set
    of difficulties.

    I tried to set the version to 1.0.2ubuntu1, and changed the version in
    /bin/dist.sh and in /bin/createDebianPackages.sh, as well as changing the
    changelog to add a 1.0.2ubuntu1 version. But for some reason it still drew
    a 1.0.1 version from somewhere, which led to the following error:

    root@douglas:/home/douglas/ls/livesupport/livesupport-1.0.2ubuntu1#
    ./bin/createDebianPackages.sh -d .. -v 1.0.2ubuntu1 -m "Akos Maroy
    " -o ..
    Creating Debian source packages for LiveSupport.

    Using the following parameters:

    tarball directory: /home/douglas/ls/livesupport
    maintainer: Akos Maroy
    package version: 1.0.2ubuntu1
    output directory: /home/douglas/ls/livesupport

    Checking for tools used by this script...
    Executable tar found...
    Executable dpkg-source found...
    Executable sed found...
    Extracting source tarballs...
    Debianizing sources...
    Creating debian source package...
    dpkg-source: warning: source directory `./livesupport-1.0.2ubuntu1' is not
    - `livesupport-1.0.1'
    dpkg-source: warning: .orig directory name livesupport-1.0.2ubuntu1.orig
    is not - (wanted livesupport-1.0.1.orig)
    dpkg-source: building livesupport in livesupport_1.0.1.orig.tar.gz
    dpkg-source: building livesupport in livesupport_1.0.1-1.diff.gz
    dpkg-source: building livesupport in livesupport_1.0.1-1.dsc
    Moving debian source package files to target directory...
    mv: cannot stat `livesupport_1.0.2ubuntu1*': No such file or directory
    Cleaning up...
    Done.


    Hmmmmmm. Any thoughts?


    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
    =============================================
  • 3 Comments sorted by
  • Douglas.Arellanes@mdlf.org wrote:
    > In addition, I tried to generate new Ubuntu packages based on the info
    > in the release documentation, and aside from the fact that the text
    > needs to be updated to reflect the switch to Subversion, I ran into a
    > separate set of difficulties.
    >
    > I tried to set the version to 1.0.2ubuntu1, and changed the version in
    > /bin/dist.sh and in /bin/createDebianPackages.sh, as well as changing
    > the changelog to add a 1.0.2ubuntu1 version. But for some reason it
    > still drew a 1.0.1 version from somewhere, which led to the following
    > error:

    If I remember correctly, you don't need to change anything in the
    dist.sh and createDebianPackages.sh scripts; you just call them with the
    -v 1.0.2
    command line option. Do not include the package number here.

    The package version is 1.0.2-0ubuntu1, and this goes into the changelog
    file (and nowhere else). Your package version was missing the "-0".

    Ferenc
  • Thanks, Ferenc. I did miss the -0.

    But why would it be thinking it's 1.0.1? That value isn't set anywhere,
    unless it goes down the changelog until it finds the nearest available
    version number?

    doug






    Ferenc Gerlits
    11/09/2005 04:57 PM
    Please respond to livesupport-dev


    To: livesupport-dev@campware.org
    cc:
    Subject: Re: [livesupport-dev] Installing 1.0.1 packages on Ubuntu: Strange errors


    Douglas.Arellanes@mdlf.org wrote:
    > In addition, I tried to generate new Ubuntu packages based on the info
    > in the release documentation, and aside from the fact that the text
    > needs to be updated to reflect the switch to Subversion, I ran into a
    > separate set of difficulties.
    >
    > I tried to set the version to 1.0.2ubuntu1, and changed the version in
    > /bin/dist.sh and in /bin/createDebianPackages.sh, as well as changing
    > the changelog to add a 1.0.2ubuntu1 version. But for some reason it
    > still drew a 1.0.1 version from somewhere, which led to the following
    > error:

    If I remember correctly, you don't need to change anything in the
    dist.sh and createDebianPackages.sh scripts; you just call them with the
    -v 1.0.2
    command line option. Do not include the package number here.

    The package version is 1.0.2-0ubuntu1, and this goes into the changelog
    file (and nowhere else). Your package version was missing the "-0".

    Ferenc
  • Douglas.Arellanes@mdlf.org wrote:
    > But why would it be thinking it's 1.0.1? That value isn't set anywhere,
    > unless it goes down the changelog until it finds the nearest available
    > version number?

    Yes, probably it could not parse the first entry in the changelog, so it
    looked at the second one. I don't really know, but it sounds plausible.

    Ferenc