Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 容易停止工作_Linux_Unix_Ubuntu_Apt Get_Apt - Fatal编程技术网

Linux 容易停止工作

Linux 容易停止工作,linux,unix,ubuntu,apt-get,apt,Linux,Unix,Ubuntu,Apt Get,Apt,对Linux来说相对较新,但我对终端已经足够熟悉了。但是最近,对于任何“apt get install”,我都会得到这样的回应E:未满足的依赖项。在没有软件包的情况下尝试“apt get-f install”(或指定解决方案)。 当我尝试apt get-f安装时I get子进程/usr/bin/dpkg返回一个错误代码(1)。我环顾四周,但找不到太多,很抱歉说的含糊不清 sudo apt-get update && sudo apt-get upgrade -y &&am

对Linux来说相对较新,但我对终端已经足够熟悉了。但是最近,对于任何“apt get install”,我都会得到这样的回应
E:未满足的依赖项。在没有软件包的情况下尝试“apt get-f install”(或指定解决方案)。

当我尝试
apt get-f安装时
I get
子进程/usr/bin/dpkg返回一个错误代码(1)
。我环顾四周,但找不到太多,很抱歉说的含糊不清

sudo apt-get update && sudo apt-get upgrade -y && sudo autoremove -y && sudo apt-get clean

这可能是更新文件的问题

运行以下命令
sudodpkg--configure-a
sudoapt get-f install
应该可以帮助您前进