ubuntu focal InRelease 没有数字签名 解决办法-CSDN博客
【错误记录】Ubuntu 安装软件报错 ( 下列软件包有未满足的依赖关系:E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。 )-腾讯云开发者社区-腾讯云
sudo apt install massif-visualizer
安装软件报错“无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系”
执行下面步骤即可:
sudo rm /etc/apt/sources.list.d/*
sudo vi /etc/apt/sources.list
20.04
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
sudo apt-get update
sudo apt install massif-visualizer
下面不看
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。_无法修正错误,因为您要求某些软件包保持现状-CSDN博客
$ sudo apt install massif-visualizer
sudo apt-get install aptitude
sudo aptitude install massif-visualizer
先清除不兼容的软件,再进行安装,即选择先no再YES
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。_鉴于它的文件扩展名无效 e: 无法修正错误,因为您要求某些软件包保持现状,就是它们_ShyHG的博客-CSDN博客