Hey,
I was developing website project on i7 Mac with trellis 1.11.0. The time came to move to another, Apple Sillicon M2 Mac, with trellis 1.11.1.
I got access to all env by reprovisioning from old computer with new ssh keys, everything works fine on remote servers. I started lima vm by running trellis vm start
and the execution downloaded the proper image. Immediately couldn’t connect to lima with trellis vm shell
, by timeout. I checked the changes in the repo trellis 1.11.1 gave me and removed ssh key forwarding from trellis/.trellis/lima/site.com.yml
. Then, I restarted vm (trellis vm stop && trellis vm start
) and I could connect with trellis vm shell
back again :)).
But quickly I found, I am missing wp
and composer
commands on vm, so I run trellis provision development
. Somehow the output starts with:
- composer (1.9.0) is already installed, skipping.
- ntp (2.3.1) is already installed, skipping.
- logrotate (v0.0.5) is already installed, skipping.
- swapfile (v2.0.36) is already installed, skipping.
- mailpit (v1.0.0) is already installed, skipping.
but then fails on Checking essentials
step with really long error:
failed: [default] (item=ghostscript) => {"ansible_loop_var": "item", "cache_update_time": 1694772373, "cache_updated": false, "changed": false, "item": {"key": "ghostscript", "value": "present"}, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'ghostscript=9.55.0~dfsg1-0ubuntu5.4'' failed: touch: cannot touch '/var/lib/update-notifier/dpkg-run-stamp': Read-only file system
E: Sub-process /usr/bin/dpkg returned an error code (2)
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)
", "rc": 100, "stderr": "touch: cannot touch '/var/lib/update-notifier/dpkg-run-stamp': Read-only file system
E: Sub-process /usr/bin/dpkg returned an error code (2)
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)
", "stderr_lines": ["touch: cannot touch '/var/lib/update-notifier/dpkg-run-stamp': Read-only file system", "E: Sub-process /usr/bin/dpkg returned an error code (2)", "W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)"], "stdout": "Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
fonts-droid-fallback fonts-noto-mono fonts-urw-base35 libavahi-client3
libavahi-common-data libavahi-common3 libcups2 libgs9 libgs9-common libidn12
libijs-0.35 libjbig2dec0 libopenjp2-7 libpaper-utils libpaper1 poppler-data
Suggested packages:
fonts-noto fonts-freefont-otf | fonts-freefont-ttf fonts-texgyre
ghostscript-x cups-common poppler-utils fonts-japanese-mincho
| fonts-ipafont-mincho fonts-japanese-gothic | fonts-ipafont-gothic
fonts-arphic-ukai fonts-arphic-uming fonts-nanum
The following NEW packages will be installed:
fonts-droid-fallback fonts-noto-mono fonts-urw-base35 ghostscript
libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libgs9
libgs9-common libidn12 libijs-0.35 libjbig2dec0 libopenjp2-7 libpaper-utils
libpaper1 poppler-data
0 upgraded, 17 newly installed, 0 to remove and 23 not upgraded.
Need to get 17.2 MB of archives.
After this operation, 64.3 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 fonts-droid-fallback all 1:6.0.1r16-1.1build1 [1805 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 poppler-data all 0.4.11-1 [2171 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 fonts-noto-mono all 20201225-1build1 [397 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 fonts-urw-base35 all 20200910-1 [6367 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libgs9-common all 9.55.0~dfsg1-0ubuntu5.4 [752 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libavahi-common-data arm64 0.8-5ubuntu5.1 [23.5 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libavahi-common3 arm64 0.8-5ubuntu5.1 [23.3 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libavahi-client3 arm64 0.8-5ubuntu5.1 [27.4 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libcups2 arm64 2.4.1op1-1ubuntu4.6 [265 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libidn12 arm64 1.38-4ubuntu1 [60.1 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libijs-0.35 arm64 0.35-15build2 [16.1 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libjbig2dec0 arm64 0.19-3build2 [63.0 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libopenjp2-7 arm64 2.4.0-6 [155 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libpaper1 arm64 1.1.28build2 [13.6 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libgs9 arm64 9.55.0~dfsg1-0ubuntu5.4 [4954 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 ghostscript arm64 9.55.0~dfsg1-0ubuntu5.4 [49.7 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libpaper-utils arm64 1.1.28build2 [8498 B]
Preconfiguring packages ...
Fetched 17.2 MB in 2s (7950 kB/s)
Selecting previously unselected package fonts-droid-fallback.\r
(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 71780 files and directories currently installed.)\r
Preparing to unpack .../00-fonts-droid-fallback_1%3a6.0.1r16-1.1build1_all.deb ...\r
Unpacking fonts-droid-fallback (1:6.0.1r16-1.1build1) ...\r
Selecting previously unselected package poppler-data.\r
Preparing to unpack .../01-poppler-data_0.4.11-1_all.deb ...\r
Unpacking poppler-data (0.4.11-1) ...\r
Selecting previously unselected package fonts-noto-mono.\r
Preparing to unpack .../02-fonts-noto-mono_20201225-1build1_all.deb ...\r
Unpacking fonts-noto-mono (20201225-1build1) ...\r
Selecting previously unselected package fonts-urw-base35.\r
Preparing to unpack .../03-fonts-urw-base35_20200910-1_all.deb ...\r
Unpacking fonts-urw-base35 (20200910-1) ...\r
Selecting previously unselected package libgs9-common.\r
Preparing to unpack .../04-libgs9-common_9.55.0~dfsg1-0ubuntu5.4_all.deb ...\r
Unpacking libgs9-common (9.55.0~dfsg1-0ubuntu5.4) ...\r
Selecting previously unselected package libavahi-common-data:arm64.\r
Preparing to unpack .../05-libavahi-common-data_0.8-5ubuntu5.1_arm64.deb ...\r
Unpacking libavahi-common-data:arm64 (0.8-5ubuntu5.1) ...\r
Selecting previously unselected package libavahi-common3:arm64.\r
Preparing to unpack .../06-libavahi-common3_0.8-5ubuntu5.1_arm64.deb ...\r
Unpacking libavahi-common3:arm64 (0.8-5ubuntu5.1) ...\r
Selecting previously unselected package libavahi-client3:arm64.\r
Preparing to unpack .../07-libavahi-client3_0.8-5ubuntu5.1_arm64.deb ...\r
Unpacking libavahi-client3:arm64 (0.8-5ubuntu5.1) ...\r
Selecting previously unselected package libcups2:arm64.\r
Preparing to unpack .../08-libcups2_2.4.1op1-1ubuntu4.6_arm64.deb ...\r
Unpacking libcups2:arm64 (2.4.1op1-1ubuntu4.6) ...\r
Selecting previously unselected package libidn12:arm64.\r
Preparing to unpack .../09-libidn12_1.38-4ubuntu1_arm64.deb ...\r
Unpacking libidn12:arm64 (1.38-4ubuntu1) ...\r
Selecting previously unselected package libijs-0.35:arm64.\r
Preparing to unpack .../10-libijs-0.35_0.35-15build2_arm64.deb ...\r
Unpacking libijs-0.35:arm64 (0.35-15build2) ...\r
Selecting previously unselected package libjbig2dec0:arm64.\r
Preparing to unpack .../11-libjbig2dec0_0.19-3build2_arm64.deb ...\r
Unpacking libjbig2dec0:arm64 (0.19-3build2) ...\r
Selecting previously unselected package libopenjp2-7:arm64.\r
Preparing to unpack .../12-libopenjp2-7_2.4.0-6_arm64.deb ...\r
Unpacking libopenjp2-7:arm64 (2.4.0-6) ...\r
Selecting previously unselected package libpaper1:arm64.\r
Preparing to unpack .../13-libpaper1_1.1.28build2_arm64.deb ...\r
Unpacking libpaper1:arm64 (1.1.28build2) ...\r
Selecting previously unselected package libgs9:arm64.\r
Preparing to unpack .../14-libgs9_9.55.0~dfsg1-0ubuntu5.4_arm64.deb ...\r
Unpacking libgs9:arm64 (9.55.0~dfsg1-0ubuntu5.4) ...\r
Selecting previously unselected package ghostscript.\r
Preparing to unpack .../15-ghostscript_9.55.0~dfsg1-0ubuntu5.4_arm64.deb ...\r
Unpacking ghostscript (9.55.0~dfsg1-0ubuntu5.4) ...\r
Selecting previously unselected package libpaper-utils.\r
Preparing to unpack .../16-libpaper-utils_1.1.28build2_arm64.deb ...\r
Unpacking libpaper-utils (1.1.28build2) ...\r
Setting up libpaper1:arm64 (1.1.28build2) ...\r
/var/lib/dpkg/info/libpaper1:arm64.postinst: 1: md5sum: Bad message\r
ucf: do not have write privilege to the state data\r
debconf: DbDriver \"config\": could not write /var/cache/debconf/config.dat-new: Read-only file system\r
dpkg: error processing package libpaper1:arm64 (--configure):\r
installed libpaper1:arm64 package post-installation script subprocess returned error exit status 1\r
Setting up fonts-noto-mono (20201225-1build1) ...\r
dpkg: unrecoverable fatal error, aborting:\r
unable to truncate for updated status of 'fonts-noto-mono': Read-only file system\r
needrestart is being skipped since dpkg has failed
", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " fonts-droid-fallback fonts-noto-mono fonts-urw-base35 libavahi-client3", " libavahi-common-data libavahi-common3 libcups2 libgs9 libgs9-common libidn12", " libijs-0.35 libjbig2dec0 libopenjp2-7 libpaper-utils libpaper1 poppler-data", "Suggested packages:", " fonts-noto fonts-freefont-otf | fonts-freefont-ttf fonts-texgyre", " ghostscript-x cups-common poppler-utils fonts-japanese-mincho", " | fonts-ipafont-mincho fonts-japanese-gothic | fonts-ipafont-gothic", " fonts-arphic-ukai fonts-arphic-uming fonts-nanum", "The following NEW packages will be installed:", " fonts-droid-fallback fonts-noto-mono fonts-urw-base35 ghostscript", " libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libgs9", " libgs9-common libidn12 libijs-0.35 libjbig2dec0 libopenjp2-7 libpaper-utils", " libpaper1 poppler-data", "0 upgraded, 17 newly installed, 0 to remove and 23 not upgraded.", "Need to get 17.2 MB of archives.", "After this operation, 64.3 MB of additional disk space will be used.", "Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 fonts-droid-fallback all 1:6.0.1r16-1.1build1 [1805 kB]", "Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 poppler-data all 0.4.11-1 [2171 kB]", "Get:3 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 fonts-noto-mono all 20201225-1build1 [397 kB]", "Get:4 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 fonts-urw-base35 all 20200910-1 [6367 kB]", "Get:5 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libgs9-common all 9.55.0~dfsg1-0ubuntu5.4 [752 kB]", "Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libavahi-common-data arm64 0.8-5ubuntu5.1 [23.5 kB]", "Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libavahi-common3 arm64 0.8-5ubuntu5.1 [23.3 kB]", "Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libavahi-client3 arm64 0.8-5ubuntu5.1 [27.4 kB]", "Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libcups2 arm64 2.4.1op1-1ubuntu4.6 [265 kB]", "Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libidn12 arm64 1.38-4ubuntu1 [60.1 kB]", "Get:11 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libijs-0.35 arm64 0.35-15build2 [16.1 kB]", "Get:12 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libjbig2dec0 arm64 0.19-3build2 [63.0 kB]", "Get:13 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libopenjp2-7 arm64 2.4.0-6 [155 kB]", "Get:14 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libpaper1 arm64 1.1.28build2 [13.6 kB]", "Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libgs9 arm64 9.55.0~dfsg1-0ubuntu5.4 [4954 kB]", "Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 ghostscript arm64 9.55.0~dfsg1-0ubuntu5.4 [49.7 kB]", "Get:17 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libpaper-utils arm64 1.1.28build2 [8498 B]", "Preconfiguring packages ...", "Fetched 17.2 MB in 2s (7950 kB/s)", "Selecting previously unselected package fonts-droid-fallback.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 71780 files and directories currently installed.)", "Preparing to unpack .../00-fonts-droid-fallback_1%3a6.0.1r16-1.1build1_all.deb ...", "Unpacking fonts-droid-fallback (1:6.0.1r16-1.1build1) ...", "Selecting previously unselected package poppler-data.", "Preparing to unpack .../01-poppler-data_0.4.11-1_all.deb ...", "Unpacking poppler-data (0.4.11-1) ...", "Selecting previously unselected package fonts-noto-mono.", "Preparing to unpack .../02-fonts-noto-mono_20201225-1build1_all.deb ...", "Unpacking fonts-noto-mono (20201225-1build1) ...", "Selecting previously unselected package fonts-urw-base35.", "Preparing to unpack .../03-fonts-urw-base35_20200910-1_all.deb ...", "Unpacking fonts-urw-base35 (20200910-1) ...", "Selecting previously unselected package libgs9-common.", "Preparing to unpack .../04-libgs9-common_9.55.0~dfsg1-0ubuntu5.4_all.deb ...", "Unpacking libgs9-common (9.55.0~dfsg1-0ubuntu5.4) ...", "Selecting previously unselected package libavahi-common-data:arm64.", "Preparing to unpack .../05-libavahi-common-data_0.8-5ubuntu5.1_arm64.deb ...", "Unpacking libavahi-common-data:arm64 (0.8-5ubuntu5.1) ...", "Selecting previously unselected package libavahi-common3:arm64.", "Preparing to unpack .../06-libavahi-common3_0.8-5ubuntu5.1_arm64.deb ...", "Unpacking libavahi-common3:arm64 (0.8-5ubuntu5.1) ...", "Selecting previously unselected package libavahi-client3:arm64.", "Preparing to unpack .../07-libavahi-client3_0.8-5ubuntu5.1_arm64.deb ...", "Unpacking libavahi-client3:arm64 (0.8-5ubuntu5.1) ...", "Selecting previously unselected package libcups2:arm64.", "Preparing to unpack .../08-libcups2_2.4.1op1-1ubuntu4.6_arm64.deb ...", "Unpacking libcups2:arm64 (2.4.1op1-1ubuntu4.6) ...", "Selecting previously unselected package libidn12:arm64.", "Preparing to unpack .../09-libidn12_1.38-4ubuntu1_arm64.deb ...", "Unpacking libidn12:arm64 (1.38-4ubuntu1) ...", "Selecting previously unselected package libijs-0.35:arm64.", "Preparing to unpack .../10-libijs-0.35_0.35-15build2_arm64.deb ...", "Unpacking libijs-0.35:arm64 (0.35-15build2) ...", "Selecting previously unselected package libjbig2dec0:arm64.", "Preparing to unpack .../11-libjbig2dec0_0.19-3build2_arm64.deb ...", "Unpacking libjbig2dec0:arm64 (0.19-3build2) ...", "Selecting previously unselected package libopenjp2-7:arm64.", "Preparing to unpack .../12-libopenjp2-7_2.4.0-6_arm64.deb ...", "Unpacking libopenjp2-7:arm64 (2.4.0-6) ...", "Selecting previously unselected package libpaper1:arm64.", "Preparing to unpack .../13-libpaper1_1.1.28build2_arm64.deb ...", "Unpacking libpaper1:arm64 (1.1.28build2) ...", "Selecting previously unselected package libgs9:arm64.", "Preparing to unpack .../14-libgs9_9.55.0~dfsg1-0ubuntu5.4_arm64.deb ...", "Unpacking libgs9:arm64 (9.55.0~dfsg1-0ubuntu5.4) ...", "Selecting previously unselected package ghostscript.", "Preparing to unpack .../15-ghostscript_9.55.0~dfsg1-0ubuntu5.4_arm64.deb ...", "Unpacking ghostscript (9.55.0~dfsg1-0ubuntu5.4) ...", "Selecting previously unselected package libpaper-utils.", "Preparing to unpack .../16-libpaper-utils_1.1.28build2_arm64.deb ...", "Unpacking libpaper-utils (1.1.28build2) ...", "Setting up libpaper1:arm64 (1.1.28build2) ...", "/var/lib/dpkg/info/libpaper1:arm64.postinst: 1: md5sum: Bad message", "ucf: do not have write privilege to the state data", "debconf: DbDriver \"config\": could not write /var/cache/debconf/config.dat-new: Read-only file system", "dpkg: error processing package libpaper1:arm64 (--configure):", " installed libpaper1:arm64 package post-installation script subprocess returned error exit status 1", "Setting up fonts-noto-mono (20201225-1build1) ...", "dpkg: unrecoverable fatal error, aborting:", " unable to truncate for updated status of 'fonts-noto-mono': Read-only file system", "needrestart is being skipped since dpkg has failed"]}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=git) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "git", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=imagemagick) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "imagemagick", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=libgs-dev) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "libgs-dev", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=libnss-myhostname) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "libnss-myhostname", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=python3) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "python3", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=python3-software-properties) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "python3-software-properties", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=python3-mysqldb) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "python3-mysqldb", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=python3-pycurl) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "python3-pycurl", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
failed: [default] (item=unzip) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "unzip", "value": "present"}, "module_stderr": "Traceback (most recent call last):
File \"<stdin>\", line 107, in <module>
File \"<stdin>\", line 92, in _ansiballz_main
File \"/usr/lib/python3.10/tempfile.py\", line 496, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File \"/usr/lib/python3.10/tempfile.py\", line 265, in _sanitize_params
dir = gettempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
File \"/usr/lib/python3.10/tempfile.py\", line 431, in _gettempdir
tempdir = _get_default_tempdir()
File \"/usr/lib/python3.10/tempfile.py\", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/pims.linux']
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
Im not sure what caused that, but it annoys me that I can’t provision local dev. Please help.
Is there any change in how to setup lima on Apple Sillicon, or I miss any dependencies?