I may found something else.
In the official APKINDEX(both 3.10 and 3.9), gdbm has no dependency relatet to readline:
C:Q1n33FLkqSmn0C26HsC3OBsvPAIp8=
P:gdbm
V:1.13-r1
A:x86_64
S:75976
I:225280
T:GNU dbm is a set of database routines that use extensible hashing
U:https://www.gnu.org/software/gdbm/
L:GPL
o:gdbm
m:Natanael Copa <ncopa@alpinelinux.org>
t:1556882076
c:730cdcef6901750f4029d4c3b8639ce02ee3ead1
D:so:libc.musl-x86_64.so.1
p:so:libgdbm.so.4=4.0.0 so:libgdbm_compat.so.4=4.0.0 cmd:gdbm_dump cmd:gdbm_load cmd:gdbmtool
But in my APKINDEX, with packages I build myself(without changing anything of course), I see:
C:Q17J8ZTg2EJ9Iz2GJd1avO3i/QtHs=
P:gdbm
V:1.13-r1
A:x86_64
S:79635
I:225280
T:GNU dbm is a set of database routines that use extensible hashing
U:https://www.gnu.org/software/gdbm/
L:GPL
o:gdbm
m:Natanael Copa <ncopa@alpinelinux.org>
t:1558890510
c:
D:so:libc.musl-x86_64.so.1 so:libreadline.so.7
p:so:libgdbm.so.4=4.0.0 so:libgdbm_compat.so.4=4.0.0 cmd:gdbm_dump cmd:gdbm_load cmd:gdbmtool
-----Original Message-----
From: Roi Greenberg
Sent: Sunday, June 30, 2019 15:12
To: 'Shiz'
Cc: alpine-devel@lists.alpinelinux.org
Subject: RE: [alpine-devel] Missing "readline" in dependencies make it impossible to update readline
Thanks for the quick answer.
I installed it manually since I did a test on clean alpine container that use private repository, and I add the new readline apks manually.
The behavior is identical when I use only local repository (that my actual case. I'm building the repository from scratch using container with pre-installed packages)
Also, just for case, I did a test using 2 repositories, the one that used to build the container (with all the "old" packages) and one that contains the new readline and the result is the same:
bash-4.4# apk list | grep readline
readline-dev-7.0.003-r1 x86_64 {readline} (GPL) [installed]
readline-dev-8.0.0-r0 x86_64 {readline} (GPL) [upgradable from: readline-dev-7.0.003-r1]
readline-dev-7.0.003-r1 x86_64 {readline} (GPL)
readline-7.0.003-r1 x86_64 {readline} (GPL) [installed]
readline-8.0.0-r0 x86_64 {readline} (GPL) [upgradable from: readline-7.0.003-r1]
readline-7.0.003-r1 x86_64 {readline} (GPL)
libhistory-7.0.003-r1 x86_64 {readline} (GPL) [installed]
libhistory-8.0.0-r0 x86_64 {readline} (GPL) [upgradable from: libhistory-7.0.003-r1]
libhistory-7.0.003-r1 x86_64 {readline} (GPL)
readline-doc-8.0.0-r0 x86_64 {readline} (GPL)
readline-doc-7.0.003-r1 x86_64 {readline} (GPL)
bash-4.4# apk add readline -l
ERROR: unsatisfiable constraints:
Huh? Error reporter did not find the broken constraints.
bash-4.4# apk add readline-dev -l
ERROR: unsatisfiable constraints:
readline-7.0.003-r1:
breaks: readline-dev-8.0.0-r0[readline=8.0.0-r0]
satisfies: world[readline] util-linux-2.33-r0[so:libreadline.so.7] bash-4.4.19-r1[so:libreadline.so.7] python3-3.6.8-r2[so:libreadline.so.7] sqlite-3.26.0-r3[so:libreadline.so.7]
gdbm-1.13-r1[so:libreadline.so.7] python2-2.7.16-r1[so:libreadline.so.7] ruby-libs-2.5.5-r0[so:libreadline.so.7] gawk-4.2.1-r0[so:libreadline.so.7]
libhistory-8.0.0-r0:
breaks: world[libhistory><Q13I4qCzYlFBiIA10PICdAkWQJWnw=]
satisfies: readline-dev-8.0.0-r0[libhistory=8.0.0-r0]
bash-4.4# apk add readline readline-dev libhistory -l
ERROR: unsatisfiable constraints:
readline-7.0.003-r1:
breaks: readline-dev-8.0.0-r0[readline=8.0.0-r0]
satisfies: world[readline] util-linux-2.33-r0[so:libreadline.so.7] bash-4.4.19-r1[so:libreadline.so.7] python3-3.6.8-r2[so:libreadline.so.7] sqlite-3.26.0-r3[so:libreadline.so.7]
gdbm-1.13-r1[so:libreadline.so.7] python2-2.7.16-r1[so:libreadline.so.7] ruby-libs-2.5.5-r0[so:libreadline.so.7] gawk-4.2.1-r0[so:libreadline.so.7]
bash-4.4#
-----Original Message-----
From: Shiz [mailto:hi@shiz.me]
Sent: Sunday, June 30, 2019 14:44
To: Roi Greenberg
Cc: alpine-devel@lists.alpinelinux.org
Subject: Re: [alpine-devel] Missing "readline" in dependencies make it impossible to update readline
Hi,
> I got the error:
>
> ERROR: unsatisfiable constraints:
> readline-7.0.003-r1:
> breaks: world[readline><Q1AoAhlay5a0dpmKIwfPNLe1CsUtk=]
It seems you installed some readline apk manually, which then
conflicts with the system deadline. If it provides the same
libraries as the system deadline, simply try installing it first
before anything else that depends on readline.
Alternatively, create a local repository with your custom .apk
and an index (see `abuild index`) and add it to /etc/apk/repositories,
so that `apk` can do a full proper dependency scan upon installation,
taking your own packages into account. This is the recommended
development flow.
> When I tried to investigate the dependencies area, I saw that
> many packages have libreadline.so in the APKINDEX dependencies,
> but nothing about it in their APKBUILD file.
>
>
> I think that may cause the issue.
This is fine. `abuild` does an automated dependency scan at the
end of the build process where it figures out these kind of
dependencies. That they are not listed explicitly is expected.
- Shiz
Email secured by Check Point
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
For my custom built packages, I usually get APKBUILD from respective
branch (master, 3.10, etc.) then bump pkgrel, keep the same pkgver in
APKBUILD, then rebuild the package. This will give my package higher
priority when # apk add readline.
On 6/30/19 1:52 PM, Roi Greenberg wrote:
> I may found something else.
>
> In the official APKINDEX(both 3.10 and 3.9), gdbm has no dependency relatet to readline:
>
> C:Q1n33FLkqSmn0C26HsC3OBsvPAIp8=
> P:gdbm
> V:1.13-r1
> A:x86_64
> S:75976
> I:225280
> T:GNU dbm is a set of database routines that use extensible hashing
> U:https://www.gnu.org/software/gdbm/
> L:GPL
> o:gdbm
> m:Natanael Copa <ncopa@alpinelinux.org>
> t:1556882076
> c:730cdcef6901750f4029d4c3b8639ce02ee3ead1
> D:so:libc.musl-x86_64.so.1
> p:so:libgdbm.so.4=4.0.0 so:libgdbm_compat.so.4=4.0.0 cmd:gdbm_dump cmd:gdbm_load cmd:gdbmtool
>
> But in my APKINDEX, with packages I build myself(without changing anything of course), I see:
>
> C:Q17J8ZTg2EJ9Iz2GJd1avO3i/QtHs=
> P:gdbm
> V:1.13-r1
> A:x86_64
> S:79635
> I:225280
> T:GNU dbm is a set of database routines that use extensible hashing
> U:https://www.gnu.org/software/gdbm/
> L:GPL
> o:gdbm
> m:Natanael Copa <ncopa@alpinelinux.org>
> t:1558890510
> c:
> D:so:libc.musl-x86_64.so.1 so:libreadline.so.7
> p:so:libgdbm.so.4=4.0.0 so:libgdbm_compat.so.4=4.0.0 cmd:gdbm_dump cmd:gdbm_load cmd:gdbmtool
>
>
> -----Original Message-----
> From: Roi Greenberg
> Sent: Sunday, June 30, 2019 15:12
> To: 'Shiz'
> Cc: alpine-devel@lists.alpinelinux.org
> Subject: RE: [alpine-devel] Missing "readline" in dependencies make it impossible to update readline
>
> Thanks for the quick answer.
>
> I installed it manually since I did a test on clean alpine container that use private repository, and I add the new readline apks manually.
>
> The behavior is identical when I use only local repository (that my actual case. I'm building the repository from scratch using container with pre-installed packages)
>
> Also, just for case, I did a test using 2 repositories, the one that used to build the container (with all the "old" packages) and one that contains the new readline and the result is the same:
>
> bash-4.4# apk list | grep readline
> readline-dev-7.0.003-r1 x86_64 {readline} (GPL) [installed]
> readline-dev-8.0.0-r0 x86_64 {readline} (GPL) [upgradable from: readline-dev-7.0.003-r1]
> readline-dev-7.0.003-r1 x86_64 {readline} (GPL)
> readline-7.0.003-r1 x86_64 {readline} (GPL) [installed]
> readline-8.0.0-r0 x86_64 {readline} (GPL) [upgradable from: readline-7.0.003-r1]
> readline-7.0.003-r1 x86_64 {readline} (GPL)
> libhistory-7.0.003-r1 x86_64 {readline} (GPL) [installed]
> libhistory-8.0.0-r0 x86_64 {readline} (GPL) [upgradable from: libhistory-7.0.003-r1]
> libhistory-7.0.003-r1 x86_64 {readline} (GPL)
> readline-doc-8.0.0-r0 x86_64 {readline} (GPL)
> readline-doc-7.0.003-r1 x86_64 {readline} (GPL)
> bash-4.4# apk add readline -l
> ERROR: unsatisfiable constraints:
> Huh? Error reporter did not find the broken constraints.
> bash-4.4# apk add readline-dev -l
> ERROR: unsatisfiable constraints:
> readline-7.0.003-r1:
> breaks: readline-dev-8.0.0-r0[readline=8.0.0-r0]
> satisfies: world[readline] util-linux-2.33-r0[so:libreadline.so.7] bash-4.4.19-r1[so:libreadline.so.7] python3-3.6.8-r2[so:libreadline.so.7] sqlite-3.26.0-r3[so:libreadline.so.7]
> gdbm-1.13-r1[so:libreadline.so.7] python2-2.7.16-r1[so:libreadline.so.7] ruby-libs-2.5.5-r0[so:libreadline.so.7] gawk-4.2.1-r0[so:libreadline.so.7]
> libhistory-8.0.0-r0:
> breaks: world[libhistory><Q13I4qCzYlFBiIA10PICdAkWQJWnw=]
> satisfies: readline-dev-8.0.0-r0[libhistory=8.0.0-r0]
> bash-4.4# apk add readline readline-dev libhistory -l
> ERROR: unsatisfiable constraints:
> readline-7.0.003-r1:
> breaks: readline-dev-8.0.0-r0[readline=8.0.0-r0]
> satisfies: world[readline] util-linux-2.33-r0[so:libreadline.so.7] bash-4.4.19-r1[so:libreadline.so.7] python3-3.6.8-r2[so:libreadline.so.7] sqlite-3.26.0-r3[so:libreadline.so.7]
> gdbm-1.13-r1[so:libreadline.so.7] python2-2.7.16-r1[so:libreadline.so.7] ruby-libs-2.5.5-r0[so:libreadline.so.7] gawk-4.2.1-r0[so:libreadline.so.7]
> bash-4.4#
>
>
> -----Original Message-----
> From: Shiz [mailto:hi@shiz.me]
> Sent: Sunday, June 30, 2019 14:44
> To: Roi Greenberg
> Cc: alpine-devel@lists.alpinelinux.org
> Subject: Re: [alpine-devel] Missing "readline" in dependencies make it impossible to update readline
>
> Hi,
>
>> I got the error:
>>
>> ERROR: unsatisfiable constraints:
>> readline-7.0.003-r1:
>> breaks: world[readline><Q1AoAhlay5a0dpmKIwfPNLe1CsUtk=]
>
> It seems you installed some readline apk manually, which then
> conflicts with the system deadline. If it provides the same
> libraries as the system deadline, simply try installing it first
> before anything else that depends on readline.
>
> Alternatively, create a local repository with your custom .apk
> and an index (see `abuild index`) and add it to /etc/apk/repositories,
> so that `apk` can do a full proper dependency scan upon installation,
> taking your own packages into account. This is the recommended
> development flow.
>
>> When I tried to investigate the dependencies area, I saw that
>> many packages have libreadline.so in the APKINDEX dependencies,
>> but nothing about it in their APKBUILD file.
>>
>>
>> I think that may cause the issue.
>
> This is fine. `abuild` does an automated dependency scan at the
> end of the build process where it figures out these kind of
> dependencies. That they are not listed explicitly is expected.
>
> - Shiz
>
> Email secured by Check Point
>
>
> ---
> Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
> Help: alpine-devel+help@lists.alpinelinux.org
> ---
>
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---