Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ThomasHeinrichSchmidt opened this issue Feb 8, 2024 · 4 comments
Open

Comments

@ThomasHeinrichSchmidt
Copy link

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?

@ThomasHeinrichSchmidt
Copy link
Author

@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?

@ThomasHeinrichSchmidt
Copy link
Author

What do you want to tell me?

@MFDGaming
Copy link
Owner

From what I know, the legacy android termux repos where taken down

@ThomasHeinrichSchmidt
Copy link
Author

Sad, but now I know why installs fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ThomasHeinrichSchmidt @MFDGaming and others