ubuntu下列软件包有未满足的依赖关解决方案

问题描述:

leo@leo:~$ sudo apt-get install terminator
[sudo] password for leo: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
 terminator : 依赖: python-support (>= 0.90.0) 但是它将不会被安装
              依赖: python-vte 但是它将不会被安装
              推荐: python-gnome2 但是它将不会被安装
              推荐: python-keybinder 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
 

问题原因:镜像源跟你的ubuntu系统版本不匹配导致

解决办法:

查询自己系统对于的

lsb_release -a

ubuntu下列软件包有未满足的依赖关解决方案_第1张图片

ubuntu下列软件包有未满足的依赖关解决方案_第2张图片

 

 终端打开,修改文本:

sudo gedit /etc/apt/sources.list

替换为,保存:

#阿里源
deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse

终端执行:.

sudo apt-get update
sudo apt-get upgrade

最后执行:

sudo apt-get install libc6-dev

ubuntu下列软件包有未满足的依赖关解决方案_第3张图片

 

你可能感兴趣的:(ubuntu,linux)