Termux-packages: Error updating

Created on 7 Mar 2019  路  2Comments  路  Source: termux/termux-packages

Running pkg up after finish download getting the below error
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libcue
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
pulseaudio
The following packages will be upgraded:
bzip2 ca-certificates-java cmus ffmpeg ffmpeg-dev gegl
gegl-dev getmail glib glib-bin glib-dev golang hub hydra
libpulseaudio ncurses-ui-libs ncurses-utils openjpeg
openssl openssl-tool python2 vim vim-runtime
23 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/74.3 MB of archives.
After this operation, 37.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 49762 files and directories currently installed.)
Preparing to unpack .../openssl_1.1.1b-1_aarch64.deb ...
Unpacking openssl (1.1.1b-1) over (1.1.1b) ...
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.1b
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)

duplicate

Most helpful comment

Duplicate of https://github.com/termux/termux-packages/issues/3462 and https://github.com/termux/termux-packages/issues/3456.

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

All 2 comments

Please try apt update and apt autoremove.

Duplicate of https://github.com/termux/termux-packages/issues/3462 and https://github.com/termux/termux-packages/issues/3456.

pkg uninstall openssl-tool
pkg upgrade
pkg install openssl-tool
Was this page helpful?
0 / 5 - 0 ratings

Related issues

tigran123 picture tigran123  路  3Comments

Cyb3rD3m0n picture Cyb3rD3m0n  路  3Comments

newmania picture newmania  路  3Comments

zejji picture zejji  路  4Comments

jackbrycesmith picture jackbrycesmith  路  3Comments