Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
sudo apt-get install的问题
Experiences and Insight
1004
views ·
7
replies ·
To
floor
Go
不避风云
deepin
2014-12-01 22:51
Author
有些软件sudo apt-get install xxx会提醒你是否确定下载。你可以加个 -y
变成sudo apt-get install xxx -y就可以默认确定下载了。但是在深度终端下有部分软件很流氓,只要你输入sudo apt-get install xxx回车就不问你确认不确认就直接下载安装了。你们遇到过类似问题没?
Reply
Like 0
Favorite
View the author
All Replies
m927259903
deepin
2014-12-02 03:44
#1
那是依赖 OK
Reply
Like 0
View the author
cxbii
deepin
2014-12-02 17:26
#2
这个在其他发行版本也是一样的,记得是5分钟授权还是什么的
Reply
Like 0
View the author
newo2
deepin
2014-12-02 20:55
#3
-y的授权会有一个记忆,只要你不关闭窗口,这个授权一直有效。PS:不只是apt-get这样的,yum,zypper都这样。
Reply
Like 0
View the author
Feng Yu
deepin
2014-12-02 21:57
#4
我记得这个是ubuntu的设定,安装多于一个包的时候就会问你y/N,但是如果最终结果只会安装一个包的时候就不会询问直接安装。
Reply
Like 0
View the author
不避风云
deepin
2014-12-03 05:27
#5
嗯嗯,应该是这个样子,理解。
Reply
Like 0
View the author
xliang9550
deepin
2014-12-03 05:33
#6
好像和需要下载的数据量有关,如果很少的话就直接下载了。
Reply
Like 0
View the author
呆了个呆
deepin
2014-12-03 20:14
#7
我发现,通常不用 -y 就自动确认的软件都是比较小的,一般几十,几百k的样子
Reply
Like 0
View the author
Please
sign
in first
New Thread
Rankings
7 days
30 days
90 days
1
buyike
125 posts
2
度深蓝
92 posts
3
chmod700
89 posts
4
阿尼樱奈奈
84 posts
5
Merlin
67 posts
6
晚秋(lateautumn)
66 posts
Popular Events
More
变成sudo apt-get install xxx -y就可以默认确定下载了。但是在深度终端下有部分软件很流氓,只要你输入sudo apt-get install xxx回车就不问你确认不确认就直接下载安装了。你们遇到过类似问题没?