现在更新时出现错误,由于损坏,我无法安装大多数软件
/etc/apt/sources.list
Run Code Online (Sandbox Code Playgroud)
文件。有没有我可以下载的副本来替换它?
该文件适用于美国的 Ubuntu 12.04(最终测试版)。
可能的重复:
如何删除 PPA?
如果我添加了带有“sudo add-apt-repository”的 PPA,我应该删除 /etc/apt/sources.list.d 中的文件,还是有删除命令?
我正在努力在 Ubuntu 18.10 中安装 cURL 模块。从 17.10 升级到 18.10 cURL 被移除/删除。现在当我尝试执行命令时
sudo apt-get install php7.2-curl
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
The following packages have unmet dependencies:
php7.2-curl :
Depends: libcurl4 (>= 7.44.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
sudo apt-get install curl
Run Code Online (Sandbox Code Playgroud)
给出错误
The following packages have unmet dependencies:
curl : Depends: libcurl4 (= 7.61.0-1ubuntu2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken …Run Code Online (Sandbox Code Playgroud)