![如何安全地回滚特定升级?](https://linux22.com/image/1200318/%E5%A6%82%E4%BD%95%E5%AE%89%E5%85%A8%E5%9C%B0%E5%9B%9E%E6%BB%9A%E7%89%B9%E5%AE%9A%E5%8D%87%E7%BA%A7%EF%BC%9F.png)
我目前正在处理 GPU 崩溃问题,我认为这是由今天早上在我的计算机上升级的大量软件包引起的。以下是今天早上的 history.log 条目。
我是 Linux 新手,但技术水平相当高,我只是不确定如何关注此列表中的哪些元素需要回滚,以便找到回滚它们的方法。理想情况下,我可以将它们恢复到已删除的版本,并且我认为可以阻止它们重新安装。
我怀疑可能存在一种简单的方法,只是我不知道。
我正在使用带有专有 nvidia 驱动程序的 Ubuntu 22.04 lts。
Start-Date: 2024-02-16 06:50:33
Commandline: /usr/bin/unattended-upgrade
Install: linux-modules-extra-6.5.0-18-generic:amd64 (6.5.0-18.18~22.04.1, automatic), linux-hwe-6.5-headers-6.5.0-18:amd64 (6.5.0-18.18~22.04.1, automatic), linux-modules-6.5.0-18-generic:amd64 (6.5.0-18.18~22.04.1, automatic), linux-image-6.5.0-18-generic:amd64 (6.5.0-18.18~22.04.1, automatic), linux-headers-6.5.0-18-generic:amd64 (6.5.0-18.18~22.04.1, automatic)
Upgrade: linux-image-generic-hwe-22.04:amd64 (6.5.0.17.17~22.04.9, 6.5.0.18.18~22.04.10), linux-headers-generic-hwe-22.04:amd64 (6.5.0.17.17~22.04.9, 6.5.0.18.18~22.04.10), linux-generic-hwe-22.04:amd64 (6.5.0.17.17~22.04.9, 6.5.0.18.18~22.04.10)
End-Date: 2024-02-16 06:50:58
Start-Date: 2024-02-16 06:51:00
Commandline: /usr/bin/unattended-upgrade
Upgrade: passwd:amd64 (1:4.8.1-2ubuntu2.1, 1:4.8.1-2ubuntu2.2)
End-Date: 2024-02-16 06:51:01
Start-Date: 2024-02-16 06:51:04
Commandline: /usr/bin/unattended-upgrade
Install: linux-modules-nvidia-535-6.5.0-18-generic:amd64 (6.5.0-18.18~22.04.1, automatic), linux-objects-nvidia-535-6.5.0-18-generic:amd64 (6.5.0-18.18~22.04.1, automatic), linux-signatures-nvidia-6.5.0-18-generic:amd64 (6.5.0-18.18~22.04.1, automatic)
Upgrade: linux-modules-nvidia-535-generic-hwe-22.04:amd64 (6.5.0-17.17~22.04.1+1, 6.5.0-18.18~22.04.1)
End-Date: 2024-02-16 06:51:21
Start-Date: 2024-02-16 06:51:24
Commandline: /usr/bin/unattended-upgrade
Upgrade: login:amd64 (1:4.8.1-2ubuntu2.1, 1:4.8.1-2ubuntu2.2)
End-Date: 2024-02-16 06:51:24
Start-Date: 2024-02-16 06:51:27
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-nvidia-535-6.5.0-15-generic:amd64 (6.5.0-15.15~22.04.1+1), linux-signatures-nvidia-6.5.0-15-generic:amd64 (6.5.0-15.15~22.04.1+1), linux-image-6.5.0-15-generic:amd64 (6.5.0-15.15~22.04.1)
End-Date: 2024-02-16 06:51:32
Start-Date: 2024-02-16 06:51:35
Commandline: /usr/bin/unattended-upgrade
Remove: linux-modules-extra-6.5.0-15-generic:amd64 (6.5.0-15.15~22.04.1), linux-modules-6.5.0-15-generic:amd64 (6.5.0-15.15~22.04.1)
End-Date: 2024-02-16 06:51:35
Start-Date: 2024-02-16 06:51:38
Commandline: /usr/bin/unattended-upgrade
Remove: linux-headers-6.5.0-15-generic:amd64 (6.5.0-15.15~22.04.1)
End-Date: 2024-02-16 06:51:38
Start-Date: 2024-02-16 06:51:41
Commandline: /usr/bin/unattended-upgrade
Remove: linux-objects-nvidia-535-6.5.0-15-generic:amd64 (6.5.0-15.15~22.04.1+1)
End-Date: 2024-02-16 06:51:41
Start-Date: 2024-02-16 06:51:43
Commandline: /usr/bin/unattended-upgrade
Remove: linux-hwe-6.5-headers-6.5.0-15:amd64 (6.5.0-15.15~22.04.1)
End-Date: 2024-02-16 06:51:44