安装了双包吗?

安装了双包吗?

我发现我安装了两个不同版本但相同的软件包。例如以下是安装的两个 linux-firmware。

Package: linux-firmware
Architecture: all
Version: 1.187.10
Multi-Arch: foreign
Priority: optional
Section: misc
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 545755
Provides: atmel-firmware
Conflicts: atmel-firmware
Breaks: linux-firmware-raspi2 (<= 1.20190819-0ubuntu2), linux-firmware-snapdragon (<= 1.2-0ubuntu1)
Replaces: atmel-firmware, linux-firmware-snapdragon (<= 1.2-0ubuntu1), linux-restricted-common
Filename: pool/main/l/linux-firmware/linux-firmware_1.187.10_all.deb
Size: 102768040
MD5sum: 819c7933a41766c75fb90fdf43424660
SHA1: faed33f1f9914d92a35bc15cdad854f10af42639
SHA256: 758bbb4d01c38186f26fd67fb35f624c66d559fab7c0269222efe901ba98dd53
SHA512: d82df37e09acf1e1953d497d0781c336cc476d495509a09dbeade152923af920878589d2960f7e078cc4226563ae3d801147fca32497f59445533db8682a72a4
Description-en: Firmware for Linux kernel drivers
 This package provides firmware used by Linux kernel drivers.
Description-md5: 7a047bff9e44dce458a300976c12f9da
Task: ubuntustudio-desktop-core, ubuntustudio-desktop

Package: linux-firmware
Architecture: all
Version: 1.187
Multi-Arch: foreign
Priority: optional
Section: misc
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 522910
Provides: atmel-firmware
Conflicts: atmel-firmware
Breaks: linux-firmware-raspi2 (<= 1.20190819-0ubuntu2), linux-firmware-snapdragon (<= 1.2-0ubuntu1)
Replaces: atmel-firmware, linux-firmware-snapdragon (<= 1.2-0ubuntu1), linux-restricted-common
Filename: pool/main/l/linux-firmware/linux-firmware_1.187_all.deb
Size: 98718284
MD5sum: b9d9ab13f41f316a33f406d5145939ce
SHA1: 875ed1bb7f9738965cc5edcb435237812fb2fa4b
SHA256: cb27d20f8a11ddd89ca4d0de9f6c2b3abf6266a1005f774ec8b11fc1983a7893
Description-en: Firmware for Linux kernel drivers
 This package provides firmware used by Linux kernel drivers.
Description-md5: 7a047bff9e44dce458a300976c12f9da
Task: ubuntustudio-desktop-core, ubuntustudio-desktop

正如你所见,有两个版本:

版本:1.187.10

版本:1.187

我可以删除一个吗?例如 1.187?

答案1

您正在显示输出apt-cache show linux-firmware- 此命令显示可用的版本。

只有一个是真的已安装
您可以通过以下方式检查其版本号:

  • apt-cache policy linux-firmware
  • dpkg -l linux-firmware

或者使用在 packages.ubuntu.com 上搜索出于同样的目的。
对于 Ubuntu 20.04 LTS (focal),最新版本是1.187.10焦点更新口袋。

无需采取任何额外行动。APT 已经为您做好了一切。

相关内容