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

问题[dpkg](ubuntu)

Martin Hope
Matthew Brown aka Lord Matt
Asked: 2024-12-08 07:45:55 +0800 CST

运行“sudo dpkg --configure -a”时单核 CPU 使用率达到 100% 正常吗?

  • 7

屏幕截图显示了运行 sudo dpkg --configure -a 的终端,系统监视器同时显示单核 CPU 为 100%

您觉得那个 CPU 图表看起来还好吗?(是的,它dpkg挂了,但那是另一个故事)。

更新

好吧,现在我已经不再使用 AMDGPU 了,这种情况已经不再发生了,所以这现在纯粹是一个学术问题。

dpkg
  • 1 个回答
  • 154 Views
Martin Hope
user1807651
Asked: 2024-06-12 21:57:26 +0800 CST

libreoffice 软件包在安装后未配置,无法启动

  • 5

基本上,libreoffice 软件包在安装后会失败,无法启动。无论我尝试使用还是不使用,我都需要sudo dpkg --purge --force-remove-reinstreq删除它们,因为存在“依赖性问题” (有些工作不使用是因为状态问题)大多数消息如下:apt--force-remove-reinstreqpi

x依赖于y;但是:包y尚未配置

和这个:

dpkg: 错误处理软件包z (--configure):依赖性问题 - 未配置

安装日志:

(Reading database ... 106794 files and directories currently installed.)
Preparing to unpack .../00-liblibreoffice-java_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking liblibreoffice-java (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-style-colibre.
Preparing to unpack .../01-libreoffice-style-colibre_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-style-colibre (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-uiconfig-common.
Preparing to unpack .../02-libreoffice-uiconfig-common_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-uiconfig-common (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-common.
Preparing to unpack .../03-libreoffice-common_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-common (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-core.
Preparing to unpack .../04-libreoffice-core_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-core (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-base-core.
Preparing to unpack .../05-libreoffice-base-core_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-base-core (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-base-drivers.
Preparing to unpack .../06-libreoffice-base-drivers_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-base-drivers (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-uiconfig-base.
Preparing to unpack .../07-libreoffice-uiconfig-base_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-uiconfig-base (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-base.
Preparing to unpack .../08-libreoffice-base_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base', none removed.
No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base', none removed.
Unpacking libreoffice-base (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-uiconfig-calc.
Preparing to unpack .../09-libreoffice-uiconfig-calc_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-uiconfig-calc (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-calc.
Preparing to unpack .../10-libreoffice-calc_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-calc (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-uiconfig-draw.
Preparing to unpack .../11-libreoffice-uiconfig-draw_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-uiconfig-draw (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-uiconfig-impress.
Preparing to unpack .../12-libreoffice-uiconfig-impress_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-uiconfig-impress (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-draw.
Preparing to unpack .../13-libreoffice-draw_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-draw (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-impress.
Preparing to unpack .../14-libreoffice-impress_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-impress (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-uiconfig-math.
Preparing to unpack .../15-libreoffice-uiconfig-math_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-uiconfig-math (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-math.
Preparing to unpack .../16-libreoffice-math_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-math (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-report-builder-bin.
Preparing to unpack .../17-libreoffice-report-builder-bin_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-report-builder-bin (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-uiconfig-writer.
Preparing to unpack .../18-libreoffice-uiconfig-writer_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-uiconfig-writer (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-writer.
Preparing to unpack .../19-libreoffice-writer_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-writer (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package python3-uno.
Preparing to unpack .../20-python3-uno_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking python3-uno (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice.
Preparing to unpack .../21-libreoffice_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-gnome.
Preparing to unpack .../22-libreoffice-gnome_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-gnome (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-gtk3.
Preparing to unpack .../23-libreoffice-gtk3_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-gtk3 (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-java-common.
Preparing to unpack .../24-libreoffice-java-common_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-java-common (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-uiconfig-report-builder.
Preparing to unpack .../25-libreoffice-uiconfig-report-builder_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-uiconfig-report-builder (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-report-builder.
Preparing to unpack .../26-libreoffice-report-builder_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-report-builder (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-script-provider-bsh.
Preparing to unpack .../27-libreoffice-script-provider-bsh_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-script-provider-bsh (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-script-provider-js.
Preparing to unpack .../28-libreoffice-script-provider-js_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-script-provider-js (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-script-provider-python.
Preparing to unpack .../29-libreoffice-script-provider-python_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-script-provider-python (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-sdbc-firebird.
Preparing to unpack .../30-libreoffice-sdbc-firebird_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-sdbc-firebird (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-sdbc-hsqldb.
Preparing to unpack .../31-libreoffice-sdbc-hsqldb_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-sdbc-hsqldb (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-sdbc-mysql.
Preparing to unpack .../32-libreoffice-sdbc-mysql_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-sdbc-mysql (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-sdbc-postgresql.
Preparing to unpack .../33-libreoffice-sdbc-postgresql_4%3a24.2.3-0ubuntu0.24.04.2_amd64.deb ...
Unpacking libreoffice-sdbc-postgresql (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-style-elementary.
Preparing to unpack .../34-libreoffice-style-elementary_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-style-elementary (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-style-yaru.
Preparing to unpack .../35-libreoffice-style-yaru_4%3a24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-style-yaru (4:24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-wiki-publisher.
Preparing to unpack .../36-libreoffice-wiki-publisher_4%3a1.2.0+LibO24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-wiki-publisher (4:1.2.0+LibO24.2.3-0ubuntu0.24.04.2) ...
Selecting previously unselected package libreoffice-nlpsolver.
Preparing to unpack .../37-libreoffice-nlpsolver_4%3a0.9+LibO24.2.3-0ubuntu0.24.04.2_all.deb ...
Unpacking libreoffice-nlpsolver (4:0.9+LibO24.2.3-0ubuntu0.24.04.2) ...
Setting up libreoffice-style-yaru (4:24.2.3-0ubuntu0.24.04.2) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Setting up libreoffice-uiconfig-draw (4:24.2.3-0ubuntu0.24.04.2) ...
Setting up libreoffice-uiconfig-writer (4:24.2.3-0ubuntu0.24.04.2) ...
Setting up libreoffice-uiconfig-report-builder (4:24.2.3-0ubuntu0.24.04.2) ...
Setting up libreoffice-uiconfig-base (4:24.2.3-0ubuntu0.24.04.2) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Setting up libreoffice-uiconfig-impress (4:24.2.3-0ubuntu0.24.04.2) ...
Setting up libreoffice-uiconfig-common (4:24.2.3-0ubuntu0.24.04.2) ...
Setting up libreoffice-uiconfig-math (4:24.2.3-0ubuntu0.24.04.2) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for shared-mime-info (2.4-4) ...
Setting up libreoffice-style-colibre (4:24.2.3-0ubuntu0.24.04.2) ...
Setting up liblibreoffice-java (4:24.2.3-0ubuntu0.24.04.2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up libreoffice-uiconfig-calc (4:24.2.3-0ubuntu0.24.04.2) ...
Setting up libreoffice-common (4:24.2.3-0ubuntu0.24.04.2) ...
dpkg: error processing package libreoffice-common (--configure):
 installed libreoffice-common package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of libreoffice-impress:
 libreoffice-impress depends on libreoffice-common (>= 1:7.0.0~alpha~); however:
  Package libreoffice-common is not configured yet.

dpkg: error processing package libreoffice-impress (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-base:
 libreoffice-base depends on libreoffice-common (>= 1:7.0.0~alpha~); however:
  Package libreoffice-common is not configured yet.

dpkg: error processing package libreoffice-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-math:
 libreoffice-math depends on libreoffice-common (>= 1:7.0.0~alpha~); however:
  Package libreoffice-common is not configured yet.

dpkg: error processing package libreoffice-math (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a fo
llowup error from a previous failure.
                                     No apport report written because MaxReports is reached already
                                                                                                   dpkg: dependency problems prevent configuration of libreoffice:
 libreoffice depends on libreoffice-base; however:
  Package libreoffice-base is not configured yet.
 libreoffice depends on libreoffice-impress; however:
  Package libreoffice-impress is not configured yet.
 libreoffice depends on libreoffice-math; however:
  Package libreoffice-math is not configured yet.

dpkg: error processing package libreoffice (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-sdbc-postgresql:
 libreoffice-sdbc-postgresql depends on libreoffice-common (>= 1:7.0.0~alpha); however:
  Package libreoffice-common is not configured yet.

dpkg: error processing package libreoffice-sdbc-postgresql (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            dpkg: dependency problems prevent configuration of 
libreoffice-report-builder-bin:
 libreoffice-report-builder-bin depends on libreoffice-base; however:
  Package libreoffice-base is not configured yet.

dpkg: error processing package libreoffice-report-builder-bin (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-core:
 libreoffice-core depends on libreoffice-common (>> 4:24.2.3); however:
  Package libreoffice-common is not configured yet.

dpkg: error processing package libreoffice-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-calc:
 libreoffice-calc depends on libreoffice-common (>= 1:7.0.0~alpha~); however:
  Package libreoffice-common is not configured yet.
 libreoffice-calc depends on libreoffice-core (= 4:24.2.3-0ubuntu0.24.04.2); however:
  Package libreoffice-core is not configured yet.

No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            dpkg: error processing package libreoffice-calc (--
configure):
 dependency problems - leaving unconfigured
Setting up libreoffice-style-elementary (4:24.2.3-0ubuntu0.24.04.2) ...
dpkg: dependency problems prevent configuration of libreoffice-sdbc-mysql:
 libreoffice-sdbc-mysql depends on libreoffice-core-nogui | libreoffice-core; however:
  Package libreoffice-core-nogui is not installed.
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-sdbc-mysql (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-uno:
 python3-uno depends on libreoffice-common (>= 1:7.0.0~alpha~); however:
  Package libreoffice-common is not configured yet.
 python3-uno depends on libreoffice-core (= 4:24.2.3-0ubuntu0.24.04.2) | libreoffice-core-nogui (= 4:24.2.3-0ubuntu0.24.04.2); however:
  Package libreoffice-core is not configured yet.
  Package libreoffice-core-nogui is not installed.

dpkg: error processing package python3-uno (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreofficeNo apport report written because MaxReports is reached already
                                                                                                                            No apport report written because MaxReports is reac
hed already
           No apport report written because MaxReports is reached already
                                                                         -base-drivers:
 libreoffice-base-drivers depends on libreoffice-core-nogui | libreoffice-core; however:
  Package libreoffice-core-nogui is not installed.
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-base-drivers (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-report-builder:
 libreoffice-report-builder depends on libreoffice-common (>= 1:7.0.0~alpha); however:
  Package libreoffice-common is not configured yet.
 libreoffice-report-builder depends on libreoffice-core | libreoffice-core-nogui; however:
  Package libreoffice-core is not configured yet.
  Package libreoffice-core-nogui is not installed.
 libreoffice-report-builder depends on libreoffice-report-builder-bin (>= 4:24.2.3); however:
  Package libreoffice-report-builder-bin is not configured yet.

dpkg: error processing package libreoffice-report-builder (--configure):
 dependency problemsNo apport report written because MaxReports is reached already
                                                                                  No apport report written because MaxReports is reached already
                                                                                                                                                 - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-gtk3:
 libreoffice-gtk3 depends on libreoffice-core (= 4:24.2.3-0ubuntu0.24.04.2); however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-gtk3 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-script-provider-bsh:
 libreoffice-script-provider-bsh depends on libreoffice-common; however:
  Package libreoffice-common is not configured yet.
 libreoffice-script-provider-bsh depends on libreoffice-core-nogui | libreoffice-core; however:
  Package libreoffice-core-nogui is not installed.
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-script-provider-bsh (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-gnome:
 libreoffice-gnome depends on libreoffice-common (>= 1:7.0.0~alpha~); however:
  Package libreoffice-common is not configured yet.
 libreoffice-gnome depends on libreoffice-core (= 4:24.2.3-0ubuntu0.24.04.2); however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-gnome (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-nlpsolver:
 libreoffice-nlpsolver depends on libreoffice-calc; however:
  Package libreoffice-calc is not configured yet.
 libreoffice-nlpsolver depends on libreoffice-core; however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-nlpsolver (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-draw:
 libreoffice-draw depends on libreoffice-common (>= 1:7.0.0~alpha~); however:
  Package libreoffice-common is not configured yet.
 libreoffice-draw depends on libreoffice-core (= 4:24.2.3-0ubuntu0.24.04.2); however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-draw (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-script-provider-js:
 libreoffice-script-provider-js depends on libreoffice-common; however:
  Package libreoffice-common is not configured yet.
 libreoffice-script-provider-js depends on libreoffice-core-nogui | libreoffice-core; however:
  Package libreoffice-core-nogui is not installed.
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-script-provider-js (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            dpkg: dependency problems prevent configuration of 
libreoffice-writer:
 libreoffice-writer depends on libreoffice-common (>= 1:7.0.0~alpha~); however:
  Package libreoffice-common is not configured yet.
 libreoffice-writer depends on libreoffice-core (= 4:24.2.3-0ubuntu0.24.04.2); however:
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-writer (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-java-common:
 libreoffice-java-common depends on libreoffice-common; however:
  Package libreoffice-common is not configured yet.

dpkg: error processing package libreoffice-java-common (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-script-provider-python:
 libreoffice-script-provider-python depends on libreoffice-common; however:
  Package libreoffice-common is not configured yet.
 libreoffice-script-provider-python depends on libreoffice-core-nogui | libreoffice-core; however:
  Package libreoffice-core-nogui is not installed.
  Package libreoffice-core is not configured yet.
 libreoffice-script-provider-python depends on python3-uno; however:
  Package python3-uno is not configured yet.

dpkg: error processing package libreoffice-script-provider-python (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-sdbc-firebird:
 libreoffice-sdbc-firebird depends on libreoffice-core-nogui | libreoffice-core; however:
  Package libreoffice-core-nogui is not installed.
  Package libreoffice-core is not configured yet.

dpkg: error processing package libreoffice-sdbc-firebird (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-wiki-publisher:
 libreoffice-wiki-publisher depends on libreoffice-core; however:
  Package libreoffice-core is not configured yet.
 libreoffice-wiki-publisher depends on libreoffice-java-common; however:
  Package libreoffice-java-common is not configured yet.

dpkg: error processing package libreoffice-wiki-publisher (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-base-core:
 libreoffice-base-core depends on libreoffice-core (= 4:24.2.3-0ubuntu0.24.04.2) | libreoffice-core-nogui (= 4:24.2.3-0ubuntu0.24.04.2); however:
  Package libreoffice-core is not configured yet.
  Package libreoffice-core-nogui is not installed.

dpkg: error processing package libreoffice-base-core (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libreoffice-sdbc-hsqldb:
 libreoffice-sdbc-hsqldb depends on libreoffice-core-nogui | libreoffice-core; however:
  Package libreoffice-core-nogui is not installed.
  Package libreoffice-core is not configured yet.
 libreoffice-sdbc-hsqldb depends on libreoffice-java-common (>= 4:24.2.3~); however:
  Package libreoffice-java-common is not configured yet.

dpkg: error processing package libreoffice-sdbc-hsqldb (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 libreoffice-common
 libreoffice-impress
 libreoffice-base
 libreoffice-math
 libreoffice
 libreoffice-sdbc-postgresql
 libreoffice-report-builder-bin
 libreoffice-core
 libreoffice-calc
 libreoffice-sdbc-mysql
 python3-uno
 libreoffice-base-drivers
 libreoffice-report-builder
 libreoffice-gtk3
 libreoffice-script-provider-bsh
 libreoffice-gnome
 libreoffice-nlpsolver
 libreoffice-draw
 libreoffice-script-provider-js
 libreoffice-writer
 libreoffice-java-common
 libreoffice-script-provider-python
 libreoffice-sdbc-firebird
 libreoffice-wiki-publisher
 libreoffice-base-core
 libreoffice-sdbc-hsqldb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg
  • 1 个回答
  • 32 Views
Martin Hope
chukwuma ogbonna
Asked: 2024-04-23 16:46:20 +0800 CST

apt-cache 搜索未显示预期结果

  • 5

我尝试做apt-cache search skype

但它向我展示了结果:

libopuso - opus codec runtime library

那么这意味着什么呢?

dpkg
  • 2 个回答
  • 27 Views
Martin Hope
Lev Slinsen
Asked: 2023-08-07 03:59:27 +0800 CST

/var/lib/dpkg/info/shim-signed.postinst: 165: /usr/lib/grub/grub-multi-install: 未找到

  • 5

全新安装 Ubuntu 后,我遇到了这个错误:
Sub-process /usr/bin/dpkg returned an error code (1)

完整日志:

dpkg: error processing package shim-signed (--configure):
 installed shim-signed package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

正如我所看到的,这个包是罪魁祸首: shim-signed。
但它也是一个系统包,所以我无法清除它,没有缓存的安装文件,并且sudo apt-get install --fix-broken导致与以前相同的日志。

有人可以解释一下这/usr/lib/grub/grub-multi-install是什么以及如何解决它吗?

PS:运行一台 2017 年左右的 HP 办公笔记本电脑,由于某些奇怪的原因,该笔记本电脑仍然具有 BIOS。可能与 grub 有关。

dpkg
  • 1 个回答
  • 34 Views
Martin Hope
hefteng
Asked: 2023-04-18 18:32:32 +0800 CST

升级时 /etc/default/grub 出现 dpkg 错误

  • 7

我的机器上安装了 22.04.2 版本的 Jammy Jellyfish。当我尝试进行更新和升级时,出现以下错误。你们中有没有人知道可能导致这种情况的原因并建议如何解决?非常感谢

Processing triggers for linux-image-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...

/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-38-generic

I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/vgxubuntu-swap_1)
I: Set the RESUME variable to override this.

/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 36: /etc/default/grub: bash:: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127

dpkg: error processing package linux-image-5.19.0-38-generic (--configure):
 installed linux-image-5.19.0-38-generic package post-installation script subpro
cess returned error exit status 1

Errors were encountered while processing:
 linux-image-5.19.0-38-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

cat /etc/default/grub这是Baa 建议的命令输出:

hetrengzy@hefto-Ubuntu:~$ cat /etc/default/grub

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=45
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"


bash: line 1: J: command not found

你能建议如何处理这个吗?非常感谢

dpkg
  • 1 个回答
  • 190 Views
Martin Hope
nduduzontshangase
Asked: 2022-02-09 04:08:09 +0800 CST

每当我尝试安装新软件时,我都会得到一个新别名:致命:myorigin 参数设置不得包含多个值:

  • -1

运行新别名:

newaliases: fatal: myorigin parameter setting must not contain multiple values: nduduzo-Inspiron-5559 [email protected]
dpkg: error processing package postfix (--configure):
 installed postfix package post-installation script subprocess returned error exit status 75
Setting up python3-pyrsistent:amd64 (0.15.5-1build1) ...
Setting up python3-websocket (0.53.0-2ubuntu1) ...
update-alternatives: using /usr/bin/python3-wsdump to provide /usr/bin/wsdump (wsdump) in auto mode
Setting up python3-dockerpty (0.4.1-2) ...
Setting up python3-importlib-metadata (1.5.0-1) ...
Setting up python3-docker (4.1.0-1) ...
Setting up python3-jsonschema (3.2.0-0ubuntu2) ...
Setting up docker-compose (1.25.0-1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)

我试图设置邮件,但我认为它不会导致这样的错误。

现在我想知道如何清除和修复它。

dpkg
  • 2 个回答
  • 146 Views
Martin Hope
mikelolillionare
Asked: 2021-11-10 13:46:21 +0800 CST

与安全启动相关的 apt-get 和 dpkg 问题

  • 0

我最近在使用 Ubuntu 时遇到了麻烦。每当我尝试sudo apt get某事(在本例中为 python 3)时,我都会收到错误消息:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem

所以我输入命令,经过漫长的过程后,我收到了这条消息:

Configuring Secure Boot ├────────────────────────┐
 │                                                                           │ 
 │ Your system has UEFI Secure Boot enabled.                                   
 │                                                                             
 │ UEFI Secure Boot requires additional configuration to work with             
 │ third-party drivers.                                                        
 │                                                                             
 │ The system will assist you in configuring UEFI Secure Boot. To permit       
 │ the use of third-party drivers, a new Machine-Owner Key (MOK) has been      
 │ generated. This key now needs to be enrolled in your system's firmware.     
 │                                                                             
 │ To ensure that this change is being made by you as an authorized user,      
 │ and not by an attacker, you must choose a password now and then confirm     
 │ the change after reboot using the same password, in both the "Enroll        
 │ MOK" and "Change Secure Boot state" menus that will be presented to you     
 │ when this system reboots.                  
If you proceed but do not confirm the password upon reboot, Ubuntu will     
 │ still be able to boot on your system but any hardware that requires         
 │ third-party drivers to work correctly may not be usable.                    
 │                                                                             
 │                                  <Ok>                       

老实说,我很难克服这一点。我需要关于我能做什么的帮助。

dpkg
  • 1 个回答
  • 434 Views
Martin Hope
PersianMan
Asked: 2021-09-15 23:58:35 +0800 CST

安装Jenkins的问题:子进程/usr/bin/dpkg

  • 0

当我尝试在Ubuntu中安装Debian 稳定版的Jenkins时:

Errors were encountered while processing:
jenkins
E: Sub-process /usr/bin/dpkg returned an error code (1)

我执行此指令并执行sudo dpkg --configure -a以解决此问题,但问题仍然存在

dpkg
  • 1 个回答
  • 943 Views
Martin Hope
Paul Grinberg
Asked: 2021-08-18 19:08:34 +0800 CST

/usr/bin/grep 在 Ubuntu Focal 中来自哪里 [重复]

  • 3
这个问题在这里已经有了答案:
{/bin、/lib、/sbin} 符号链接到 Ubuntu 中的 /usr 吗? (2 个回答)
为什么 /bin 和 /sbin 现在在 Ubuntu 20.04 中是符号链接? (1 个回答)
去年关闭。

当我which grep在 Ubuntu Focal 上运行时,我得到/usr/bin/grep. 但是,apt-file search /usr/bin/grep没有显示提供它的包裹。此外,dpkg-query -L grep仅显示/bin/grep(在其他相关的可执行文件中)。那么,什么包裹交付/usr/bin/grep?

dpkg
  • 1 个回答
  • 504 Views
Martin Hope
acrobaticitron
Asked: 2021-05-18 14:04:31 +0800 CST

安装 displaycalgui 的问题

  • 1

尝试安装 displaycal gui 时出现以下错误

dpkg: dependency problems prevent configuration of displaycal:
 displaycal depends on python (<< 2.8); however:
  Package python is not installed.
 displaycal depends on python (>= 2.7~); however:
  Package python is not installed.
 displaycal depends on python:any (<< 2.8).
 displaycal depends on python:any (>= 2.7~).
 displaycal depends on python-wxgtk3.0 (>= 3.0) | python-wxgtk2.8 (>= 2.8.11); however:
  Package python-wxgtk3.0 is not installed.
  Package python-wxgtk2.8 is not installed.
 displaycal depends on python-numpy (>= 1.0); however:
  Package python-numpy is not installed.
 displaycal depends on python-psutil; however:
  Package python-psutil is not installed.
 displaycal depends on python-gi; however:
  Package python-gi is not installed.
 displaycal depends on libsdl2-mixer-2.0-0; however:
  Package libsdl2-mixer-2.0-0 is not installed.

Python 已安装并位于:/usr/bin/python Python 版本为 Python 3.9.4

它说它可以是错误所说的 2 或超过 2.8。英特尔 macbook pro 上的 Ubuntu 21.04

 sudo apt-get install -f

上面的命令没有修复。我认为 Anaconda 可能是导致问题的原因,因为它位于不同的路径,所以我卸载了它,但它没有修复它

程序来源:https ://displaycal.net/ ,他们有一个19.04版本,但之后就没有了

谢谢

dpkg
  • 2 个回答
  • 370 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