You are not logged in.
What exactly did you do before the pacman command?
mount /dev/sda9 /mnt
arch-chroot /mnt
nano /etc/pacman.d/gnupg/gpg.conf
exit
dhcpcd enp0s18u1u1
pacman --sysroot /mnt --cachedir /mnt/var/cache/pacman/pkg -S archlinux-keyring
Offline
If you confirmed that gpg.conf has the relevant line, stop chrooting into the system.
Just reboot the iso mount /mnt and run pacman to update the keyring.
Offline
If you confirmed that gpg.conf has the relevant line, stop chrooting into the system.
Just reboot the iso mount /mnt and run pacman to update the keyring.
it gives the same 3 errors this time, just that there is no warning about creating the cache directory
Offline
stat /etc/mtab
stat /proc
stat /proc/self/mounts
Offline
stat /etc/mtab stat /proc stat /proc/self/mounts
how do i output to file?
Offline
Offline
i saved the output successfully using:
stat /etc/mtab &>> error.txt
stat /proc &>> error.txt
stat /proc/self/mounts &>> error.txt
however after rebooting into archlinux to access the internet i was not able to retrieve the contents of the file with this command:
sudo cat /dev/vcs1 >error.txt
the operation completed without showing any text on the terminal
Offline
stat /etc/mtab stat /proc stat /proc/self/mounts
File: /etc/mtab -> ../proc/self/mounts
Size: 19 Blocks: 0 IO Block: 1024 symbolic link
Device: 19h/25d Inode: 578 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2018-08-21 14:21:42.000000000 +0000
Modify: 2018-08-21 14:21:42.000000000 +0000
Change: 2018-08-21 14:21:42.000000000 +0000
Birth: -
File: /proc
Size: 0 Blocks: 0 IO Block: 1024 directory
Device: 5h/5d Inode: 1 Links: 116
Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-11-02 00:34:17.023333333 +0000
Modify: 2020-11-02 00:34:17.023333333 +0000
Change: 2020-11-02 00:34:17.023333333 +0000
Birth: -
File: /proc/self/mounts
Size: 0 Blocks: 0 IO Block: 1024 regular empty file
Device: 5h/5d Inode: 24458 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-11-02 00:37:13.689055121 +0000
Modify: 2020-11-02 00:37:13.689055121 +0000
Change: 2020-11-02 00:37:13.689055121 +0000
Birth: -
Offline
So proc and mtab are actually there.
I hope you meanwhile figured how to redirect output and access that file.
Right before you run pacman, dump
mount
lsblk -f
Offline
dump
mount lsblk -f
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1899984k,nr_inodes=474996,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/sr0 on /run/archiso/bootmnt type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048)
cowspace on /run/archiso/cowspace type tmpfs (rw,relatime,size=262144k,mode=755)
/dev/loop0 on /run/archiso/sfs/airootfs type squashfs (ro,relatime)
airootfs on / type overlay (rw,relatime,lowerdir=/run/archiso/sfs/airootfs,upperdir=/run/archiso/cowspace/persistent_ARCH_201811/x86_64/upperdir,workdir=/run/archiso/cowspace/persistent_ARCH_201811/x86_64/workdir,index=off)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=44,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14709)
configfs on /sys/kernel/config type configfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /etc/pacman.d/gnupg type tmpfs (rw,relatime,mode=755)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=390840k,mode=700)
/dev/sda9 on /mnt type ext4 (rw,relatime)
NAME FSTYPE LABEL UUID MOUNTPOINT
loop0 squashfs /run/archiso/sfs/airootfs
sda
├─sda1 vfat SYSTEM_DRV C0E1-F35B
├─sda2
├─sda3 ntfs Windows 3EBEE453BEE404ED
├─sda4 swap 6023a705-372a-42ab-99f0-c3ec0284271f
├─sda5 LVM2_member TH4Txe-PYIC-swzT-EAGF-Ix4V-z2ZJ-5yWCsH
│ └─fedora-root ext4 c5876613-307b-47fd-90ec-197351db6293
├─sda6 ntfs LENOVO 3C8082BE80827DE0
├─sda7 ext4 fe145e75-ed7d-4595-abb8-e5e236b7b39d
├─sda8 ntfs WINRE_DRV 2A74E78674E7535D
├─sda9 ext4 47f1cd25-4c9d-4ca4-b349-f7bb71960e6f /mnt
├─sda10 ntfs vista 16A089554C49E19A
├─sda11 ext4 f87ce716-69e7-46b4-b67a-7e97f734f0c1
├─sda12 ext4 5b7ed749-8a58-49ec-9a30-05608c3257f0
└─sda13 ext4 593f40ac-64b0-4771-a98e-c936d083f785
sr0 iso9660 ARCH_201811 2018-11-01-07-15-12-00 /run/archiso/bootmnt
Offline
There's a lot of partitions… what's the output of "ls /mnt" and "cat /mnt/etc/arch-release"?
Offline
There's a lot of partitions
yes besides windows install ubuntu. and fedora for testing. useful now when arch installation has problem
Offline
what's the output of "ls /mnt" and "cat /mnt/etc/arch-release"?
bin
boot
dev
etc
home
lib
lib64
lost+found
mirrorlistbest
mnt
opt
output.txt
output0.txt
proc
root
run
sbin
snap
srv
sys
tmp
usr
var
the arch-release file exists but is empty
Offline