首先我执行sudo apt-get update && sudo apt-get upgrade
然后尝试安装以下软件包,但它不起作用,我收到unable to locate package
错误消息。
这是命令:
sudo apt-get install curl-devel expat-devel gettext-devel openssl-devel zlib-devel libcurl libcurl-devel perl-ExtUtils-MakeMaker mercurial cmake c-ares-devel uuid-devel libuuid-devel libxslt docbook5-style-xsl.noarch docbook-style-xsl.noarch
这是错误消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package curl-devel
E: Unable to locate package expat-devel
E: Unable to locate package gettext-devel
E: Unable to locate package openssl-devel
E: Unable to locate package zlib-devel
E: Unable to locate package libcurl
E: Unable to locate package libcurl-devel
E: Unable to locate package perl-ExtUtils-MakeMaker
E: Unable to locate package c-ares-devel
E: Unable to locate package uuid-devel
E: Unable to locate package libuuid-devel
E: Unable to locate package libxslt
E: Unable to locate package docbook5-style-xsl.noarch
E: Couldn't find any package by regex 'docbook5-style-xsl.noarch'
E: Unable to locate package docbook-style-xsl.noarch
E: Couldn't find any package by regex 'docbook-style-xsl.noarch'
我该怎么做才能解决这个问题?
答案 0 :(得分:0)
我在寻找libxslt时发现了这个问题。我可以使用名称libxslt1-dev。
来安装它