initramfs-tools 版本 0.140ubuntu13.4 发生了什么?

Uli*_*ler 7 package-management apt official-repositories

我每天都会更新我的 Ubuntu-22.04 桌面。昨天(2023-08-09)安装了新版本initramf-tools。它的版本是0.140ubuntu13.4。

我每天都会通过apt-cache policy (package)和 via检查所有已安装软件包的来源apt show (package)。官方仓库中似乎不再提供上述版本。

我该如何继续?

  • 卸载版本0.140ubuntu13.4并重新安装以前的版本?
  • 忽略现状?
+ apt-cache policy initramfs-tools
initramfs-tools:
  Installed: 0.140ubuntu13.4
  Candidate: 0.140ubuntu13.4
  Version table:
 *** 0.140ubuntu13.4 100
        100 /var/lib/dpkg/status
     0.140ubuntu13.2 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     0.140ubuntu13 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
+ apt show initramfs-tools

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Package: initramfs-tools
Version: 0.140ubuntu13.4
Status: install ok installed
Priority: optional
Section: utils
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Installed-Size: 152 kB
Provides: linux-initramfs-tool
Depends: initramfs-tools-core (= 0.140ubuntu13.4), linux-base
Suggests: bash-completion
Conflicts: linux-initramfs-tool, usplash (<< 0.5.50)
Breaks: e2fsprogs (<< 1.42.13), initscripts (<< 2.88dsf-59.3~), netplan.io (<< 0.37), upstart
Download-Size: unknown
APT-Manual-Installed: no
APT-Sources: /var/lib/dpkg/status
Description: generic modular initramfs generator (automation)
 This package builds a bootable initramfs for Linux kernel packages.  The
 initramfs is loaded along with the kernel and is responsible for
 mounting the root filesystem and starting the main init system.
Run Code Online (Sandbox Code Playgroud)

Art*_*ild 4

从迄今为止所有可用信息来看,该软件包似乎处于分阶段更新状态并达到了 20%,然后被撤回。

这很可能意味着第一批获取此软件包的用户遇到了一个或多个错误,这些错误被认为严重到足以回滚更新(我尚未确定这些错误是哪些)。

在这种情况下,建议的操作可能是回滚到以前的版本。

apt这可以通过指定您要安装的确切版本来完成:

sudo apt-get install initramfs-tools=0.140ubuntu13.2 initramfs-tools-bin=0.140ubuntu13.2 initramfs-tools-core=0.140ubuntu13.2
Run Code Online (Sandbox Code Playgroud)

这应该降级回当前版本,并将输出以下内容,没有任何错误:(来自 的输出--dry-run

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be DOWNGRADED:
  initramfs-tools initramfs-tools-bin initramfs-tools-core
0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 0 not upgraded.
Inst initramfs-tools [0.140ubuntu13.4] (0.140ubuntu13.2 Ubuntu:22.04/jammy-updates [all]) []
Inst initramfs-tools-core [0.140ubuntu13.4] (0.140ubuntu13.2 Ubuntu:22.04/jammy-updates [all]) []
Inst initramfs-tools-bin [0.140ubuntu13.4] (0.140ubuntu13.2 Ubuntu:22.04/jammy-updates [amd64])
Conf initramfs-tools (0.140ubuntu13.2 Ubuntu:22.04/jammy-updates [all])
Conf initramfs-tools-core (0.140ubuntu13.2 Ubuntu:22.04/jammy-updates [all])
Conf initramfs-tools-bin (0.140ubuntu13.2 Ubuntu:22.04/jammy-updates [amd64])
Run Code Online (Sandbox Code Playgroud)

编辑:软件包维护者的最初响应似乎表明该版本被撤回是因为与点版本 22.04.3 的计划冲突,因此没有指出任何严重的错误。我将对此进行跟进 -请参阅此处

EDIT2:FWIW,它似乎又initramfs-tools 0.140ubuntu13.4回到了存储库的口袋里。release