circular dependencies in erlang-base and erlang-base-hipe when installing?

Eric Liang eric.l.2046 at gmail.com
Sat Jun 5 06:48:44 UTC 2010


On 06/02/2010 02:07 PM, Eric Liang wrote:
> Hi all,
> As I failed to get the erlang-base-dbgsym package by apt-get( my os is
> ubuntu 9.10 ):
>
>     https://lists.ubuntu.com/archives/ubuntu-users/2010-May/219516.html
>
> I tried to build packages with debug symbols by myself as the wiki said:
>
>     https://wiki.ubuntu.com/DebuggingProgramCrash#Prior%20Ubuntu%20versions
>
> The operation I do is:
>
>     sunny at wheel:~/commands$ sudo ./install_debug_info erlang
>     sunny at wheel:~/commands$ cat install_debug_info
>     #!/bin/sh
>
>     PKG=$1
>     test -z $PKG && echo "you should specify the package" && exit 1
>
>     apt-get build-dep $PKG
>
>     test $? -ne 0 && echo "Invalid package name: $PKG, you can use
>     command: dpkg --search <program> to get the package" && exit 1
>
>     echo "Install debug info for package: $PKG"
>
>     mkdir -p $PKG.dbg
>
>     cd $PKG.dbg
>
>     export DEB_BUILD_OPTIONS="debug nostrip noopt"
>     fakeroot apt-get source -b $PKG
>
>     debi *.changes
>
>     cd -
>
> But it fails with an error at the last line:
>
>     debi: debpkg -i failed
>
> I rerun the last command by hand:
>
>     sunny at wheel:~/commands/erlang.dbg$ sudo debi
>     erlang_13.b.1-dfsg-2ubuntu1.1_amd64.changes > debi.out
>     [sudo] password for sunny:
>     dpkg: considering removing erlang-base-hipe in favour of
>     erlang-base ...
>     dpkg: yes, will remove erlang-base-hipe in favour of erlang-base.
>     dpkg: considering removing erlang-base in favour of
>     erlang-base-hipe ...
>     erlang-base is not properly installed - ignoring any dependencies
>     on it.
>     dpkg: yes, will remove erlang-base in favour of erlang-base-hipe.
>     dpkg: dependency problems prevent configuration of erlang-src:
>      erlang-src depends on erlang-base (>= 1:13.b.1-dfsg-2ubuntu1.1) |
>     erlang-base-hipe (>= 1:13.b.1-dfsg-2ubuntu1.1); however:
>       Package erlang-base is not installed.
>       Package erlang-base-hipe is not installed.
>      erlang-src depends on erlang-base (<< 1:13.b.1-dfsg-2ubuntu1.1.0)
>     | erlang-base-hipe (<< 1:13.b.1-dfsg-2ubuntu1.1.0); however:
>       Package erlang-base is not installed.
>       Package erlang-base-hipe is not installed.
>     dpkg: error processing erlang-src (--install):
>      dependency problems - leaving unconfigured
>
> And maybe you'll notice that the erlang-base and erlang-base-hipe
> removed the other, which leads to both are removed and then those
> packages depend on them can not be installed.
>
> Would anyone can help me fix this? or any other advices?
>
> Thanks,
> Eric
This error can be fixed by using --upgrade argument in the last commad:

    debi --upgrade *.changes

Just in case someone encountered the same problem.

Cheers,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100605/f783b1d7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100605/f783b1d7/attachment.pgp>


More information about the ubuntu-users mailing list