由于Deepin社区更新策略发生变化,所以很多在Deepin 15.7下更新都会出现软件自动降级的情况发生,有些更新一次要降级一百多个软件包,这是正常情况,不用担心,当然也会有办法让更新不降级。
以下是用命令$ sudo apt update、$ apt list --upgradable得到的结果: 正在列表... 完成 aspnetcore-runtime-2.1/stretch,stretch 2.1.4-1 amd64 [可从该版本升级:2.1.3-1] dotnet-host/stretch,stretch 2.1.4-1 amd64 [可从该版本升级:2.1.3-1] dotnet-hostfxr-2.1/stretch,stretch 2.1.4-1 amd64 [可从该版本升级:2.1.3-1] dotnet-runtime-2.1/stretch,stretch 2.1.4-1 amd64 [可从该版本升级:2.1.3-1] dotnet-runtime-deps-2.1/stretch,stretch 2.1.4-1 amd64 [可从该版本升级:2.1.3-1] dotnet-sdk-2.1/stretch,stretch 2.1.402-1 amd64 [可从该版本升级:2.1.401-1] wps-office/panda 10.1.0.6757 amd64 [可从该版本升级:10.1.0.6634] xmind/panda,panda 3.7.2deepin all [可从该版本升级:3.7.1] amor@amor-PC:~$ sudo apt dist-upgrade 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 正在计算更新... 完成 下列软件包是自动安装的并且现在不需要了: libmono-btls-interface4.0-cil mono-llvm-tools msbuild msbuild-libhostfxr msbuild-sdkresolver 使用'sudo apt autoremove'来卸载它(它们)。 下列软件包将被【卸载】: mono-llvm-support mono-roslyn 下列【新】软件包将被安装: libmono-system-runtime-interopservices-runtimeinformation4.0-cil 下列软件包将被升级: aspnetcore-runtime-2.1 dotnet-host dotnet-hostfxr-2.1 dotnet-runtime-2.1 dotnet-runtime-deps-2.1 dotnet-sdk-2.1 wps-office xmind 下列软件包将被【降级】: ca-certificates-mono cli-common google-chrome-stable libgdiplus libmono-2.0-1 libmono-2.0-dev libmono-accessibility4.0-cil libmono-cairo4.0-cil libmono-cecil-private-cil libmono-cil-dev libmono-codecontracts4.0-cil libmono-compilerservices-symbolwriter4.0-cil libmono-corlib4.5-cil libmono-cscompmgd0.0-cil libmono-csharp4.0c-cil libmono-custommarshalers4.0-cil libmono-data-tds4.0-cil libmono-db2-1.0-cil libmono-debugger-soft4.0a-cil libmono-http4.0-cil libmono-i18n-cjk4.0-cil libmono-i18n-mideast4.0-cil libmono-*...... libmono-system-web-http-webhost4.0-cil libmono-system-web-http4.0-cil libmono-system-web-mobile4.0-cil libmono-system-web-mvc3.0-cil libmono-system-web-razor2.0-cil libmono-system-web-regularexpressions4.0-cil libmono-system-web-routing4.0-cil libmono-system-web-services4.0-cil libmono-system-web-webpages-deployment2.0-cil libmono-system-web-webpages-razor2.0-cil libmono-system-web-webpages2.0-cil libmono-system-web4.0-cil libmono-system-windows-forms-datavisualization4.0a-cil libmono-system-windows-forms4.0-cil libmono-system-windows4.0-cil libmono-system-workflow-activities4.0-cil libmono-system-workflow-componentmodel4.0-cil libmono-system-workflow-runtime4.0-cil libmono-system-xaml4.0-cil libmono-system-xml-linq4.0-cil libmono-system-xml-serialization4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libmono-tasklets4.0-cil libmono-webbrowser4.0-cil libmono-webmatrix-data4.0-cil libmono-windowsbase4.0-cil libmono-xbuild-tasks4.0-cil libmonoboehm-2.0-1 libmonosgen-2.0-1 libmonosgen-2.0-dev mono-4.0-gac mono-4.0-service mono-complete mono-csharp-shell mono-dbg mono-devel mono-gac mono-jay mono-mcs mono-runtime mono-runtime-common mono-runtime-sgen mono-utils mono-xbuild mono-xsp4 mono-xsp4-base monodoc-base monodoc-manual typora 升级了 8 个软件包,新安装了 1 个软件包,降级了 167 个软件包,要卸载 2 个软件包,有 0 个软件包未被升级。 需要下载 539 MB 的归档。 解压缩后将会空出 137 MB 的空间。 您希望继续执行吗? [Y/n] y 获取:1 http://packages.deepin.com/deepin panda/main amd64 mono-complete amd64 4.6.2.7+dfsg-2 [30.2 kB] 下载过程...... 获取:174 http://packages.deepin.com/deepin panda/non-free amd64 typora amd64 0.9.53-1 [43.7 MB] 获取:176 http://packages.deepin.com/deepin panda/non-free amd64 xmind all 3.7.2deepin [133 MB] 已下载 539 MB,耗时 4分 14秒 (2,123 kB/s) 正在从软件包中解出模板:100% 正在预设定软件包 ... dpkg: 警告: 即将把 mono-complete 从 5.14.0.177-0xamarin3+debian9b1 降级到 4.6.2.7+dfsg-2 (正在读取数据库 ... 系统当前共安装有 395050 个文件和目录。) 正准备解包 .../mono-complete_4.6.2.7+dfsg-2_amd64.deb ... 安装过程...... 正准备解包 .../105-xmind_3.7.2deepin_all.deb ... 正在将 xmind (3.7.2deepin) 解包到 (3.7.1) 上 ... 正在设置 wps-office (10.1.0.6757) ... 正在处理用于 lastore-daemon (0.9.66.2-2) 的触发器 ... 正在设置 mono-dbg (4.6.2.7+dfsg-2) ... 正在处理用于 mime-support (3.60) 的触发器 ... 正在处理用于 desktop-file-utils (0.23-3) 的触发器 ... 正在设置 libmonosgen-2.0-1 (4.6.2.7+dfsg-2) ... 正在设置 libmono-2.0-1 (4.6.2.7+dfsg-2) ... 正在设置 dotnet-runtime-deps-2.1 (2.1.4-1) ... 正在设置 dotnet-host (2.1.4-1) ... 正在处理用于 bamfdaemon (0.5.3-2+b1) 的触发器 ... Rebuilding /usr/share/applications/bamf-2.index... 正在设置 xmind (3.7.2deepin) ... 正在处理用于 libc-bin (2.27-3) 的触发器 ... 正在处理用于 systemd (238-5) 的触发器 ... 正在处理用于 deepin-default-settings-tuning (2018.8.8-1) 的触发器 ... 正在处理用于 man-db (2.8.3-2) 的触发器 ... 正在处理用于 shared-mime-info (1.9-2) 的触发器 ... 正在设置 monodoc-manual (4.6.2.7+dfsg-2) ... 正在设置 libgdiplus (4.2-2) ... 正在设置 google-chrome-stable (68.0.3440.84-1) ... 正在设置 libmonoboehm-2.0-1 (4.6.2.7+dfsg-2) ... 正在处理用于 ca-certificates (20180409) 的触发器 ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Updating Mono key store Linux Cert Store Sync - version 4.6.2.0 Synchronize local certs with certs from local Linux trust store. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed. I already trust 133, your new list has 133 Import process completed. Done done. 正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ... ...... 正在设置 dotnet-sdk-2.1 (2.1.402-1) ... This software may collect information about you and your use of the software, and send that to Microsoft. Please visit http://aka.ms/dotnet-cli-eula for more information. Welcome to .NET Core! --------------------- Learn more about .NET Core: https://aka.ms/dotnet-docs Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs Telemetry --------- The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell. Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry Configuring... -------------- A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once. 正在设置 mono-runtime-sgen (4.6.2.7+dfsg-2) ... ...... 正在设置 libmono-microsoft-build-framework4.0-cil (4.6.2.7+dfsg-2) ... 正在设置 mono-gac (4.6.2.7+dfsg-2) ... * Installing 1 assembly from libnunit-console-runner2.6.3-cil into Mono * Installing 1 assembly from libnunit-core2.6.3-cil into Mono * Installing 1 assembly from libnunit-core-interfaces2.6.3-cil into Mono * Installing 1 assembly from libnunit-framework2.6.3-cil into Mono * Installing 1 assembly from libnunit-mocks2.6.3-cil into Mono * Installing 1 assembly from libnunit-util2.6.3-cil into Mono * Installing 1 assembly from policy.2.6.nunit-console-runner into Mono * Installing 1 assembly from policy.2.6.nunit.core into Mono * Installing 1 assembly from policy.2.6.nunit.core.interfaces into Mono * Installing 1 assembly from policy.2.6.nunit.framework into Mono * Installing 1 assembly from policy.2.6.nunit.mocks into Mono * Installing 1 assembly from policy.2.6.nunit.util into Mono 正在设置 libmono-system-runtime-interopservices-runtimeinformation4.0-cil (4.6.2.7+dfsg-2) ... 正在设置 mono-runtime-common (4.6.2.7+dfsg-2) ... 正在安装新版本配置文件 /etc/mono/2.0/Browsers/Compat.browser ... 正在安装新版本配置文件 /etc/mono/2.0/machine.config ... 正在安装新版本配置文件 /etc/mono/4.0/Browsers/Compat.browser ... 正在安装新版本配置文件 /etc/mono/4.0/machine.config ... 正在安装新版本配置文件 /etc/mono/4.5/Browsers/Compat.browser ... 正在安装新版本配置文件 /etc/mono/4.5/machine.config ... 正在安装新版本配置文件 /etc/mono/config ... 正在设置 libmono-system-workflow-runtime4.0-cil (4.6.2.7+dfsg-2) ... 设置软件包过程...... 正在设置 mono-xsp4 (4.2-2.1) ... Using Mono XSP 4 port: 8084 Binding Mono XSP 4 address: 0.0.0.0 Use of uninitialized value $libs in concatenation (.) or string at /usr/sbin/mono-xsp4-update line 216. 正在处理用于 ca-certificates (20180409) 的触发器 ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Updating Mono key store Linux Cert Store Sync - version 4.6.2.0 Synchronize local certs with certs from local Linux trust store. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed. I already trust 133, your new list has 133 Import process completed. Done done. 正在设置 mono-complete (4.6.2.7+dfsg-2) ... 正在处理用于 libc-bin (2.27-3) 的触发器 ...
如果你不想被降级,也可以参考以下解决方案,请参考以下文章: Deepin降级保护措施的实现方法:https://ywnz.com/linuxjc/2999.html
相关主题 |