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
    • 最新
    • 标签
主页 / user-997673

Biep's questions

Martin Hope
Biep
Asked: 2019-09-26 00:28:34 +0800 CST

切换到 Azure 禁用鼠标垫、互联网、USB

  • 1

有关我的 Ubuntu 19.04 系统的一些背景信息,请参见此处。

就在昨天午夜(CET)之前,我重新启动了,而不是“通用”,“Azure”启动了。该内核无法识别任何 USB,因此我没有可用的鼠标垫或 Internet(也无法使用任何 USB 鼠标)。通过 Grub,我仍然可以引导一个旧的“通用”内核,这似乎运行良好。我现在应该如何进行?

顺便说一句,我有一个完全加密的硬盘。

System profiles显示了这一点:

-Boots-
Wed Sep 25 10:07        : 5.0.0-29-generic
Wed Sep 25 09:51        : 5.0.0-1020-azure
Wed Sep 25 09:40        : 5.0.0-1020-azure
Wed Sep 25 08:51        : 5.0.0-1020-azure
Wed Sep 25 08:49        : 5.0.0-1020-azure
Wed Sep 25 08:47        : 5.0.0-1020-azure
Wed Sep 25 08:13        : 5.0.0-1020-azure
Tue Sep 24 23:15        : 5.0.0-1020-azure
Tue Sep 24 23:09        : 5.0.0-1020-azure
Thu Sep 12 09:53        : 5.0.0-27-generic
Thu Sep 5 11:17     : 5.0.0-27-generic
Tue Aug 20 12:15        : 5.0.0-25-generic
Tue Aug 13 12:24        : 5.0.0-23-generic
Tue Aug 6 13:16     : 5.0.0-23-generic
Mon Aug 5 11:20     : 5.0.0-23-generic
Sat Aug 3 10:39     : 5.0.0-23-generic
Fri Aug 2 00:31     : 5.0.0-23-generic
Wed Jul 31 17:23        : 5.0.0-21-generic
Tue Jul 30 19:51        : 5.0.0-21-generic
Tue Jul 30 09:22        : 5.0.0-21-generic
Tue Jul 30 01:54        : 5.0.0-21-generic
Mon Jul 29 23:11        : 5.0.0-21-generic
Mon Jul 29 21:31        : 5.0.0-13-generic

dpkg输出:

biep@Blok:~$ dpkg -l | grep azure
ii  linux-azure-cloud-tools-5.0.0-1020           5.0.0-1020.21                              amd64        Linux kernel version specific cloud tools for version 5.0.0-1020
ii  linux-azure-headers-5.0.0-1020               5.0.0-1020.21                              all          Header files related to Linux kernel version 5.0.0
ii  linux-azure-tools-5.0.0-1020                 5.0.0-1020.21                              amd64        Linux kernel version specific tools for version 5.0.0-1020
ii  linux-buildinfo-5.0.0-1020-azure             5.0.0-1020.21                              amd64        Linux kernel buildinfo for version 5.0.0 on 64 bit x86 SMP
ii  linux-cloud-tools-5.0.0-1020-azure           5.0.0-1020.21                              amd64        Linux kernel version specific cloud tools for version 5.0.0-1020
ii  linux-headers-5.0.0-1020-azure               5.0.0-1020.21                              amd64        Linux kernel headers for version 5.0.0 on 64 bit x86 SMP
ii  linux-image-5.0.0-1020-azure                 5.0.0-1020.21                              amd64        Signed kernel image azure
ii  linux-modules-5.0.0-1020-azure               5.0.0-1020.21                              amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
ii  linux-modules-extra-5.0.0-1020-azure         5.0.0-1020.21                              amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
ii  linux-tools-5.0.0-1020-azure                 5.0.0-1020.21                              amd64        Linux kernel version specific tools for version 5.0.0-1020
biep@Blok:~$ dpkg -l | grep kvm
ii  linux-buildinfo-5.0.0-1017-kvm               5.0.0-1017.18                              amd64        Linux kernel buildinfo for version 5.0.0 on 64 bit x86 SMP
ii  linux-headers-5.0.0-1017-kvm                 5.0.0-1017.18                              amd64        Linux kernel headers for version 5.0.0 on 64 bit x86 SMP
ii  linux-image-5.0.0-1017-kvm                   5.0.0-1017.18                              amd64        Linux kernel image for version 5.0.0 on 64 bit x86 SMP
ii  linux-kvm-headers-5.0.0-1017                 5.0.0-1017.18                              all          Header files related to Linux kernel version 5.0.0
ii  linux-modules-5.0.0-1017-kvm                 5.0.0-1017.18                              amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
iU  linux-tools-5.0.0-1017-kvm                   5.0.0-1017.18                              amd64        Linux kernel version specific tools for version 5.0.0-1017
biep@Blok:~$ dpkg -l | grep gcp
ii  linux-buildinfo-5.0.0-1017-gcp               5.0.0-1017.17                              amd64        Linux kernel buildinfo for version 5.0.0 on 64 bit x86 SMP
ii  linux-gcp-headers-5.0.0-1017                 5.0.0-1017.17                              amd64        Header files related to Linux kernel version 5.0.0
ii  linux-gcp-tools-5.0.0-1017                   5.0.0-1017.17                              amd64        Linux kernel version specific tools for version 5.0.0-1017
ii  linux-headers-5.0.0-1017-gcp                 5.0.0-1017.17                              amd64        Linux kernel headers for version 5.0.0 on 64 bit x86 SMP
ii  linux-image-5.0.0-1017-gcp                   5.0.0-1017.17                              amd64        Signed kernel image GCP
ii  linux-modules-5.0.0-1017-gcp                 5.0.0-1017.17                              amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
ii  linux-modules-extra-5.0.0-1017-gcp           5.0.0-1017.17                              amd64        Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
ii  linux-tools-5.0.0-1017-gcp                   5.0.0-1017.17                              amd64        Linux kernel version specific tools for version 5.0.0-1017

吹扫:

biep@Blok:~$ LANG=C sudo apt purge 'linux.*azure'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'linux-modules-extra-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1010-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1016-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1011-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1020-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1008-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1008-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1014-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1010-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1016-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1020-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1010-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1012-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1018-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1004-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1016-azure' for regex 'linux.*azure'
Note, selecting 'linux-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1011-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1008-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1010-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1011-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1016-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1010-azure' for regex 'linux.*azure'
Note, selecting 'linux-signed-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1016-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1014-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-azure' for regex 'linux.*azure'
Note, selecting 'linux-signed-image-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1008-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1012-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1006-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1020-azure' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1004' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1006' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1008' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1010' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1011' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1012' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1014' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1016' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1018' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools-5.0.0-1020' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1011-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1011-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1018-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1004-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1012-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1018-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1004-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1010-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1006-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1020-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1012-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1012-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1018-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1018-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1004-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1004-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1011-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1020-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1008-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1014-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1006-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1011-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1012-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1018-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1004-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1020-azure' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1004' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1006' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1008' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1010' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1011' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1012' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1014' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1016' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1018' for regex 'linux.*azure'
Note, selecting 'linux-azure-headers-5.0.0-1020' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1020-azure' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1006-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1012-azure' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1004' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1006' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1008' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1010' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1011' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1012' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1014' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1016' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1018' for regex 'linux.*azure'
Note, selecting 'linux-azure-cloud-tools-5.0.0-1020' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1010-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1018-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1016-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1004-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1014-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1006-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1014-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1020-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1016-azure' for regex 'linux.*azure'
Note, selecting 'linux-azure-doc-5.0.0' for regex 'linux.*azure'
Note, selecting 'linux-azure-tools' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1008-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1011-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1006-azure' for regex 'linux.*azure'
Note, selecting 'linux-azure-source-5.0.0' for regex 'linux.*azure'
Note, selecting 'linux-headers-5.0.0-1014-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1014-azure' for regex 'linux.*azure'
Note, selecting 'linux-tools-5.0.0-1006-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1012-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1018-azure' for regex 'linux.*azure'
Note, selecting 'linux-cloud-tools-5.0.0-1006-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-unsigned-5.0.0-1004-azure' for regex 'linux.*azure'
Note, selecting 'linux-image-5.0.0-1010-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-extra-5.0.0-1008-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1016-azure' for regex 'linux.*azure'
Note, selecting 'linux-buildinfo-5.0.0-1008-azure' for regex 'linux.*azure'
Note, selecting 'linux-modules-5.0.0-1014-azure' for regex 'linux.*azure'
Package 'linux-azure-doc-5.0.0' is not installed, so not removed
Package 'linux-azure-source-5.0.0' is not installed, so not removed
Package 'linux-azure-tools' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1004' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1004' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1004' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1004-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1004-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1004-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1004-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1004-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1004-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1004-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1004-azure' is not installed, so not removed
Package 'linux-azure' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1006' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1008' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1010' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1011' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1012' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1014' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1016' is not installed, so not removed
Package 'linux-azure-cloud-tools-5.0.0-1018' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1006' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1008' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1010' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1011' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1012' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1014' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1016' is not installed, so not removed
Package 'linux-azure-headers-5.0.0-1018' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1006' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1008' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1010' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1011' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1012' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1014' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1016' is not installed, so not removed
Package 'linux-azure-tools-5.0.0-1018' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1006-azure' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1008-azure' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1010-azure' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1011-azure' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1012-azure' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1014-azure' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1016-azure' is not installed, so not removed
Package 'linux-buildinfo-5.0.0-1018-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1006-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1008-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1010-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1011-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1012-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1014-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1016-azure' is not installed, so not removed
Package 'linux-cloud-tools-5.0.0-1018-azure' is not installed, so not removed
Package 'linux-cloud-tools-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1006-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1008-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1010-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1011-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1012-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1014-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1016-azure' is not installed, so not removed
Package 'linux-headers-5.0.0-1018-azure' is not installed, so not removed
Package 'linux-headers-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1006-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1008-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1010-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1011-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1012-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1014-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1016-azure' is not installed, so not removed
Package 'linux-image-5.0.0-1018-azure' is not installed, so not removed
Package 'linux-image-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1006-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1008-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1010-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1011-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1012-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1014-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1016-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1018-azure' is not installed, so not removed
Package 'linux-image-unsigned-5.0.0-1020-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1006-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1008-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1010-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1011-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1012-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1014-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1016-azure' is not installed, so not removed
Package 'linux-modules-5.0.0-1018-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1006-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1008-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1010-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1011-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1012-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1014-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1016-azure' is not installed, so not removed
Package 'linux-modules-extra-5.0.0-1018-azure' is not installed, so not removed
Package 'linux-modules-extra-azure' is not installed, so not removed
Package 'linux-signed-azure' is not installed, so not removed
Package 'linux-signed-image-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1006-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1008-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1010-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1011-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1012-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1014-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1016-azure' is not installed, so not removed
Package 'linux-tools-5.0.0-1018-azure' is not installed, so not removed
Package 'linux-tools-azure' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  linux-headers-5.0.0-25 linux-headers-5.0.0-25-generic linux-image-5.0.0-25-generic linux-modules-5.0.0-25-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  linux-azure-cloud-tools-5.0.0-1020* linux-azure-headers-5.0.0-1020* linux-azure-tools-5.0.0-1020* linux-buildinfo-5.0.0-1020-azure* linux-cloud-tools-5.0.0-1020-azure*
  linux-headers-5.0.0-1020-azure* linux-image-5.0.0-1020-azure* linux-modules-5.0.0-1020-azure* linux-modules-extra-5.0.0-1020-azure* linux-tools-5.0.0-1020-azure*
0 upgraded, 0 newly installed, 10 to remove and 41 not upgraded.
After this operation, 234 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 342406 files and directories currently installed.)
Removing linux-cloud-tools-5.0.0-1020-azure (5.0.0-1020.21) ...
Removing linux-azure-cloud-tools-5.0.0-1020 (5.0.0-1020.21) ...
Removing linux-headers-5.0.0-1020-azure (5.0.0-1020.21) ...
Removing linux-azure-headers-5.0.0-1020 (5.0.0-1020.21) ...
Removing linux-tools-5.0.0-1020-azure (5.0.0-1020.21) ...
Removing linux-azure-tools-5.0.0-1020 (5.0.0-1020.21) ...
Removing linux-buildinfo-5.0.0-1020-azure (5.0.0-1020.21) ...
Removing linux-modules-extra-5.0.0-1020-azure (5.0.0-1020.21) ...
Removing linux-image-5.0.0-1020-azure (5.0.0-1020.21) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.0.0-29-lowlatency
I: /initrd.img.old is now a symlink to boot/initrd.img-5.0.0-29-lowlatency
I: /vmlinuz is now a symlink to boot/vmlinuz-5.0.0-1016-aws
I: /initrd.img is now a symlink to boot/initrd.img-5.0.0-1016-aws
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.0.0-1020-azure
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.0.0-1016-aws
Found initrd image: /boot/initrd.img-5.0.0-1016-aws
Found linux image: /boot/vmlinuz-5.0.0-29-lowlatency
Found initrd image: /boot/initrd.img-5.0.0-29-lowlatency
Found linux image: /boot/vmlinuz-5.0.0-29-generic
Found initrd image: /boot/initrd.img-5.0.0-29-generic
Found linux image: /boot/vmlinuz-5.0.0-27-generic
Found initrd image: /boot/initrd.img-5.0.0-27-generic
Found linux image: /boot/vmlinuz-5.0.0-25-generic
Found initrd image: /boot/initrd.img-5.0.0-25-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Removing linux-modules-5.0.0-1020-azure (5.0.0-1020.21) ...
(Reading database ... 315975 files and directories currently installed.)
Purging configuration files for linux-modules-5.0.0-1020-azure (5.0.0-1020.21) ...
dpkg: warning: while removing linux-modules-5.0.0-1020-azure, directory '/lib/modules/5.0.0-1020-azure' not empty so not removed
Purging configuration files for linux-image-5.0.0-1020-azure (5.0.0-1020.21) ...
Purging configuration files for linux-modules-extra-5.0.0-1020-azure (5.0.0-1020.21) ...
boot kernel azure
  • 1 个回答
  • 110 Views
Martin Hope
Biep
Asked: 2019-09-20 11:43:04 +0800 CST

kvm 和 gcp 冲突 - 救命![复制]

  • -1
这个问题在这里已经有了答案:
dpkg 错误:“正在尝试覆盖文件,该文件也在...” (5 个答案)
2年前关闭。

我基本上是 Ubuntu 19.04 的 Linux 文盲用户。我刚刚(2019 年 9 月 19 日)使用 aptitude 进行了正常更新,并收到以下错误:

dpkg: Error processing archive /var/cache/apt/archives/linux-kvm-tools-5.0.0-1017_5.0.0-1017.18_amd64.deb (--unpack):
attempt to overwrite '/usr/lib/libcpupower.so.5.0.0-1017', which is also included in package linux-gcp-tools-5.0.0-1017 5.0.0-1017.17

我应该怎么办?这有多危险?KVM 软件包已部分安装,每当我运行 aptitude 时,都会出现相同的错误。

sudo apt-get update –fix-missing
sudo dpkg –configure -a
sudo apt-get install -f

没有帮助,也没有sudo apt --fix-broken install,这是由 . 提出的sudo apt autoremove。

的输出sudo apt-get install -f:

beep @ Block: ~ $ sudo apt-get install -f
Package lists are read ... Ready
Tree of requirements is being built
The status information is read ... Ready
Requirements are corrected ... Ready
The following packages are installed automatically and are no longer needed:
  linux-headers-5.0.0-25 linux-headers-5.0.0-25-generic linux-image-5.0.0-25-generic linux-modules-5.0.0-25-generic
Use 'sudo apt autoremove' to delete them.
The following additional packages will be installed:
  linux-kvm-tools-5.0.0-1017
The following NEW packages will be installed:
  linux-kvm-tools-5.0.0-1017
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
0 B / 5133 kB of archives must be collected.
After this operation, an additional 24.1 MB of disk space will be used.
Do you want to continue? [Y / N]    
(Database is being read ... 398849 files and folders currently installed.)
Unpacking ... / linux-kvm-tools-5.0.0-1017_5.0.0-1017.18_amd64.deb is being prepared ...
Unpacking linux-kvm-tools-5.0.0-1017 (5.0.0-1017.18) ... dpkg: Error processing archive /var/cache/apt/archives/linux-kvm-tools-5.0.0-1017_5.0.0-1017.18_amd64.deb (--unpack):
 attempt to overwrite '/usr/lib/libcpupower.so.5.0.0-1017', which is also included in package linux-gcp-tools-5.0.0-1017 5.0.0-1017.17
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors found while processing:
 /var/cache/apt/archives/linux-kvm-tools-5.0.0-1017_5.0.0-1017.18_amd64.deb
E: Sub-process / usr / bin / dpkg returned an error code (1)

的输出sudo apt autoremove:

biep@Blok:~$ sudo apt autoremove
[sudo] wachtwoord voor biep: 
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
U kunt 'apt --fix-broken install' uitvoeren om dit op te lossen.
De volgende pakketten hebben niet-voldane vereisten:
 linux-tools-5.0.0-1017-kvm : Vereisten: linux-kvm-tools-5.0.0-1017 maar het is niet geïnstalleerd
E: Er zijn niet-voldane vereisten. U kunt best 'apt --fix-broken install' uitvoeren zonder pakketten op te geven, (of u kunt zelf een oplossing specificeren).

sudo apt --fix-broken install给出了这个:

biep@Blok:~$ sudo apt --fix-broken install
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
Vereisten worden gecorrigeerd... Klaar
De volgende pakketten zijn automatisch geïnstalleerd en zijn niet langer nodig:
  linux-headers-5.0.0-25 linux-headers-5.0.0-25-generic linux-image-5.0.0-25-generic linux-modules-5.0.0-25-generic
Gebruik 'sudo apt autoremove' om ze te verwijderen.
De volgende extra pakketten zullen geïnstalleerd worden:
  linux-kvm-tools-5.0.0-1017
De volgende NIEUWE pakketten zullen geïnstalleerd worden:
  linux-kvm-tools-5.0.0-1017
0 opgewaardeerd, 1 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
1 niet volledig geïnstalleerd of verwijderd.
Er moeten 0 B/5133 kB aan archieven opgehaald worden.
Na deze bewerking zal er 24,1 MB extra schijfruimte gebruikt worden.
Wilt u doorgaan? [J/n] 
(Database wordt ingelezen ... 398849 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van .../linux-kvm-tools-5.0.0-1017_5.0.0-1017.18_amd64.deb wordt voorbereid...
Bezig met uitpakken van linux-kvm-tools-5.0.0-1017 (5.0.0-1017.18) ...
dpkg: fout bij verwerken van archief /var/cache/apt/archives/linux-kvm-tools-5.0.0-1017_5.0.0-1017.18_amd64.deb (--unpack):
 poging tot overschrijven van '/usr/lib/libcpupower.so.5.0.0-1017', wat ook in pakket linux-gcp-tools-5.0.0-1017 5.0.0-1017.17 zit
dpkg-deb: fout: subproces plakken werd gedood door signaal (Gebroken pijp)
Fouten gevonden tijdens verwerken van:
 /var/cache/apt/archives/linux-kvm-tools-5.0.0-1017_5.0.0-1017.18_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
package-management virtualization kvm
  • 1 个回答
  • 129 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