Termux-packages: Can't do pkg update && pkg upgrade after update version 0.72

Created on 28 May 2019  路  2Comments  路  Source: termux/termux-packages

After running command pkg update && pkg upgrade the following output was produced:

CANNOT LINK EXECUTABLE "dpkg-deb": library "liblzma.so.5" not found dpkg: error processing archive /data/data/com.termux/files/usr/var/cache/apt/archives/libandroid-support_25_aarch64.deb (--unpack): dpkg-deb --control subprocess was killed by signal (Aborted) Errors were encountered while processing: /data/data/com.termux/files/usr/var/cache/apt/archives/libandroid-support_25_aarch64.deb E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)

Logcat output:
logcat1.txt

Most helpful comment

Likely your environment was at partial-upgrade stage, i.e. dpkg was updated but liblzma not.

Easiest way to solve will be to remove $PREFIX: rm -rf $PREFIX and re-install packages again.

All 2 comments

Likely your environment was at partial-upgrade stage, i.e. dpkg was updated but liblzma not.

Easiest way to solve will be to remove $PREFIX: rm -rf $PREFIX and re-install packages again.

Likely your environment was at partial-upgrade stage, i.e. dpkg was updated but liblzma not.

Easiest way to solve will be to remove $PREFIX: rm -rf $PREFIX and re-install packages again.
this is good ' but it's delete some tools like python ....

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NLKNguyen picture NLKNguyen  路  59Comments

stuart-little picture stuart-little  路  73Comments

ackalker picture ackalker  路  166Comments

angrykoala picture angrykoala  路  83Comments

Grimler91 picture Grimler91  路  96Comments