ERROR: [Errno 13] Permission denied: '/tmp/pmbootstrap_8b7oibvapk'
The /tmp
path is mounted with noexec
on debian, so no surprise trying to invoke that executable is failing (running pmbootstrap install
)..
(988958) [23:21:57] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.12.9-r5.apk
(988958) [23:21:58] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(988958) [23:21:58] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(988958) [23:21:58] extracted: /tmp/pmbootstrap_8b7oibvapk
(988958) [23:21:58] extracted: /tmp/pmbootstrapd8pb0tt0sig
(988958) [23:21:58] Verify apk.static signature with /usr/src/repos/postmarketOS:pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(988958) [23:21:58] % openssl dgst -sha1 -verify /usr/src/repos/postmarketOS:pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapd8pb0tt0sig /tmp/pmbootstrap_8b7oibvapk
Verified OK
(988958) [23:21:58] Verify the version reported by the apk.static binary (must match the package version 2.12.9-r5)
(988958) [23:21:58] % /tmp/pmbootstrap_8b7oibvapk --version
(988958) [23:21:58] ERROR: [Errno 13] Permission denied: '/tmp/pmbootstrap_8b7oibvapk'
(988958) [23:21:58] See also: <https://postmarketos.org/troubleshooting>
(988958) [23:21:58] Traceback (most recent call last):
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/__init__.py", line 49, in main
getattr(frontend, args.action)(args)
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/helpers/frontend.py", line 324, in install
pmb.install.install(args)
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/install/_install.py", line 1041, in install
pmb.chroot.apk.install(args, pmb.config.install_native_packages,
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/chroot/apk.py", line 230, in install
pmb.chroot.init(args, suffix)
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/chroot/init.py", line 92, in init
pmb.chroot.apk_static.init(args)
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/chroot/apk_static.py", line 165, in init
extract(args, version, apk_static)
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/chroot/apk_static.py", line 121, in extract
version_bin = pmb.helpers.run.user(args, [temp_path, "--version"],
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/helpers/run.py", line 58, in user
return pmb.helpers.run_core.core(args, msg, cmd, working_dir, output,
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/helpers/run_core.py", line 339, in core
(code, output_after_run) = foreground_pipe(args, cmd, working_dir,
File "/usr/src/repos/postmarketOS:pmbootstrap/pmb/helpers/run_core.py", line 147, in foreground_pipe
process = subprocess.Popen(cmd, stdout=subprocess.PIPE,
File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/tmp/pmbootstrap_8b7oibvapk'
Edited by Administrator