系统更新的命令是什么?
Tofloor
poster avatar
xinyonghu
deepin
2016-03-27 17:49
Author
直接点更新,总是提示失败,请教各位大神怎么用命令升级,我忘了。
Reply Favorite View the author
All Replies
avatar
macaiyun0629
deepin
2016-03-27 17:57
#1
sudo apt-get update && sudo apt-get dist-upgrade
Reply View the author
avatar
xinyonghu
deepin
2016-03-27 18:08
#2
https://bbs.deepin.org/post/38383
sudo apt-get update && sudo apt-get dist-upgrade

谢谢你,我试试去
Reply View the author
avatar
xinyonghu
deepin
2016-03-27 18:24
#3
https://bbs.deepin.org/post/38383
sudo apt-get update && sudo apt-get dist-upgrade

Reply View the author
avatar
starcnt
deepin
2016-03-27 18:51
#4

有损坏的依赖关系,先按提示运行sudo apt-get -f install ,再尝试升级
Reply View the author
avatar
xinyonghu
deepin
2016-03-27 19:54
#5
https://bbs.deepin.org/post/38383
有损坏的依赖关系,先按提示运行sudo apt-get -f install ,再尝试升级

已经运行了这个命令,提示权限不够
Reply View the author
avatar
xinyonghu
deepin
2016-03-27 19:55
#6
https://bbs.deepin.org/post/38383
有损坏的依赖关系,先按提示运行sudo apt-get -f install ,再尝试升级

不知道怎么以root用户运行,结果如上图
Reply View the author
avatar
starcnt
deepin
2016-03-27 20:02
#7
https://bbs.deepin.org/post/38383
不知道怎么以root用户运行,结果如上图

你看没看我写的命令?你的命令前面没有加sudo啊~~~
Reply View the author
avatar
zouqilin
deepin
2016-03-27 21:45
#8
唉 不会google  也应该去百度啊   太懒了
Reply View the author
avatar
xliang9550
deepin
2016-03-27 22:40
#9
楼主输入-f命令的时候没有sudo。(倒数第五行)
Reply View the author
avatar
xinyonghu
deepin
2016-03-28 00:07
#10
https://bbs.deepin.org/post/38383
你看没看我写的命令?你的命令前面没有加sudo啊~~~

看到了,谢谢
Reply View the author
avatar
xinyonghu
deepin
2016-03-28 00:07
#11
https://bbs.deepin.org/post/38383
唉 不会google  也应该去百度啊   太懒了

抱歉,我实在不懂命令
Reply View the author
avatar
xinyonghu
deepin
2016-03-28 00:08
#12
https://bbs.deepin.org/post/38383
楼主输入-f命令的时候没有sudo。(倒数第五行)

谢谢你,重新输入了
Reply View the author
avatar
xinyonghu
deepin
2016-03-28 00:31
#13
更新成功,谢谢各位
Reply View the author
avatar
enjoyidle
deepin
2016-03-28 02:39
#14
借問一下

我一樣在終端機上打「sudo apt-get update && sudo apt-get dist-upgrade」
更新出現這個問題
E: 無法將 /var/lib/apt/lists/lock 鎖定 - open (11: 資源暫時無法取得)
E: Unable to lock directory /var/lib/apt/lists/


接著看回文打上這個「sudo apt-get -f install」

正在讀取套件清單... 完成
正在重建相依關係         
正在讀取狀態資料... 完成
升級 0 個,新安裝 0 個,移除 0 個,有 0 個未被升級。

最後打入「sudo apt-get update 」
一樣無法

請問有什麼解決方案嗎?
Reply View the author
avatar
136******54
deepin
2016-03-28 02:44
#15
https://bbs.deepin.org/post/38383
借問一下

我一樣在終端機上打「sudo apt-get update && sudo apt-get dist-upgrade」

出现第一个问题说明后台正在更新,这个需要等一会,或者在控制中心关闭自动更新然后重启
至于第二个,那表明系统没有更新
Reply View the author
avatar
enjoyidle
deepin
2016-03-28 03:24
#16
https://bbs.deepin.org/post/38383
出现第一个问题说明后台正在更新,这个需要等一会,或者在控制中心关闭自动更新然后重启
至于第二个,那 ...

謝謝你的回覆 讓我知道許多

小弟才疏學淺  

我一開始使用界面去更新,但是一直沒更新  所以我也沒去管他

重啟後  已解決問題
Reply View the author