我想从他们的存储库为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
如果有人不介意告诉我是怎么出错的,我会非常感激的。
亲切的问候,索菲。
发布于 2015-03-02 22:17:19
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) ...https://stackoverflow.com/questions/27452015
复制相似问题