MFDGaming / ubuntu-in-termux

This is a script by which you can install Ubuntu in your termux application without a rooted device
1.58k stars 390 forks source link

Cannot install or upgrade any software in Ubuntu in Termux #151

Open ThomasHeinrichSchmidt opened 7 months ago

ThomasHeinrichSchmidt commented 7 months ago

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?

sonukaloshiya commented 4 days ago

succsessful.

ThomasHeinrichSchmidt commented 4 days ago

@sonukaloshiya: Does that mean you did successfully follow the installation steps of ubuntu-in-termux on a Nexus 10 tablet running Android 5.1.1.? And afterwards you were able to successfully apt-get upgrade -y? Really?