You are not logged in.
Hi, I'm trying to install `openssh` with pacman but I get the following error which btw also mentions that `/proc/` is not mounted.
here is the output of `sudo pacman -S openssh`
resolving dependencies...
looking for conflicting packages...
Packages (3) dnssec-anchors-20190629-3 ldns-1.7.1-2 openssh-8.6p1-1
Total Installed Size: 7.65 MiB
:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [###################################################################] 100%
(3/3) checking package integrity [###################################################################] 100%
(3/3) loading package files [###################################################################] 100%
(3/3) checking for file conflicts [###################################################################] 100%
(3/3) checking available disk space [###################################################################] 100%
:: Processing package changes...
(1/3) installing dnssec-anchors [###################################################################] 100%
(2/3) installing ldns [###################################################################] 100%
Optional dependencies for ldns
libpcap: ldns-dpa tool [installed]
(3/3) installing openssh [###################################################################] 100%
Optional dependencies for openssh
xorg-xauth: X11 forwarding
x11-ssh-askpass: input passphrase in X
libfido2: FIDO/U2F support
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
Failed to check for chroot() environment: No such file or directory
Skipped: Current root is not booted.
(2/3) Creating temporary files...
/proc/ is not mounted, but required for successful operation of systemd-tmpfiles. Please mount /proc/. Alternatively, consider using the --root= or --image= switches.
error: command failed to execute correctly
(3/3) Arming ConditionNeedsUpdate... It is important to note that I've changed my pacman RootDir:
RootDir = /home/meeexy/.pacman-root-dir my /etc/fstab does not seem to have /proc/ listed:
# /dev/nvme0n1p5
UUID=0bfad394-c018-4c4f-bec8-fa9c40875fe7 / ext4 rw,relatime 0 1
# /dev/nvme0n1p4
UUID=B44E-1F2C /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sdb4
UUID=07cca636-2b6f-4cae-8e93-dd243cb3b43a /home ext4 rw,relatime 0 2
# /dev/nvme0n1p6
UUID=e28b9596-d6c5-4f8e-9fdd-4948e32a18d1 none swap defaults 0 0Finally, this is the output of df -ah, which however, says /proc is indeed mounted and is listed twice??
Filesystem Size Used Avail Use% Mounted on
proc 0 0 0 - /proc
sys 0 0 0 - /sys
dev 7.8G 0 7.8G 0% /dev
run 7.9G 1.2M 7.9G 1% /run
efivarfs 0 0 0 - /sys/firmware/efi/efivars
/dev/nvme0n1p5 125G 11G 109G 9% /
securityfs 0 0 0 - /sys/kernel/security
tmpfs 7.9G 252M 7.6G 4% /dev/shm
devpts 0 0 0 - /dev/pts
cgroup2 0 0 0 - /sys/fs/cgroup
pstore 0 0 0 - /sys/fs/pstore
none 0 0 0 - /sys/fs/bpf
systemd-1 - - - - /proc/sys/fs/binfmt_misc
mqueue 0 0 0 - /dev/mqueue
hugetlbfs 0 0 0 - /dev/hugepages
debugfs 0 0 0 - /sys/kernel/debug
tracefs 0 0 0 - /sys/kernel/tracing
configfs 0 0 0 - /sys/kernel/config
fusectl 0 0 0 - /sys/fs/fuse/connections
tmpfs 7.9G 29M 7.8G 1% /tmp
/dev/nvme0n1p4 511M 60M 452M 12% /boot
/dev/sdb4 138G 62G 70G 48% /home
tmpfs 1.6G 16K 1.6G 1% /run/user/1000
gvfsd-fuse 0 0 0 - /run/user/1000/gvfs
proc 0 0 0 - /procOffline
It is important to note that I've changed my pacman RootDir:
RootDir = /home/meeexy/.pacman-root-dir
Why did you change the RootDir?
Last edited by loqs (2021-07-05 14:44:55)
Offline
Why did you change the RootDir?
No particular reason, I do regret doing that.
previously I ran out of space in my root, but it most likely would not have been the case, I decided to do it anyway. How bad could it have been. hahahah. hah.
Offline