polarssl-dev - Ubuntu 14.04



我想从他们的存储库中为 Ubuntu 14.04 安装 polarssl-dev。 我读到这在 https://launchpad.net/ubuntu/+source/polarssl 的宇宙中可用,但我启用了包括 src 在内的宇宙,但它不存在。我该怎么做?

# 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

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

亲切的问候,索夫。

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) ...

最新更新