简体   繁体   English

找不到目标:无法在 Arch Linux 中安装软件包

[英]Target not Found: Not Able to Install Packages in Arch Linux

I tried to install several packages on Arch Linux on Docker.我尝试在 Docker 上的 Arch Linux 上安装几个软件包。 Here is the steps:以下是步骤:

docker run -it --rm archlinux
pacman -Syu --noconfirm
pacman -S bwidget

All I got is我得到的只是

[root@d2102c694f15 /]# pacman -S bwidget
error: target not found: bwidget

Although, I can see that bwidget is available in Arch Linux repository ( https://aur.archlinux.org/packages/bwidget/ ).虽然,我可以在 Arch Linux 存储库 ( https://aur.archlinux.org/packages/bwidget/ ) 中看到bwidget可用。

This happens also for other packages like udunits , jags , v8 , and some others.这也发生像其他包udunitsjagsv8 ,和其他一些人。

Any idea why this is happening?知道为什么会这样吗?

I was wrong, I thought https://aur.archlinux.org/packages/bwidget/ is the official repository.我错了,我以为https://aur.archlinux.org/packages/bwidget/是官方存储库。 It is not.它不是。 To install from https://aur.archlinux.org/ , one needs to do the steps written in https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages要从https://aur.archlinux.org/安装,需要执行https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages 中编写的步骤

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM