能不能直接使用apt-get update命令更新软件呢
Tofloor
poster avatar
kyleli8628
deepin
2012-10-25 06:57
Author
能不能直接使用apt-get update命令更新软件呢?不想在软件中心挨着点啊,几百个,手点酸咯
Reply Favorite View the author
All Replies
186******00
deepin
2012-10-25 06:58
#1
sudo apt-get update&&sudo apt-get dist-upgrade
好像是这么写的
Reply View the author
cxbii
deepin
2012-10-25 17:52
#2
sudo apt-get update&&sudo apt-get dist-upgrade
好像是这么写的
  1. sudo apt-get update&&sudo apt-get upgrade
Copy the Code
这样即可,你的貌似是跨版本升级,一般不要用那个
Reply View the author
186******00
deepin
2012-10-26 00:30
#3
[quote]sudo apt-get update&&sudo apt-get dist-upgrade
好像是这么写的
  1. sudo apt-get update&&sudo apt-get upgrade
Copy the Code
这样即可,你的貌似是跨版本升级,一般不要用那个[/quote]
昂,明白了。
Reply View the author
a287740928
deepin
2012-10-26 04:08
#4
[quote][quote]sudo apt-get update&&sudo apt-get dist-upgrade
好像是这么写的
  1. sudo apt-get update&&sudo apt-get upgrade
Copy the Code
这样即可,你的貌似是跨版本升级,一般不要用那个[/quote]
昂,明白了。[/quote]
分开来也可以,先
  1. sudo apt-get update
Copy the Code
,这个是更新源列表;
然后
  1. sudo apt-get upgrade
Copy the Code
,这个事更新软件。
Reply View the author
bsfmig
deepin
2012-10-26 23:52
#5
[quote]sudo apt-get update&&sudo apt-get dist-upgrade
好像是这么写的
  1. sudo apt-get update&&sudo apt-get upgrade
Copy the Code
这样即可,你的貌似是跨版本升级,一般不要用那个[/quote]
nonono,dist-upgrade不会进行跨版本升级,而且在使用开发版的Ubuntu时,经常需要用到这个参数。其作用是允许升级时删除某些软件以满足依赖。
Reply View the author
cxbii
deepin
2012-10-27 05:04
#6
[quote][quote]sudo apt-get update&&sudo apt-get dist-upgrade
好像是这么写的
  1. sudo apt-get update&&sudo apt-get upgrade
Copy the Code
这样即可,你的貌似是跨版本升级,一般不要用那个[/quote]
nonono,dist-upgrade不会进行跨版本升级,而且在使用开发版的Ubuntu时,经常需要用到这个参数。其作用是允许升级时删除某些软件以满足依赖。[/quote]
: 知道咯
Reply View the author