我有一个Dependecy软件包,Linux无法找到该软件包。所以我尝试安装它,但似乎不起作用。
我像下面那样安装它,但是它说它不存在
sudo yum install perl-DBIx-Class-Schema-Loader
[sudo] password :
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos-distro.cavecreek.net
* epel: csc.mcs.sdsmt.edu
* extras: centos.mirrors.tds.net
* updates: centos.mirror.constant.com
No package perl-DBIx-Class-Schema-Loader available.
Error: Nothing to do
与此相同 https://centos.pkgs.org/6/epel-i386/perl-DBIx-Class-Schema-Loader-0.05003-2.el6.1.noarch.rpm.html
任何人都可以评论如何解决此问题吗?
我从此处将软件包下载到我的桌面https://packetfence.org/downloads/PacketFence/CentOS7/x86_64/RPMS/?C=M;O=D
然后,我尝试按以下方式安装它,但也没有起作用
pm -i perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch.rpm
warning: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID a0030e2c: NOKEY
error: Failed dependencies:
perl(Carp::Clan) is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Class::Accessor::Grouped) >= 0.10002 is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Class::C3::Componentised) >= 1.0008 is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Class::Inspector) is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Class::Unload) is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Data::Dump) >= 1.06 is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(DBIx::Class) >= 0.08127 is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Lingua::EN::Inflect::Number) >= 1.1 is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Lingua::EN::Inflect::Phrase) >= 0.02 is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Lingua::EN::Tagger) is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(Scope::Guard) is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(String::CamelCase) >= 0.02 is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
perl(String::ToIdentifier::EN) >= 0.05 is needed by perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
然后我认为可以在本地安装yum,我可以解决这个问题,但是不可以
sudo yum localinstall perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch.rpm
Loaded plugins: fastestmirror, langpacks
Examining perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch.rpm: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
Marking perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package perl-DBIx-Class-Schema-Loader.noarch 0:0.07040-2.1 will be installed
--> Processing Dependency: perl(Class::Accessor::Grouped) >= 0.10002 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
Loading mirror speeds from cached hostfile
* base: centos-distro.cavecreek.net
* epel: csc.mcs.sdsmt.edu
* extras: centos.mirrors.tds.net
* updates: centos.mirror.constant.com
--> Processing Dependency: perl(Class::C3::Componentised) >= 1.0008 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Data::Dump) >= 1.06 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(DBIx::Class) >= 0.08127 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Lingua::EN::Inflect::Number) >= 1.1 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Lingua::EN::Inflect::Phrase) >= 0.02 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(String::CamelCase) >= 0.02 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(String::ToIdentifier::EN) >= 0.05 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Carp::Clan) for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Class::Inspector) for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Class::Unload) for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Lingua::EN::Tagger) for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Scope::Guard) for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Running transaction check
---> Package perl-Carp-Clan.noarch 0:6.04-10.el7 will be installed
---> Package perl-Class-Inspector.noarch 0:1.28-2.el7 will be installed
---> Package perl-DBIx-Class-Schema-Loader.noarch 0:0.07040-2.1 will be installed
--> Processing Dependency: perl(Class::Accessor::Grouped) >= 0.10002 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Class::C3::Componentised) >= 1.0008 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(DBIx::Class) >= 0.08127 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Lingua::EN::Inflect::Number) >= 1.1 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Lingua::EN::Inflect::Phrase) >= 0.02 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(String::CamelCase) >= 0.02 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(String::ToIdentifier::EN) >= 0.05 for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Class::Unload) for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
--> Processing Dependency: perl(Lingua::EN::Tagger) for package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch
---> Package perl-Data-Dump.noarch 0:1.22-1.el7 will be installed
---> Package perl-Scope-Guard.noarch 0:0.20-11.el7 will be installed
--> Finished Dependency Resolution
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(String::ToIdentifier::EN) >= 0.05
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(String::CamelCase) >= 0.02
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(Class::Accessor::Grouped) >= 0.10002
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(Lingua::EN::Inflect::Phrase) >= 0.02
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(DBIx::Class) >= 0.08127
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(Class::C3::Componentised) >= 1.0008
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(Lingua::EN::Tagger)
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(Class::Unload)
Error: Package: perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch (/perl-DBIx-Class-Schema-Loader-0.07040-2.1.noarch)
Requires: perl(Lingua::EN::Inflect::Number) >= 1.1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
这是我的perl版本
这是为x86_64-linux-thread-multi构建的perl 5,版本16,版本3(v5.16.3)