厦门网站制作网页,无法跳转到建设银行网站,.net 导航网站模板,青岛高端网站建设往后看#xff0c;90%能解决你的问题
原文链接#xff1a;学一下 (suxueit.com) 我相信很多人刚使用ubuntu都遇到过这个问题#xff0c;如果没有遇到#xff0c;可能是你运气好使用了正确的软件源 libprotobuf-dev : 依赖: zlib1g-dev 但是它将不会被安装
zlib1g-dev : 依…往后看90%能解决你的问题
原文链接学一下 (suxueit.com) 我相信很多人刚使用ubuntu都遇到过这个问题如果没有遇到可能是你运气好使用了正确的软件源 libprotobuf-dev : 依赖: zlib1g-dev 但是它将不会被安装
zlib1g-dev : 依赖: zlib1g ( 1:1.2.8.dfsg-2ubuntu4) 但是 1:1.2.8.dfsg-2ubuntu4.1 已安装。
# 等待一些列的报错问题 思考问题
你肯定看到过 使用aptitude解决的方法 为什么要用aptitude呢难道ubuntu默认的apt是垃圾解决不了这个问题了 Sudo aptitude install 需要安装的软件名 也肯定看到过让你换一个阿里源的解决办法 为啥要换源呢不换就不行了 deb https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse解决问题 ubuntu自带的apt肯定是能解决的
apt安装的时候会去配置的软件源找包并查看相关依赖
所以只要源配置正确了基本就不会出现这种依赖错误的问题 什么样的源是正确的呢网上只有让换阿里源或者其他源的且没有告诉你源应该保持和自己系统的版本一致【或者说CodeName一致】
查看CodeName
lsb_release -c 找到对应codeName的源【例如我的是 jammy】
deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse# deb https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse 详细的CodeName源
ubuntu镜像_ubuntu下载地址_ubuntu安装教程-阿里巴巴开源镜像站 (aliyun.com)