E:无法找到包 libproc-processtable-perl

E:无法找到包 libproc-processtable-perl

我有这个问题

$:~/media_build$ ./build
Checking if the needed tools for Ubuntu 18.04.1 LTS are available
ERROR: please install "Proc::ProcessTable", otherwise, build won't work.
You should run:
        sudo apt-get install  libproc-processtable-perl
Build can't procceed as 1 dependency is missing at ./build line 274.

但是当我运行它时出现错误

E: Unable to locate package libproc-processtable-perl

我也尝试

 sudo apt-get update

但没有成功

答案1

寻找libproc-processtable-perl搜索)显示该软件包存在于所有最近的发行版中,在“Universe”存储库中:

Exact hits
Package libproc-processtable-perl

    trusty (14.04LTS) (perl): Perl library for accessing process table information [universe]
    0.50-1: amd64 arm64 armhf i386 powerpc ppc64el
    xenial (16.04LTS) (perl): Perl library for accessing process table information [universe]
    0.53-1build1: amd64 arm64 armhf i386 powerpc ppc64el s390x
    artful (17.10) (perl): Perl library for accessing process table information [universe]
    0.53-2build1: amd64 arm64 armhf i386 ppc64el s390x
    bionic (18.04LTS) (perl): Perl library for accessing process table information [universe]
    0.55-1: amd64 arm64 armhf i386 ppc64el s390x
    cosmic (perl): Perl library for accessing process table information [universe]
    0.55-1: amd64 arm64 armhf i386 ppc64el s390x

您是否启用了“Universe”存储库?

相关内容