【问题标题】:polarssl-dev - Ubuntu 14.04polarssl-dev - Ubuntu 14.04
【发布时间】:2019-11-19 21:25:56
【问题描述】:

我想从他们的存储库中为 Ubuntu 14.04 安装 polarssl-dev。我在https://launchpad.net/ubuntu/+source/polarssl 上读到这个可以在 Universe 中找到,但我启用了包含 src 的 Universe,但它不存在。我怎么能这样做?

# apt-get install polarssl-dev Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package polarssl-dev

# grep univer /etc/apt/sources.list deb http://be.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse deb-src http://be.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse deb http://be.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse deb http://be.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://be.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

如果有人不介意告诉我是怎么出错的,我将非常感激。

亲切的问候,索夫。

【问题讨论】:

    标签: ubuntu-14.04


    【解决方案1】:

    PolarSSL 的包名实际上以 lib 开头。这应该适合你:

    $ sudo apt-get install libpolarssl-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      libpolarssl5
    The following NEW packages will be installed:
      libpolarssl-dev libpolarssl5
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 459 kB of archives.
    After this operation, 1,962 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe libpolarssl5 amd64 1.3.4-1 [186 kB]
    Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe libpolarssl-dev amd64 1.3.4-1 [274 kB]
    Fetched 459 kB in 6s (71.3 kB/s)                                               
    Selecting previously unselected package libpolarssl5.
    (Reading database ... 61244 files and directories currently installed.)
    Preparing to unpack .../libpolarssl5_1.3.4-1_amd64.deb ...
    Unpacking libpolarssl5 (1.3.4-1) ...
    Selecting previously unselected package libpolarssl-dev.
    Preparing to unpack .../libpolarssl-dev_1.3.4-1_amd64.deb ...
    Unpacking libpolarssl-dev (1.3.4-1) ...
    Setting up libpolarssl5 (1.3.4-1) ...
    Setting up libpolarssl-dev (1.3.4-1) ...
    Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-11-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-11
      • 2018-07-11
      • 2023-03-07
      • 2015-06-20
      相关资源
      最近更新 更多