下面是执行命令sudo pacman -S openssh后的输出,这是啥情况?
[peter@Arch ~]$ sudo pacman -S openssh
[sudo] password for peter:
warning: openssh-8.9p1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) openssh-8.9p1-1
Total Download Size: 1.09 MiB
Total Installed Size: 4.18 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
openssh-8.9p1-1-... 1113.4 KiB 3.98 MiB/s 00:00 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) reinstalling openssh [######################] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib/colord.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/dbus.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/lock.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/lock.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/cache.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/sudo.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib/systemd.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd/netif.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd/netif.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/systemd/netif.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib/systemd.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/cache.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib/tpm2-tss/system.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/tpm2-tss.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var.
Detected unsafe path transition / (owned by peter) → /etc (owned by root) during canonicalization of /etc/brlapi.key.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal/b7a27c1e1b70427d9430eafa431ee715.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal/b7a27c1e1b70427d9430eafa431ee715.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal/b7a27c1e1b70427d9430eafa431ee715.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal/remote.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/lib/libvirt/qemu.
Detected unsafe path transition / (owned by peter) → /sys (owned by root) during canonicalization of /sys/devices/system/cpu/microcode.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev/snd/timer.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev/net/tun.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev/fuse.
Detected unsafe path transition / (owned by peter) → /dev (owned by root) during canonicalization of /dev/kvm.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/log/journal.
Detected unsafe path transition / (owned by peter) → /run (owned by root) during canonicalization of /run/log/journal.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal/b7a27c1e1b70427d9430eafa431ee715/system.journal.
Detected unsafe path transition / (owned by peter) → /var (owned by root) during canonicalization of /var/log/journal/b7a27c1e1b70427d9430eafa431ee715/system.journal.
error: command failed to execute correctly
(3/3) Arming ConditionNeedsUpdate...
开源/Linux大众化,从驿窗开始~
离线
试试 sudo chown root:root /
离线
你怎么 own 了 / 呢?
离线
不太清楚,有一个可能是在系统安装时反复用到live环境并arch-chroot后装一些东西。
这个问题是可修复的么?还是说,最好重装?
二楼的命令说“试试”,我有点没底~
最近编辑记录 驿窗 (2022-03-18 15:18:36)
开源/Linux大众化,从驿窗开始~
离线
二楼的命令说“试试”,我有点没底~
毕竟我也没遇到过你这种情况,不知道为什么你会让普通用户拥有根目录(
离线
改回去呗。记得别加 -R。
离线
没关系,我重装下。
之前安装时反复搞了几次才装好,很久不装手生了~
开源/Linux大众化,从驿窗开始~
离线
发现了这个问题,还不清楚有没有别的问题,干脆重装~
开源/Linux大众化,从驿窗开始~
离线