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 / 问题 / 1363450
Accepted
ABN
ABN
Asked: 2021-09-13 23:37:50 +0800 CST2021-09-13 23:37:50 +0800 CST 2021-09-13 23:37:50 +0800 CST

如何在运行 ubuntu 20.4 的戴尔灵越 5520 上安装戴尔命令和配置工具?

  • 772

我正在尝试在运行 ubuntu 20.04 操作系统的 dell inspiron 5520 上安装 dell 命令和配置。我正在遵循这个指示。

当我执行

sudo dpkg -i srvadmin-hapi_9.5.0_amd64.deb

我收到以下错误:

(Reading database ... 654921 files and directories currently installed.)
Preparing to unpack srvadmin-hapi_9.5.0_amd64.deb ...
Unpacking srvadmin-hapi (9.5.0) over (9.5.0) ...
Setting up srvadmin-hapi (9.5.0) ...
Job for instsvcdrv.service failed because the control process exited with error code.
See "systemctl status instsvcdrv.service" and "journalctl -xe" for details.
dpkg: error processing package srvadmin-hapi (--install):
 installed srvadmin-hapi package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
 srvadmin-hapi

我执行了

systemctl status instsvcdrv.service

输出:

instsvcdrv.service - Systems Management Device Drivers
     Loaded: loaded (/etc/systemd/system/instsvcdrv.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2021-08-24 13:23:14 IST; 3min 14s ago
    Process: 762908 ExecStart=/usr/libexec/instsvcdrv-helper start (code=exited, status=155)
    
Aug 24 13:23:14 xxxx systemd[1]: Starting Systems Management Device Drivers...
Aug 24 13:23:14 xxxx systemd[1]: instsvcdrv.service: Control process exited, code=exited, status=155/n/a
Aug 24 13:23:14 xxxx systemd[1]: instsvcdrv.service: Failed with result 'exit-code'.
Aug 24 13:23:14 xxxx systemd[1]: Failed to start Systems Management Device Drivers.

我执行了

journalctl -xe

输出:

-- Subject: A start job for unit [email protected] has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit [email protected] has begun execution.
-- 
-- The job identifier is 2641966.
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: --ca fails with 'ca.crt': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: --cert fails with 'server.crt': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: WARNING: cannot stat file 'server.key': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: --key fails with 'server.key': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: WARNING: cannot stat file 'ta.key': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: --tls-auth fails with 'ta.key': No such file or directory (errno=2)
Aug 24 13:31:48 xxxx ovpn-server[764772]: Options error: Please correct these errors.
Aug 24 13:31:48 xxxx ovpn-server[764772]: Use --help for more information.
Aug 24 13:31:48 xxxx systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- An ExecStart= process belonging to unit [email protected] has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
Aug 24 13:31:48 xxxx systemd[1]: [email protected]: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The unit [email protected] has entered the 'failed' state with result 'exit-code'.
Aug 24 13:31:48 xxxx systemd[1]: Failed to start OpenVPN connection to server.
-- Subject: A start job for unit [email protected] has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit [email protected] has finished with a failure.
-- 
-- The job identifier is 2641966 and the job result is failed.

BIOS 信息

Vendor: Dell Inc.
Version: A11
Release Date: 10/03/2012
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 4608 kB
Characteristics:
    PCI is supported
    PNP is supported
    BIOS is upgradeable
    BIOS shadowing is allowed
    Boot from CD is supported
    Selectable boot is supported
    EDD is supported
    Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
    Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
    5.25"/360 kB floppy services are supported (int 13h)
    5.25"/1.2 MB floppy services are supported (int 13h)
    3.5"/720 kB floppy services are supported (int 13h)
    3.5"/2.88 MB floppy services are supported (int 13h)
    Print screen service is supported (int 5h)
    8042 keyboard services are supported (int 9h)
    Serial services are supported (int 14h)
    Printer services are supported (int 17h)
    CGA/mono video services are supported (int 10h)
    ACPI is supported
    USB legacy is supported
    Smart battery is supported
    BIOS boot specification is supported
    Function key-initiated network boot is supported
    Targeted content distribution is supported
    UEFI is supported
Firmware Revision: 1.1

系统信息

Manufacturer: Dell Inc.
Product Name: Inspiron 5520
Version: A11
Serial Number: XXXXXXX
UUID: X-X-X-X-X
Wake-up Type: Power Switch
SKU Number: xxx123x#ABA
Family: 103C_5335KV

如何解决这些问题并成功安装该工具?

dell
  • 1 1 个回答
  • 630 Views

1 个回答

  • Voted
  1. Best Answer
    matigo
    2021-09-13T23:50:03+08:002021-09-13T23:50:03+08:00

    戴尔喜欢让人们很难做到这一点。您需要srvadmin-hapi.postinst使用一些技巧创建一个文件,然后再次尝试安装。

    就是这样:

    1. 在以下位置创建一个安装后文件/var/lib/dpkg/info:
      sudo vi /var/lib/dpkg/info/srvadmin-hapi.postinst 
      
      注意:使用您喜欢的任何文本编辑器。这里的使用vi更多的是肌肉记忆而不是背书。
    2. 将以下内容粘贴到文件中:
      #!/bin/bash
      /bin/true
      
    3. 再次运行安装:
      sudo dpkg --configure -a
      sudo apt install srvadmin-hapi
      

    /var/lib/dpkg/status如果安装再次失败,则需要编辑错误记录:

    1. 编辑状态文件:
      sudo vi /var/lib/dpkg/status 
      
    2. 找到srvadmin-hapi并删除它的行(连同它的描述)
    3. 再次执行安装:
      sudo dpkg --configure -a
      sudo apt install srvadmin-hapi
      

    这应该给你你所需要的。

    • 3

相关问题

  • 如何重新安装声音驱动程序?

  • GMA 5700 MHD Dell Vostro 3300 外接 vga 显示器闪烁

  • 无法暂停 Dell Inspiron [关闭]

  • 有没有办法在显示器断开连接时自动检测?

  • 戴尔 Studio 1537 遥控器与红外接收端口 IT8512 CIR 的工作原理

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