通常update是指更新系统,比如给windows打打补丁。
而upgrade是指升级,比如将windows xp升级为vista, QQ2007升级为2008.

下面是字面解释
update 可翻译为 更新,软件达到最新,两个版本间差别不是很大
也就是软件支持商所做出的小的修改,及时的修复一些bugs.在发行版本上以WordPress 为例,WordPress 2.83更新到WordPress 2.84或者是说Windows XP SP2 更新到 Windows SP3.

upgrade 可翻译为 升级,软件功能得到很大的提升
相对 update 来说比较大的动作,革命性的改革.比如 WordPress2.7升级到 WordPress 2.8.或者是说从Windows XP 升级到 Windows 7.

update 和 upgrade 的侧重点不一样,update主要是使软件达到最新,比如WordPress 2.84 ,但 upgrade 更侧重的是软件功能得到一个很大的提升,区别于频繁的发布最新的补丁.比如WordPress 2.7 到 WordPress 2.8 ,虽然其中还有WordPress 2.71.

在linux中常常会对apt-get的update与upgrade的区别有疑问,以下是linux系统自己的解释
man apt-get

update
update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched from the
location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and scans the
Packages.gz files, so that information about new and updated packages is available. An update should always be performed before an
upgrade or dist-upgrade. Please be aware that the overall progress meter will be incorrect as the size of the package files cannot be
known in advance.

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; under no circumstances are
currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed
packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update
must be performed first so that apt-get knows that new versions of packages are available.

dist-upgrade
dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of
packages; apt-get has a “smart” conflict resolution system, and it will attempt to upgrade the most important packages at the expense of
less important ones if necessary. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package
files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.

这里的update只是刷新了一下源而已。刷新后,有新版本的东西就会出现了。
一般我就是update后再upgrade或者dist-upgrade,不一样的好像就是加dist会更新内核。

http://murray.cn/index.php/2010/01/linux-system-update-upgrade/

update与upgrade的区别相关推荐

  1. Linux里面 update 和 upgrade 的区别

    sudo apt-get update/upgrade的区别 sudo apt-get update 访问源列表里的每个网址,并读取软件列表,然后保存在本地电脑.我们在新立得软件包管理器里看到的软件列 ...

  2. Ubuntu 中apt update和upgrade 的区别

    运行gazebo出问题,往往就需要sudo apt upgrade来解决 摘自:https://blog.csdn.net/zhjulia123/article/details/83479515 简要 ...

  3. update和upgrade的区别

    update侧重的是更新,主要是为原有的东西增加新功能,或者对已有的部分做出更改等.比如,数据库更新数据,那么就是update,而不能用upgrade. upgrade侧重的的升级,是指将软件从较低级 ...

  4. linux apt-get update 和 upgrade 的区别

    update update 是同步 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的索引,这样才能获取到最新的软件包. upgrade up ...

  5. Linux下update和upgrade的区别

    update: 会从sources.list文件里读取软件源,并生成软件列表,保存到本地,软件列表里包含了软件基本信息以及下载地址. upgrade: 根据软件列表对通过apt-get安装的软件进行更 ...

  6. Linux中update和upgrade的区别

    update:更新源里的软件列表.一般指量的变化,侧重更新的意思,主要是为原有的东西增加新功能,或者对已有的部分做出更改等.更新数据源. upgrade:升级你系统里的软件.一般指质的变化,侧重升级的 ...

  7. Linux中的update和upgrade的区别

    update是更新源里的软件列表 upgrade顾名思义是升级,升级你系统里的软件 转载于:https://www.cnblogs.com/clemente/p/10588210.html

  8. apt-get update 和 upgrade 的区别

    update update 是同步 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的索引,这样才能获取到最新的软件包. upgrade up ...

  9. update 和 upgrade

    update和upgrade这两个单词一定是都不陌生的,虽然都是升级或者更新的意思,但很难搞懂两个单词到底有什么区别(其实在软件更新方面两个是可以通用的).最基本的讲,update是"更新& ...

  10. apt 的 update 和 upgrade 命令的区别是什么?

    如果想让你的 Ubuntu 或者 Debian 系统保持更新,要用 sudo apt update 和 sudo apt upgrade 命令组合. 一些以前的教程也会提到 sudo apt-get ...

最新文章

  1. SpringMVC 如何实现将消息的websocket
  2. 解决方案:Error:Execution failed for task ‘:app:compileDebugAidl‘. > aidl is missing
  3. Android UI编程之自定义控件初步(上)——ImageButton
  4. 手动安装huson插件的做法
  5. word_cloud
  6. 1001. A+B Format (20)---------------PAT开始
  7. python数据库优化_python | Mysql性能优化一
  8. 比尔•盖茨当选中国工程院外籍院士!(附名单)
  9. php数字从大到小生成,php输入几个数从大到小排序的案例
  10. Mvvm 前端数据流框架精讲
  11. 这位 50 岁的海归程序员,当着老板还在天天改 Bug
  12. opencv之在图像上绘制标记---drawMarker
  13. ecshop二次开发指南
  14. 不容错过的 能源logo设计灵感 标志设计
  15. mlir toy 教程(2)
  16. 三维数组matlab怎么画图,三维数组画图遇到问题
  17. Java控制鼠标和键盘的方法
  18. Vue3 组件通信方式【最好用的都在这里了】
  19. python中各种序列/容器的索引、切片小结;如何取得可迭代对象中的element?如何取元素?
  20. 基本概念学习(十)---系统

热门文章

  1. 非安装版 Python 安装 PIP
  2. 深入了解电容器,电容器有哪些主要作用?
  3. Python :文本数据挖掘并绘制词云图
  4. Python 识别图片中表格
  5. PowerShell输出IP地址
  6. 5g局域网传输速度_4G5G和上网带宽与下载速度的换算方法
  7. MQTT——国密SSL加密
  8. tsconfig.json详细配置
  9. 【转】“弱水三千 只取一瓢”(出处就不去考证了)
  10. Arcgis空间校正操作