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 / 问题

问题[partial-upgrade](ubuntu)

Martin Hope
twofifty6
Asked: 2020-10-28 11:06:30 +0800 CST

部分升级破坏了我的系统

  • 0

我现在在 18.04,即将升级到 20.04。我的包管理器为我提供了部分升级和 dist 升级作为选项。我认为最好先运行部分升级并尝试在升级到 20.04 之前解决任何未解决的问题。这似乎已经破坏了我的系统。重新启动后,它只是挂起并且永远不会启动(我将其放置超过 24 小时,并且它从未从仅显示 /dev/sda1 干净的消息的黑白 TTY 中移动)。

我能够重新启动并选择以前的内核版本(5.4.0-51-generic),我的系统也启动了,但使用的是 nouveau 驱动程序,分辨率很荒谬。不幸的是,显示选项没有提供任何更改它的选项,所以我尝试安装 nvidia 专有驱动程序(同样——它们以前已安装)。我仍然可以使用旧内核启动,但我似乎无法修复损坏的软件包。例如:

$ sudo apt install nvidia-driver-455
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libnvidia-gl-450-server : Depends: libnvidia-common-450-server but it is not going to be installed
 libnvidia-gl-450-server:i386 : Depends: libnvidia-common-450-server:i386
 nvidia-driver-455 : Depends: libnvidia-gl-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: nvidia-dkms-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: nvidia-kernel-source-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: libnvidia-compute-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: libnvidia-extra-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: nvidia-compute-utils-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: libnvidia-decode-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: libnvidia-encode-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: nvidia-utils-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: xserver-xorg-video-nvidia-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: libnvidia-cfg1-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: libnvidia-ifr1-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Depends: libnvidia-fbc1-455 (= 455.32.00-0ubuntu1) but it is not going to be installed
                     Recommends: libnvidia-compute-455:i386 (= 455.32.00-0ubuntu1)
                     Recommends: libnvidia-decode-455:i386 (= 455.32.00-0ubuntu1)
                     Recommends: libnvidia-encode-455:i386 (= 455.32.00-0ubuntu1)
                     Recommends: libnvidia-ifr1-455:i386 (= 455.32.00-0ubuntu1)
                     Recommends: libnvidia-fbc1-455:i386 (= 455.32.00-0ubuntu1)
                     Recommends: libnvidia-gl-455:i386 (= 455.32.00-0ubuntu1)


$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libnvidia-common-450
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libnvidia-common-450-server
The following NEW packages will be installed:
  libnvidia-common-450-server
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
5 not fully installed or removed.
Need to get 9,928 B of archives.
After this operation, 35.8 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 libnvidia-common-450-server all 450.80.02-0ubuntu0.18.04.3 [9,928 B]
Fetched 9,928 B in 0s (88.0 kB/s)                      
(Reading database ... 282148 files and directories currently installed.)
Preparing to unpack .../libnvidia-common-450-server_450.80.02-0ubuntu0.18.04.3_all.deb ...
Unpacking libnvidia-common-450-server (450.80.02-0ubuntu0.18.04.3) ...
dpkg: error processing archive /var/cache/apt/archives/libnvidia-common-450-server_450.80.02-0ubuntu0.18.04.3_all.deb (--unpack):
 trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.80.02-key-documentation', which is also in package libnvidia-common-450 450.80.02-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libnvidia-common-450-server_450.80.02-0ubuntu0.18.04.3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

我如何在这里恢复运行?我可以在 18.04 上修复这里的问题,还是直接使用 20.04 USB 密钥启动并告诉它升级我现有的安装?我试过跑步apt autoclean,apt clean但那些也无济于事。

nvidia apt partial-upgrade
  • 2 个回答
  • 731 Views
Martin Hope
Sergey Sergeyev
Asked: 2020-06-16 11:08:36 +0800 CST

保留 fwupd 的升级

  • 8

fwupd 现在有什么问题?自 2020 年 5 月 1 日起在新安装的 Ubuntu 20.04 上一切正常

The following packages have been kept back:
   fwupd 
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
upgrade partial-upgrade 20.04 fwupd
  • 1 个回答
  • 5181 Views
Martin Hope
damn harshitha
Asked: 2019-10-24 11:29:37 +0800 CST

升级到 19.10 时在低图形模式下运行

  • 1

我已将系统从 Ubuntu 19.04 升级到 19.10。由于停电,进行了部分升级。现在,当我打开系统时,它会显示一条错误消息,说“您的系统正在以低图形模式运行”,然后单击“确定”,它会在一段时间后返回并显示相同的消息。

如果有人帮我取回我的数据,因为我没有备份并帮助我尽快恢复我的系统,那就太好了。

提前致谢:)

解决了!!

login-screen amd-graphics partial-upgrade 19.04 19.10
  • 1 个回答
  • 575 Views
Martin Hope
Pro
Asked: 2019-09-22 11:49:52 +0800 CST

不能进行部分升级

  • 1
Your system does not contain a ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, ubuntustudio-desktop, mythbuntu-desktop, kubuntu-netbook, lubuntu-desktop, ubuntu-gnome-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntukylin-desktop or ubuntu-budgie-desktop package and it was not possible to detect which version of Ubuntu you are running.
 Please install one of the packages above first using synaptic or apt-get before proceeding.

运行 ubuntu 18.10 64bit

partial-upgrade
  • 1 个回答
  • 552 Views

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