~alpine/devel

1

[alpine-devel] Failures installing edge-musl on top of edge-uclibc

Details
Message ID
<CADBeeMv_tcaJW_mLq0bE5KZ+Qi+15A=B0=hbhsONDR8E=70=gQ@mail.gmail.com>
Sender timestamp
1384670236
DKIM signature
missing
Download raw message
Hi all,

I was trying to install edge-musl on a test node today and I have found
that I cannot get the apk upgrade command to complete.

```
localhost:~# apk upgrade --allow-untrusted -fUal
fetch http://nl.alpinelinux.org/alpine/edge-musl/main/x86_64/APKINDEX.tar.gz
Upgrading critical system libraries and apk-tools:
(1/2) Installing musl (0.9.14-r6)
(2/2) Downgrading apk-tools (2.4.0-r4 -> 2.4.0-r2)
Executing busybox-1.21.1-r0.trigger
Executing uclibc-utils-0.9.33.2-r26.trigger
Continuing the upgrade transaction with new apk-tools:
Error relocating /lib/libcrypto.so.1.0.0: __ctype_b: symbol not found
Error relocating /lib/libcrypto.so.1.0.0: __ctype_tolower: symbol not found
```

Any ideas?

Thanks much,

Sam Dodrill
shadow.h511@gmail.com
Timo Teras <timo.teras@iki.fi>
Details
Message ID
<20131117095015.3350cdaa@vostro>
In-Reply-To
<CADBeeMv_tcaJW_mLq0bE5KZ+Qi+15A=B0=hbhsONDR8E=70=gQ@mail.gmail.com> (view parent)
Sender timestamp
1384674615
DKIM signature
missing
Download raw message
On Sat, 16 Nov 2013 22:37:16 -0800
Sam Dodrill <shadow.h511@gmail.com> wrote:

> I was trying to install edge-musl on a test node today and I have
> found that I cannot get the apk upgrade command to complete.
> ```
> localhost:~# apk upgrade --allow-untrusted -fUal
> fetch
> http://nl.alpinelinux.org/alpine/edge-musl/main/x86_64/APKINDEX.tar.gz
> Upgrading critical system libraries and apk-tools: (1/2) Installing
> musl (0.9.14-r6) (2/2) Downgrading apk-tools (2.4.0-r4 -> 2.4.0-r2)
> Executing busybox-1.21.1-r0.trigger
> Executing uclibc-utils-0.9.33.2-r26.trigger
> Continuing the upgrade transaction with new apk-tools:
> Error relocating /lib/libcrypto.so.1.0.0: __ctype_b: symbol not found
> Error relocating /lib/libcrypto.so.1.0.0: __ctype_tolower: symbol not
> found ```
> 
> Any ideas?

We still have not thought about the upgrade path. The builds are binary
incompatible due to c-library differences, so this is more or less
expected.

Seems the problem is that apk tries to upgrade only minimum set of
libraries during the initial upgrade cycle. So it does not switch over
to the right build of openssl causing the self-exec to fail.

Try with --no-self-upgrade, or using apk-tools-static (apk.static).

- Timo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)