找不到软件包“ netpbm”,但确实已安装软件包“ netpbm”。 Ubuntu操作系统

时间:2019-05-11 22:25:02

标签: ubuntu gcc cmake

我正在尝试运行cmake文件,但出现此错误:

-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'netpbm'
-- No package 'netpbm' found
-- Configuring done
-- Generating done

这是说没有找到netpbm软件包,但是当我运行时

sudo apt-get install netpbm

我得到以下信息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcurl3-nss libnetpbm9
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  netpbm
1 upgraded, 0 newly installed, 0 to remove and 350 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1.017 kB of archives.
After this operation, 97,3 kB disk space will be freed.
(Reading database ... 211099 files and directories currently installed.)
Preparing to unpack .../netpbm_2%3a10.0-15.3build1_amd64.deb ...
Unpacking netpbm (2:10.0-15.3build1) over (2:10.0-15.3) ...
Setting up netpbm (2:10.0-15.3build1) ...

如何解决此问题?

我还尝试从ubuntu的网站上下载netpbm软件包并使用dpkg进行安装,但仍然无法正常工作。

0 个答案:

没有答案