[problem help] sudo apt安装命令,等大约4-5秒才显示“请输入密码”提示 Resolved
Tofloor
poster avatar
枫原万叶
deepin
2024-02-04 00:00
Author

延时感觉有点长,原因未知。
image.png

Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2024-02-04 00:07
#1

可能是 /etc/hosts 问题?

参考这个:https://bbs.deepin.org/phone/zh/post/267859

Reply View the author
枫原万叶
deepin
2024-02-04 00:09
#2
It has been deleted!
neko
deepin
Ecological co-builder
2024-02-04 00:14
#3
枫原万叶 It has been deleted!

试试在/etc/hosts的localhost后面加上你的主机名,参考一楼链接

Reply View the author
枫原万叶
deepin
2024-02-04 00:16
#4

sudo命令

real 15.298秒

变成了:

real 0.249秒

Reply View the author
枫原万叶
deepin
2024-02-04 00:16
#5
阿尼樱奈奈

可能是 /etc/hosts 问题?

参考这个:https://bbs.deepin.org/phone/zh/post/267859

感谢,修改后已没问题

Reply View the author
枫原万叶
deepin
2024-02-04 00:16
#6
neko

试试在/etc/hosts的localhost后面加上你的主机名,参考一楼链接

多谢,已修改。

Reply View the author