AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1529032
Accepted
ForDummies
ForDummies
Asked: 2024-10-05 04:27:59 +0800 CST2024-10-05 04:27:59 +0800 CST 2024-10-05 04:27:59 +0800 CST

如何修复阻止将 jammy 升级为 noble 的错误?

  • 772

正常更新可以顺利进行,但发布升级到下一个 LTS 却不行。

幸运的是,我在 script(1) 命令下使用了 do-release-upgrade,因此我捕获了输出。它太长了,无法在这里全部放出来。简而言之,就是有关于 GitHub 凭证的投诉,然后升级回到原始状态。

但首先要提到的另一个问题是:输出建议在 Ubuntu 网站上获取帮助的网页。但我查看的那个建议使用一个名为“xchat”的应用程序,但当我使用建议的 apt-get 命令安装它时,该应用程序似乎不存在(在我的 Xubuntu Jammy 中)。所以放弃了 Ubuntu 直接帮助,我希望在这里得到更好的答案。

我不知道问题发生的原因,甚至不知道到底出了什么问题,所以我需要帮助进行诊断和修复。

以下是该投诉的一些背景:

Reading state information... Done
Get:1ahttps://cli.github.com/packageststablerInReleaseu[3,917[B]itingafornheaders]aders]]
Hit http://us.archive.ubuntu.com/ubuntuojammyrInReleaseu.com] [Waiting for headers]
Hit https://dl.google.com/linux/chrome/debestable.InReleasem] [Waiting for headers]
Err https://cli.github.com/packagesnstableeInReleaseuntu.com]
  The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI <[email protected]>
```Reading state information... Done
Get:1ahttps://cli.github.com/packageststablerInReleaseu[3,917[B]itingafornheaders]aders]]
Hit http://us.archive.ubuntu.com/ubuntuojammyrInReleaseu.com] [Waiting for headers]
Hit https://dl.google.com/linux/chrome/debestable.InReleasem] [Waiting for headers]
Err https://cli.github.com/packagesnstableeInReleaseuntu.com]
  The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI <[email protected]>

然后

Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the 'software-properties' tool
or your package manager.

To continue please press [ENTER]

然后下载完之后就报错:

Hit[http://security.ubuntu.com/ubuntuonoble-security.InRelease125.190.80)]]
Hit[http://ppa.launchpad.net/system76-dev/stable/ubuntu noble InRelease
Fetchedk0nB]in 0s (0 B/s)

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.


Restoring original system state

我没有看到网络问题。我通常的测试是“ping 8.8.8.8”,它会 ping 一个 Google 服务器,这个很容易记住,而且似乎是一个不错的连接测试(不包括域名服务器)。

那么我怎样才能找出真正的问题并怎样解决它呢?

upgrade
  • 1 1 个回答
  • 29 Views

1 个回答

  • Voted
  1. Best Answer
    ForDummies
    2024-10-08T04:15:52+08:002024-10-08T04:15:52+08:00

    我刚刚发现 GitHub 发布了有关其密钥过期的信息以及如何处理它。请查看https://github.com/cli/cli/issues/9569

    这为我解决了这个问题。

    • 0

相关问题

  • 在自定义安装以维护升级路径时,应遵循哪些准则?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

  • 从 8.04 LTS 升级到 10.04 LTS 的体验?

  • 分销升级的合理途径

  • 在不使用标准升级系统的情况下升级有哪些替代方案?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve