/usr/bin/docker exec XXXX sh -c "cat /etc/*release | grep ^ID"
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
在 Ubuntu VM 上,我已经安装了节点,并且它正在按预期运行;不确定为什么运行器抱怨无法运行 node 20
$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.16) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
C:\Windows\System32>ubuntu
Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: florianingerl
New password:
Retype new password:
passwd: password updated successfully
Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.153.1-microsoft-standard-WSL2 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This message is shown once a day. To disable it please create the
/home/florianingerl/.hushlogin file.
florianingerl@FLORI-LENOVO-93:~$ bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
## Downloading opam 2.1.6 for linux on x86_64...
## Downloaded.
## Where should it be installed ? [/usr/local/bin]
Write access to '/usr/local/bin' required, using 'sudo'.
Command: install -m 755 /tmp/opam-2.1.6-x86_64-linux /usr/local/bin/opam
[sudo] password for florianingerl:
## opam 2.1.6 installed to /usr/local/bin
## Run this script again with '--restore ' to revert.
florianingerl@FLORI-LENOVO-93:~$ opam --version
2.1.6
florianingerl@FLORI-LENOVO-93:~$ ocaml --version
Command 'ocaml' not found, but can be installed with:
sudo apt install ocaml-interp
florianingerl@FLORI-LENOVO-93:~$ sudo apt install ocaml-interp
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ocaml-interp
florianingerl@FLORI-LENOVO-93:~$ opam init -y
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
[WARNING] Recommended dependencies -- most packages rely on these:
- make
- cc
[ERROR] Missing dependencies -- the following commands are required for opam to operate:
- unzip
- bwrap: Sandboxing tool bwrap was not found. You should install 'bubblewrap'. See
https://opam.ocaml.org/doc/FAQ.html#Why-does-opam-require-bwrap.
'device 'DEVICEID' not found' error on device serial #DEVICEID executing service 'host-serial:DEVICEID:features'
一段时间后。
另外,请求设备权限的对话框有时仅在错误发生后才会出现(但并非总是如此)。
应用程序未启动。
该日志可能与长时间启动有关(它检测到了这一点)。
2024-07-16 19:14:11,930 [ 97057] WARN - #com.android.ddmlib - TimeoutException getting properties for device RZCTB0V5AWP
java.lang.Throwable: TimeoutException getting properties for device DEVICEID
at com.android.ddmlib.PropertyFetcher.handleException(PropertyFetcher.java:259)
at com.android.ddmlib.PropertyFetcher.access$600(PropertyFetcher.java:31)
at com.android.ddmlib.PropertyFetcher$1.run(PropertyFetcher.java:213)
Caused by: com.android.ddmlib.TimeoutException
at com.android.ddmlib.AdbHelper.read(AdbHelper.java:882)
at com.android.ddmlib.AdbHelper.readAdbResponse(AdbHelper.java:351)
at com.android.ddmlib.internal.DeviceImpl.lambda$executeRemoteCommand$18(DeviceImpl.java:795)
at com.android.ddmlib.internal.DeviceImpl.logRun1(DeviceImpl.java:1801)
at com.android.ddmlib.internal.DeviceImpl.executeRemoteCommand(DeviceImpl.java:755)
at com.android.ddmlib.internal.DeviceImpl.lambda$executeRemoteCommand$15(DeviceImpl.java:618)
at com.android.ddmlib.internal.DeviceImpl.logRun1(DeviceImpl.java:1801)
at com.android.ddmlib.internal.DeviceImpl.executeRemoteCommand(DeviceImpl.java:615)
at com.android.ddmlib.internal.DeviceImpl.lambda$executeShellCommand$13(DeviceImpl.java:557)
at com.android.ddmlib.internal.DeviceImpl.logRun1(DeviceImpl.java:1801)
at com.android.ddmlib.internal.DeviceImpl.executeShellCommand(DeviceImpl.java:554)
at com.android.ddmlib.PropertyFetcher$1.run(PropertyFetcher.java:209)