Termux-packages: Error while installing/updating openssl (1.1.1b-1)

Created on 5 Mar 2019  路  3Comments  路  Source: termux/termux-packages

When running pkg update it tries to install a newer version of openssl (1.1.1b-1) an fails with the following error:

Preparing to unpack .../openssl_1.1.1b-1_aarch64.deb ...
Unpacking openssl (1.1.1b-1) over (1.1.1a) ...
dpkg: error processing archive /data/data/com.termux/files/usr/var/cache/apt/archives/openssl_1.1.1b-1_aarch64.deb (--unpack):
 trying to overwrite '/data/data/com.termux/files/usr/etc/tls/openssl.cnf', which is also in package openssl-tool 1.1.1a
Errors were encountered while processing:
 /data/data/com.termux/files/usr/var/cache/apt/archives/openssl_1.1.1b-1_aarch64.deb
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)

Seems like openssl.cnf was previously part of openssl-tool package, but is now also part of openssl package. Is this causing the conflict/error?

Additional information
Output of command termux-info:

Updatable packages:
nginx/stable 1.15.9 aarch64 [upgradable from: 1.15.8]
nodejs/stable 11.10.1 aarch64 [upgradable from: 11.10.0-1]
openssl/stable 1.1.1b-1 aarch64 [upgradable from: 1.1.1a]
openssl-tool/stable 1.1.1b-1 aarch64 [upgradable from: 1.1.1a]
vim/stable 8.1.0950-1 aarch64 [upgradable from: 8.1.0950]
vim-runtime/stable 8.1.0950-1 all [upgradable from: 8.1.0950]
System information:
Linux localhost 4.4.174-perf+ #1 SMP PREEMPT Wed Feb 13 16:46:04 PST 2019 aarch64 Android
Termux-packages arch:
aarch64
Android version:
9
Device manufacturer:
Essential Products
Device model:
PH-1

Most helpful comment

pkg uninstall openssl-tool
pkg upgrade
pkg install openssl-tool

All 3 comments

pkg uninstall openssl-tool
pkg upgrade
pkg install openssl-tool

but is now also part of openssl package. Is this causing the conflict/error?

Yes, config now is moved to openssl package. But in upgrade-time, openssl-tool is upgraded only after openssl so you observing conflict because openssl.cnf present in both packages.

Removing openssl-tool, then upgrading openssl and reinstalling openssl-tool resolved the issue. Thank you so much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neitsab picture neitsab  路  3Comments

roalyr picture roalyr  路  3Comments

bbtdev picture bbtdev  路  3Comments

zejji picture zejji  路  4Comments

thurask picture thurask  路  3Comments