arch linux 警告跳过目标

arch linux 警告跳过目标

我正在安装 arch 并且运行时遇到问题

pacstrap -i /mnt base base-devel

问题是我得到:

warning: skipping target: file

warning: skipping target: fileutils

 warning: skipping target: gawk

warning: skipping target: gettext

warning: skipping target: grep

warning: skipping target: gzip

warning: skipping target: pacman

warning: skipping target: sed

warning: skipping target: texinfo

warning: skipping target: util-linux

warning: skipping target: which

在运行命令之前我所做的就是:

使用parted创建2个分区:

(parted) mkpart primary ext4 1MiB 460GiB


(parted) set 1 boot on


(parted) mkpart primary linux-swap 460GiB 476GiB

然后:

mkfs.ext4 /dev/sda1


mkswap /dev/sda2


swapon /dev/sda2


mount /dev/sda1 /mnt

PS我使用MBR/BIOS

如果可以的话请帮忙,谢谢。我也检查过在 Arch 上安装基础和基础开发时出现问题

答案1

这些警告是针对重复包的,请参阅代码和 pacman 组查询

https://git.archlinux.org/pacman.git/tree/src/pacman/sync.c#n526

% pacman -Qg base base-devel | grep which 
base which
base-devel which

相关内容