Termux-app: pkg upgrade fails with "var/cache/apt/archives/partial is missing"

Created on 1 Nov 2017  路  7Comments  路  Source: termux/termux-app

Hello, when running pkg upgrade I got the following error: E: Archives directory /data/data/com.termux/files/usr/var/cache/apt/archives/partial is missing. - Acquire (13: Permission denied) and it doesn't upgrade... I checked and the directory doesn't exists... I created it and try to upgrade again but got the same error. After restarting termux, the directory disappeared...

Most helpful comment

In termux,

mkdir -p /data/data/com.termux/files/usr/var/cache/apt/archives/partial

apt-get autoclean

This works :)

All 7 comments

Just a wild shot, but does running apt clean fix anything?

Nop, still the same...

And I got the same error when trying to install any package...

In termux,

mkdir -p /data/data/com.termux/files/usr/var/cache/apt/archives/partial

apt-get autoclean

This works :)

Why is this closed? I'm still having this issue over and over. I'm on the Android. I can install a package once but if I try the day after it stops working again. dg28gadhavi solution works but it's a pain to have to do it everytime.

@mabelisle - Were you able to fix the issue ?

but it's a pain to have to do it everytime.

Just don't mess with stuff in $PREFIX and you won't have to do it everytime.

Was this page helpful?
0 / 5 - 0 ratings