MFDGaming / ubuntu-in-termux

This is a script by which you can install Ubuntu in your termux application without a rooted device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot install or upgrade any software in Ubuntu in Termux

ThomasHeinrichSchmidt opened this issue · comments

I have successfully followed your installation steps of ubuntu-in-termux on a Nexus 10 tablet running Android 5.1.1. using Termux 0.118.0+3b5018b from a termux-app_v0.118.0+3b5018b-apt-android-5-github-debug_armeabi-v7a.apk.
The last steps were

$ ./ubuntu.sh -y
$ ./startubuntu.sh
root@localhost:~# su     
root@localhost:~# apt-get update

But when I tried to upgrade packages I encountered a fatal error

root@localhost:~# apt-get upgrade -y
    ...
    dpkg: unrecoverable fatal error, aborting:
    unable to open directory '/var/lib/dpkg/updates/': Operation not permittted
    ...

But the directory in question does actually exist and is also accessible (I can cd into it and ls the contents).
Also, any other package installation either fails with the same message or E: Unable to locate package python for something like root@localhost:~# apt-get install python. Latter is probably due to upgrade not being succsessful.
What do you think? Any chance for me to clean this up?