我无法在16.04中安装jscoverage,但能够在14.04中安装
$ sudo apt-get install jscoverage
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package jscoverage 注: jscoverage _0.5.1-2_ Are 64.Are在16.04中不存在,但在14.04中它支持jscoverage是否支持16.04版本,sekharK。
发布于 2018-08-24 10:12:37
在16.04 LTS和18.04 LTS存储库中没有这样的软件包:
jscoverage信任(14.04LTS) (发展):<#>Package代码覆盖率0.5.1-2: amd64 arm64 armhf i386 powerpc ppc64el
但是您可以手动安装这个包:
wget http://mirrors.kernel.org/ubuntu/pool/universe/j/jscoverage/jscoverage_0.5.1-2_amd64.deb
sudo apt-get install ./jscoverage_0.5.1-2_amd64.deb然后你就可以用它了
$ jscoverage --version
jscoverage 0.5.1
Character encoding support: iconv
Copyright (C) 2010 siliconforks.com
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.我在16.04LTS和18.04LTS上向bug 1788836报告了丢失包的情况。该项目的主页上写着项目被遗弃:
注意: JSCoverage代码库的任何未来开发都可能发生在GitHub上的新JSCover项目中,该项目重用大量的JSCoverage代码,目的是实现与JSCoverage的高度向后兼容性。JSCoverage本身不太可能有更多的版本。
所以它来自Debian,然后来自Ubuntu。
https://askubuntu.com/questions/1068497
复制相似问题