GithubHelp home page GithubHelp logo

Comments (9)

Neo-Oli avatar Neo-Oli commented on September 6, 2024 1

I think it has to do with groupadd and other user and groups related function. Maybe some of them can be solved by creating empty stubs for the commands.

from termux-ubuntu.

brysgo avatar brysgo commented on September 6, 2024

Yeah, stubs should do, do you have any idea how we would package it? Have you ever created a custom apt source?

from termux-ubuntu.

Neo-Oli avatar Neo-Oli commented on September 6, 2024

from termux-ubuntu.

brysgo avatar brysgo commented on September 6, 2024

That sounds good, no need to over complicate

from termux-ubuntu.

Neo-Oli avatar Neo-Oli commented on September 6, 2024

I created a branch with some stubs https://github.com/Neo-Oli/termux-ubuntu/tree/stubs, can you please test it? I still can't install things like dbus without errors, but I don't know why it isn't working.

from termux-ubuntu.

brysgo avatar brysgo commented on September 6, 2024

I haven't noticed the stubs breaking anything yet, but they haven't fixed anything that I can find yet. I will have to take a closer look.

from termux-ubuntu.

diehard88 avatar diehard88 commented on September 6, 2024

is this the problem i am facing?

$ ./start.sh
groups: cannot find name for group ID 3003
groups: cannot find name for group ID 9997
groups: cannot find name for group ID 50251
mesg: change /dev/pts/1 mode failed: Permission denied

root@localhost:
apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports artful InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports artful-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports artful-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports artful-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@localhost:#
root@localhost:
#

root@localhost:~
apt list --upgradable
Listing... Done
libc-bin/artful-updates,artful-security 2.26-0ubuntu2.1 arm64 [upgradable from: 2.26-0ubuntu2]
N: There is 1 additional version. Please use the '-a' switch to see it

root@localhost::
apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libc-bin
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/2724 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
dpkg: error processing package libc6:arm64 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
libc6:arm64
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:~#

from termux-ubuntu.

RupankarGhosh avatar RupankarGhosh commented on September 6, 2024

Works great on my artful....at first it showing like you mentioned....but after setting the Perl and the locales...the problem gone

from termux-ubuntu.

diehard88 avatar diehard88 commented on September 6, 2024

thanks...

Got it workin on one android.

adb package was successfully installed.
both androids can see each other through USB (point-to-point), however, adb does not list any device.
note: me no root.

`
$ cd termux-ubuntu/
$ ./start.sh
groups: cannot find name for group ID 3003
groups: cannot find name for group ID 9997
groups: cannot find name for group ID 50251
mesg: change /dev/pts/0 mode failed: Permission denied

root@localhost:~# adb start-server

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully *

root@localhost:~# adb devices
List of devices attached

root@localhost:~# adb devices -l
List of devices attached

root@localhost:# adbd
root@localhost:
# adbd --help
Segmentation fault
root@localhost:~#`

from termux-ubuntu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.