APT假装已充分更新,但是Libxml2也不会更新2.9.10,即使最新版本为2.9.14?

发布于 2025-02-07 02:12:57 字数 1709 浏览 4 评论 0 原文

我正在更新运行Debian 10的Raspberry Pi。具体来说,我需要从2.9.4(非常旧的!)更新软件包 libxml2 为2.9.14,以保护自己免受 cve-2022-23308 。为此,我不得不将Debian 10(Buster)更新为Debian 11(Bullseye),这使我能够更新许多包装。但是,我只是最新版本的一方面,但是APT使我无法进一步更新?

要尽可能更新,我按以下顺序进行以下操作,遵循这些指令

  1. 更新 /etc/apt/sources.list 以及 /etc/Apt/Sources.list.d 中的所有文件以替换所有实例带有“稳定”
  2. sudo apt Update
  3. sudo apt apt升级
  4. sudo apt apo apt apt full-upgrade
  5. sudo apto auto autoremove
  6. sudo apt clean
  7. sudo apt dist -upgrade (现在没有更新)

,当我运行 lsb_release -a 时,我得到:

No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

所以我知道我知道我知道我有最新版本。当我运行 apt列表-All -versions libxml2 时,我得到:

Listing... Done
libxml2/stable,now 2.9.10+dfsg-6.7+deb11u2 armhf [installed]

这都是上下文 - 这是怪异的部分。 sudo apt Update 说所有软件包都是最新的 - 但是我知道这是错误的,因为您可以在Debian的网站上看到更新版本在这里,他们已经出门了一段时间,至少一年了。

实际问题:为什么 apt 假装它具有最新版本,而显然没有?随着Debian更新到最新版本,我应该能够获得其他所有内容的最新版本,对吗?我想念其他作品吗?如何更新此点以获取Libxml2 2.9.14?如果我需要切换到其他发行版或其他重大更改,我会的,但这并不理想:/

非常感谢您的时间和帮助!

I am updating a Raspberry Pi running Debian 10. Specifically, I need to update the package libxml2 from version 2.9.4 (very old!) to 2.9.14, in order to protect myself against CVE-2022-23308. To do this, I had to update Debian 10 (buster) to Debian 11 (bullseye), which allowed me to update a lot of packages several versions ahead. However, I am only partway to the newest version, but apt prevents me from updating further?

To update as far as I have now, I did the following in this order, following these instructions:

  1. Updated /etc/apt/sources.list and all files in /etc/apt/sources.list.d to replace all instances of "buster" with "stable"
  2. sudo apt update
  3. sudo apt upgrade
  4. sudo apt full-upgrade
  5. sudo apt autoremove
  6. sudo apt clean
  7. sudo apt dist-upgrade (nothing was updated)

Now, when I run lsb_release -a, I get:

No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

so I know I have the latest version. And when I run apt list --all-versions libxml2, I get:

Listing... Done
libxml2/stable,now 2.9.10+dfsg-6.7+deb11u2 armhf [installed]

That was all context - here's the weird part. sudo apt update says that all packages are up to date - however I know that's false, because you can see newer versions on Debian's website right here, and they've been out for a while, at least a year.

The Actual Question: Why does apt pretend it has the latest version, when it clearly doesn't? With Debian updated to the latest version, I should be able to get the latest version of everything else, right? Am I missing some other piece? How can I update past this point to get libxml2 2.9.14? If I need to switch to a different distro or some other major change, I will, but that's not ideal :/

Thank you so much for your time and help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜心小果奶 2025-02-14 02:12:57

我已经尝试了以下操作,它没有帮助解决错误,但我想它确实更新了整个列表:

# dnf clean all
# dnf check
# dnf check-update
# dnf update

如果仍然存在问题,请尝试使用“ DNF Update -Nobest”命令。希望这会有所帮助

I have tried the following, it didn't help with the error but I guess it did update the whole list:

# dnf clean all
# dnf check
# dnf check-update
# dnf update

If there is still a problem then try with "dnf update --nobest" command. Hope this helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文