无法在 ubuntu14.04.3 上找到 libcurl4-gnutls-dev:i386

无法在 ubuntu14.04.3 上找到 libcurl4-gnutls-dev:i386

我需要它来搭建一个不饿死的服务器

apt-get update && apt-get  install   libcurl4-gnutls-dev:i386
Ign http://archive.ubuntu.com trusty InRelease      
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty-updates Release.gpg
Hit http://archive.ubuntu.com trusty-security Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty-updates Release
Hit http://archive.ubuntu.com trusty-security Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages                       
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages                 
Hit http://archive.ubuntu.com trusty/universe amd64 Packages                   
Hit http://archive.ubuntu.com trusty-updates/main Sources                      
Hit http://archive.ubuntu.com trusty-updates/restricted Sources                
Hit http://archive.ubuntu.com trusty-updates/universe Sources                  
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages               
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages         
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages           
Hit http://archive.ubuntu.com trusty-security/main Sources                     
Hit http://archive.ubuntu.com trusty-security/restricted Sources               
Hit http://archive.ubuntu.com trusty-security/universe Sources                 
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages              
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages        
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages          
Reading package lists... Done                                                  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libcurl4-gnutls-dev

答案1

我不知道为什么你找不到这个包,但是你可以从这里下载它packages.ubuntu.com并手动安装。转到下载文件的位置并输入:

dpkg -i libcurl4-gnutls-dev_7.35.0-1ubuntu2.5_i386.deb

答案2

我必须安装 i386 架构。

sudo dpkg --add-architecture i386

然后更新 apt 并再次尝试安装

sudo apt-get 更新

sudo apt-get 安装 libcurl4-gnutls-dev:i386

加速计划

相关内容