Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #227812 > unrolled thread

Cannot install elixir from buster-backports

Started byBaptiste Beauplat <lyknode@cilg.org>
First post2020-10-15 11:10 +0200
Last post2020-10-16 21:40 +0200
Articles 7 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Cannot install elixir from buster-backports Baptiste Beauplat <lyknode@cilg.org> - 2020-10-15 11:10 +0200
    Re: Cannot install elixir from buster-backports Andrei POPESCU <andreimpopescu@gmail.com> - 2020-10-15 12:00 +0200
    Re: Cannot install elixir from buster-backports David Christensen <dpchrist@holgerdanske.com> - 2020-10-16 03:10 +0200
      Re: Cannot install elixir from buster-backports Brett Gilio <brettg@gnu.org> - 2020-10-16 05:00 +0200
        Re: Cannot install elixir from buster-backports Baptiste Beauplat <lyknode@cilg.org> - 2020-10-16 09:10 +0200
        Re: Cannot install elixir from buster-backports Andrei POPESCU <andreimpopescu@gmail.com> - 2020-10-16 14:30 +0200
          Re: Cannot install elixir from buster-backports Brett Gilio <brettg@gnu.org> - 2020-10-16 21:40 +0200

#227812 — Cannot install elixir from buster-backports

FromBaptiste Beauplat <lyknode@cilg.org>
Date2020-10-15 11:10 +0200
SubjectCannot install elixir from buster-backports
Message-ID<B07qN-6Qc-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi,

(Please CC me, I'm not subscribed to the list)

I cannot figure out why I can't install elixir from backports:

    $ sudo debootstrap buster buster
    $ sudo chroot buster /bin/bash
    # echo "deb http://deb.debian.org/debian buster-backports main" >>
/etc/apt/sources.list
    # apt update
    # apt install erlang-base
    # dpkg -l erlang-base
    ii  erlang-base    1:21.2.6+dfsg-1 amd64        Erlang/OTP virtual
machine and base applic
    # apt install -t buster-backports elixir
    The following packages have unmet dependencies:
     elixir : Depends: erlang-base:any (>= 1:20) but it is not
installable or
                       erlang-base-hipe:any (>= 1:20) but it is not
installable
    E: Unable to correct problems, you have held broken packages.

(I've cropped all expected text)

I have erlang-base:amd64 (1:21.2.6+dfsg-1) installed but elixir won't
install because it depends on erlang-base:any (>= 1:20)? Why is it not
working?

-- 
Baptiste Beauplat - lyknode

[toc] | [next] | [standalone]


#227813

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-10-15 12:00 +0200
Message-ID<B08dc-763-5@gated-at.bofh.it>
In reply to#227812

[Multipart message — attachments visible in raw view] — view raw

On Jo, 15 oct 20, 10:52:16, Baptiste Beauplat wrote:
> 
> I have erlang-base:amd64 (1:21.2.6+dfsg-1) installed but elixir won't
> install because it depends on erlang-base:any (>= 1:20)? Why is it not
> working?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939324

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#227839

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2020-10-16 03:10 +0200
Message-ID<B0mpQ-7nf-9@gated-at.bofh.it>
In reply to#227812
On 2020-10-15 01:52, Baptiste Beauplat wrote:
> Hi,
> 
> (Please CC me, I'm not subscribed to the list)
> 
> I cannot figure out why I can't install elixir from backports:
> 
>      $ sudo debootstrap buster buster
>      $ sudo chroot buster /bin/bash
>      # echo "deb http://deb.debian.org/debian buster-backports main" >>
> /etc/apt/sources.list
>      # apt update
>      # apt install erlang-base
>      # dpkg -l erlang-base
>      ii  erlang-base    1:21.2.6+dfsg-1 amd64        Erlang/OTP virtual
> machine and base applic
>      # apt install -t buster-backports elixir
>      The following packages have unmet dependencies:
>       elixir : Depends: erlang-base:any (>= 1:20) but it is not
> installable or
>                         erlang-base-hipe:any (>= 1:20) but it is not
> installable
>      E: Unable to correct problems, you have held broken packages.
> 
> (I've cropped all expected text)
> 
> I have erlang-base:amd64 (1:21.2.6+dfsg-1) installed but elixir won't
> install because it depends on erlang-base:any (>= 1:20)? Why is it not
> working?


I would follow the instructions on the Elixir site:

     https://elixir-lang.org/install.html


David

[toc] | [prev] | [next] | [standalone]


#227841

FromBrett Gilio <brettg@gnu.org>
Date2020-10-16 05:00 +0200
Message-ID<B0o8j-8he-13@gated-at.bofh.it>
In reply to#227839
David Christensen <dpchrist@holgerdanske.com> writes:

> On 2020-10-15 01:52, Baptiste Beauplat wrote:
>> Hi,
>> (Please CC me, I'm not subscribed to the list)
>> I cannot figure out why I can't install elixir from backports:
>>      $ sudo debootstrap buster buster
>>      $ sudo chroot buster /bin/bash
>>      # echo "deb http://deb.debian.org/debian buster-backports main" >>
>> /etc/apt/sources.list
>>      # apt update
>>      # apt install erlang-base
>>      # dpkg -l erlang-base
>>      ii  erlang-base    1:21.2.6+dfsg-1 amd64        Erlang/OTP virtual
>> machine and base applic
>>      # apt install -t buster-backports elixir
>>      The following packages have unmet dependencies:
>>       elixir : Depends: erlang-base:any (>= 1:20) but it is not
>> installable or
>>                         erlang-base-hipe:any (>= 1:20) but it is not
>> installable
>>      E: Unable to correct problems, you have held broken packages.
>> (I've cropped all expected text)
>> I have erlang-base:amd64 (1:21.2.6+dfsg-1) installed but elixir won't
>> install because it depends on erlang-base:any (>= 1:20)? Why is it not
>> working?

FWIW, I think this is an issue of backports needing a new build.
https://salsa.debian.org/eugulixes-guest/elixir-lang/-/blob/cf069ab098dd36f11d9ee49f818e6ecbab4f7114/debian/control
shows the same conditions, but I would guess that bumping erlang to 21
and rebuilding elixir would fix the issue. You might file this as a bug
report.

Best

-- 
Brett M. Gilio
brettg@gnu.org
https://brettgilio.com/
E82A C026 95D6 FF02 43CA 1E5C F6C5 2DD1 BA27 CB87

[toc] | [prev] | [next] | [standalone]


#227845

FromBaptiste Beauplat <lyknode@cilg.org>
Date2020-10-16 09:10 +0200
Message-ID<B0s2e-2pK-3@gated-at.bofh.it>
In reply to#227841

[Multipart message — attachments visible in raw view] — view raw

Hi Brett, David,

On 10/16/20 4:53 AM, Brett Gilio wrote:
> David Christensen <dpchrist@holgerdanske.com> writes:
> 
>> On 2020-10-15 01:52, Baptiste Beauplat wrote:
>>> (Please CC me, I'm not subscribed to the list)
>>>
>>>       elixir : Depends: erlang-base:any (>= 1:20) but it is not
>>> installable or
>>>                         erlang-base-hipe:any (>= 1:20) but it is not
>>> installable
>>>      E: Unable to correct problems, you have held broken packages.
>>> (I've cropped all expected text)
>>> I have erlang-base:amd64 (1:21.2.6+dfsg-1) installed but elixir won't
>>> install because it depends on erlang-base:any (>= 1:20)? Why is it not
>>> working?
> 
> FWIW, I think this is an issue of backports needing a new build.
> https://salsa.debian.org/eugulixes-guest/elixir-lang/-/blob/cf069ab098dd36f11d9ee49f818e6ecbab4f7114/debian/control
> shows the same conditions, but I would guess that bumping erlang to 21
> and rebuilding elixir would fix the issue. You might file this as a bug
> report.

I ended-up checking the list anyway and Andrei had the right pointer.

The package is uninstallable and this appear to be a know issue:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939324

I created a patch for that and hopefully, this will be fixed in a couple
of days.

Thanks everyone for the pointers!
-- 
Baptiste Beauplat - lyknode

[toc] | [prev] | [next] | [standalone]


#227863

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-10-16 14:30 +0200
Message-ID<B0x1T-5iH-15@gated-at.bofh.it>
In reply to#227841

[Multipart message — attachments visible in raw view] — view raw

On Jo, 15 oct 20, 21:53:30, Brett Gilio wrote:
> 
> FWIW, I think this is an issue of backports needing a new build.
> https://salsa.debian.org/eugulixes-guest/elixir-lang/-/blob/cf069ab098dd36f11d9ee49f818e6ecbab4f7114/debian/control
> shows the same conditions, but I would guess that bumping erlang to 21
> and rebuilding elixir would fix the issue. You might file this as a bug
> report.

Bumping versions in stable is a no-go for Debian (Stable Release 
Managers), with very few exceptions for very specific packages that have 
few or no reverse dependencies (Firefox ESR and Chrome being notable 
examples).

    $ apt-cache rdepends erlang-base | wc -l
    283

See also:
https://www.debian.org/security/faq#oldversion
https://www.debian.org/releases/buster/amd64/release-notes/ch-information.en.html#browser-security

In general it is possible to upload a newer version of a dependency to 
backports as well.

For this particular case it appears the issue is with how the backport 
was made, so fixing it by bumping the version of its dependency is 
probably a bad idea.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#227884

FromBrett Gilio <brettg@gnu.org>
Date2020-10-16 21:40 +0200
Message-ID<B0DK1-R5-3@gated-at.bofh.it>
In reply to#227863
Andrei POPESCU <andreimpopescu@gmail.com> writes:

>
> Bumping versions in stable is a no-go for Debian (Stable Release 
> Managers), with very few exceptions for very specific packages that have 
> few or no reverse dependencies (Firefox ESR and Chrome being notable 
> examples).
>

I meant in backports. But I understand.

-- 
Brett M. Gilio
brettg@gnu.org
https://brettgilio.com/
E82A C026 95D6 FF02 43CA 1E5C F6C5 2DD1 BA27 CB87

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web