gpt4 book ai didi

linux - 无法安装/修复咖啡因(咖啡因)

转载 作者:太空宇宙 更新时间:2023-11-04 12:17:35 27 4
gpt4 key购买 nike

我无法运行 caffeinate 命令

caffeinate

The program 'caffeinate' is currently not installed. You can install it by typing: sudo apt install caffeine

但是当我安装它时(输入建议的命令):

sudo apt install caffeine

Reading package lists... Done Building dependency tree
Reading state information... Done caffeine is already the newest version (2.8.3-3build1). 0 to upgrade, 0 to newly install, 0 to remove and 67 not to upgrade.

它似乎已经安装好了,caffeinate 给出了同样的错误。

我没有以下文件:/usr/bin/caffeinate我删除了它并计划重新安装,因为它无法识别命令。例如caffeinate -t​​ 18000 中的 -t 未被识别。但我不知道如何重新安装它。

我正在使用 GNOME Shell 3.18.5。

最佳答案

我在我的 Ubuntu 16.04 上试过了,它对我有用。如果你破坏了你的安装,你可以试试

sudo apt purge caffeine
sudo apt install caffeine

(这对我使用其他软件包有帮助)。

否则,我建议您在 https://unix.stackexchange.com/ 论坛上提问更合适。

关于linux - 无法安装/修复咖啡因(咖啡因),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46995105/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com