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 / 问题 / 1467796
Accepted
Steve Cohen
Steve Cohen
Asked: 2023-05-14 03:19:09 +0800 CST2023-05-14 03:19:09 +0800 CST 2023-05-14 03:19:09 +0800 CST

无法将系统从 22.04 升级到 22.10

  • 772

GUI 和命令行都不会让我进行此升级。从命令行我尝试

$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

在此之前,我已经完成sudo apt update并安装了可用的更新。我怎样才能找出系统不喜欢什么?

基于 GUI 的升级程序也有奇怪的行为。我启动 Software Updater 并得到这个:

在此处输入图像描述

如果我然后单击“升级...”,软件更新程序窗口就会消失,并且不会发生任何可见的事情。

或者,另一种方法来完成这项工作?

更新了请求的输出:

$ sudo apt update
[sudo] password for scohen: 
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease                            
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease                                      
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]                              
Get:5 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]                           
Hit:6 https://ppa.launchpadcontent.net/atareao/atareao/ubuntu jammy InRelease                          
Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease                                           
Hit:8 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release        
Hit:10 https://ppa.launchpadcontent.net/bitseater/ppa/ubuntu jammy InRelease     
Hit:11 https://ppa.launchpadcontent.net/mutlaqja/ppa/ubuntu jammy InRelease
Fetched 218 kB in 2s (93.9 kB/s)                           
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  fuseiso gconf-service gconf-service-backend gconf2 gconf2-common libgconf-2-4
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  gnome-remote-desktop libgphoto2-6 libgphoto2-port12
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

$ do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

更新#2。在上面的输出中看到了这一点并进行了尝试。没什么区别。

$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  fuseiso gconf-service gconf-service-backend gconf2 gconf2-common libgconf-2-4
0 upgraded, 0 newly installed, 6 to remove and 3 not upgraded.
After this operation, 8,779 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 411977 files and directories currently installed.)
Removing fuseiso (20070708-3.2build1) ...
Removing gconf2 (3.2.6-7ubuntu2) ...
Removing gconf-service-backend (3.2.6-7ubuntu2) ...
Removing gconf-service (3.2.6-7ubuntu2) ...
Removing libgconf-2-4:amd64 (3.2.6-7ubuntu2) ...
Removing gconf2-common (3.2.6-7ubuntu2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for sgml-base (1.30) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
apt
  • 1 1 个回答
  • 40 Views

1 个回答

  • Voted
  1. Best Answer
    Nmath
    2023-05-14T09:41:18+08:002023-05-14T09:41:18+08:00

    您在版本升级尝试期间遇到的错误让您知道在升级到下一个版本之前需要更新系统。

    但是,当您尝试更新时,您的包管理器会给出有关保留包的错误。

    您的系统上还有多个 PPA,有时 PPA 可能会以不兼容的方式阻碍包管理器。如果删除 PPA,它可能会解决延迟的包问题。

    发布升级脚本无论如何都会禁用您的 PPA,因此如果删除 PPA 可以解决问题,那可能是最好的前进方向。

    如果保留的软件包与 PPA 没有任何关系,您可以手动安装保留的软件包。请注意,这会将这些软件包标记为手动安装,这可能是不可取的。

    • 1

相关问题

  • 如何编写 shell 脚本来安装应用程序列表?

  • 如何查看存档中可用的软件包的所有版本?

  • 是否可以说出我安装的哪些软件包不在原版安装中?

  • 如何删除 PPA?

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

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