Package: sdkmanager Version: 0.6.10-1 Severity: important Dear Maintainer,
Trying to use android SDK on asahi Linux by installing the android-sdk package. Compilation fails because licences aren't accepted, and trying to use sdkmanager to acept them doesn't work: ``` yes | sdkmanager --licenses Downloading https://f-droid.github.io/android-sdk-transparency-log/signed/checksums.json.asc into /home/xav/.cache/sdkmanager/checksums.json.asc 3 of 6 SDK package licenses not accepted. Review licenses that have not been accepted (y/N)? Traceback (most recent call last): File "/usr/bin/sdkmanager", line 33, in <module> sys.exit(load_entry_point('sdkmanager==0.6.10', 'console_scripts', 'sdkmanager')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/sdkmanager.py", line 1240, in main method() File "/usr/lib/python3/dist-packages/sdkmanager.py", line 1011, in licenses with (licenses_dir / license_file).open('w') as fp: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pathlib.py", line 1015, in open return io.open(self, mode, buffering, encoding, errors, newline) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/usr/lib/android-sdk/licenses/android-sdk-preview-license-old' ``` Using it with sudo does notthing useful. Regards, Xav -- System Information: Debian Release: trixie/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: arm64 (aarch64) Kernel: Linux 6.11.6-asahi-2-cy8aer0 (SMP w/10 CPU threads) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sdkmanager depends on: ii python3 3.12.6-1 ii python3-looseversion 1.3.0-3 ii python3-requests 2.32.3+dfsg-1 ii python3-urllib3 2.0.7-2 Versions of packages sdkmanager recommends: ii python3-argcomplete 3.5.1-1 sdkmanager suggests no packages. -- no debconf information