我可以在Gentoo linux中使用emerge搜索某个程序(例如:htop)。
$ emerge --search sys-process/htop
[ Results for search key : sys-process/htop ]
Searching...
* sys-process/htop
Latest version available: 1.0.2-r1
Latest version installed: [ Not Installed ]
Size of files: 380 KiB
Homepage: http://htop.sourceforge.net
Description: interactive process viewer
License: BSD GPL-2
[ Applications found : 1 ]但我无法搜索或安装其他程序(如Nvidia驱动程序)
$ emerge --search x11-drivers/nvidia-drivers
[ Results for search key : x11-drivers/nvidia-drivers ]
Searching...
[ Applications found : 0 ]怎么啦?
发布于 2021-01-23 20:42:17
如果我运行搜索,我会得到以下结果:
hydra ~ # emerge --search x11-drivers/nvidia-drivers
[ Results for search key : x11-drivers/nvidia-drivers ]
Searching...
* x11-drivers/nvidia-drivers
Latest version available: 455.45.01-r1
Latest version installed: [ Not Installed ]
Size of files: 180.214 KiB
Homepage: https://www.nvidia.com/Download/Find.aspx
Description: NVIDIA Accelerated Graphics Driver
License: GPL-2 NVIDIA-r2
[ Applications found : 1 ]
hydra ~ # emerge --search sys-process/htop
[ Results for search key : sys-process/htop ]
Searching...
* sys-process/htop
Latest version available: 3.0.2
Latest version installed: 3.0.2
Size of files: 173 KiB
Homepage: https://htop.dev/ https://github.com/htop-dev/htop
Description: interactive process viewer
License: BSD GPL-2
[ Applications found : 1 ]您能检查一下您的portage树是不是最新的吗?您使用的是什么架构?x86_64?
emerge --synchttps://stackoverflow.com/questions/65782406
复制相似问题