update
update 是同步 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的索引,这样才能获取到最新的软件包。
upgrade
upgrade 是升级已安装的所有软件包,升级之后的版本就是本地索引里的,因此,在执行 upgrade 之前一定要执行 update, 这样才能是最新的。
An update should always be performed before an upgrade or dist-upgrade.
upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded.
原文链接:https://blog.csdn.net/duyiwuer2009/article/details/26983267
Ubuntu16.04下升级Python到3.7: https://www.cnblogs.com/harry-xiaojun/p/10482881.html
Powered by ddoss.cn 12.0
©2015 - 2026 ddoss
渝公网安备50011302222260号
渝ICP备2024035333号|小程序备渝ICP备2024035333号-2X
|小绿叶技术博客(ddoss.cn)简介|
【实验平台安全承诺书】
主机监控系统: 安全防火墙已开启检查cc攻击-下载文件完成后等待10s 恢复访问,检查连接数低于峰值恢复访问
您的IP:216.73.216.110,2026-01-16 18:01:03,Processed in 0.01597 second(s).