You are not logged in.

#1 2025-12-30 04:31:17

apollyon
Member
Registered: 2025-12-30
Posts: 1

Error at pacstrap step

When running pacstrap -K /mnt ..., it outputs the following:

mktemp: failed to create file via template '/tmp/pacman.conf.XXXX': Read-only file system
cp: cannot create regular file '' : No such file or directory
sed: can't read : No such file or directory
==> Creating install root at /mnt
==> Installing packages to /mnt
error: config file  could not be read: No such file or directory
==> ERROR: Failed to install packages to new root

Running it the first time after formatting and mounting gives a longer output but similar errors (most importantly the same mktemp error)

How do i fix this?

Offline

#2 2025-12-30 11:39:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,057

Re: Error at pacstrap step

'/tmp/pacman.conf.XXXX': Read-only file system

Why is /tmp mounted r/o?

findmnt -T /tmp

Offline

Board footer

Powered by FluxBB