apt dpkg 错误制造

依赖关系不知足

debian/control 文件中 Depends 写上不可能知足的依赖,好比 bash (> 10.0)ubuntu

dpkg 报错

debian/postinst 文件中设置退出码为非零,好比 exit 2bash

dpkg 被中断

使用 dpkg 安装一个包,而后在 Setting up 的时候按 Ctrl+C 中断。ionic

没法读取源列表

修正 /etc/apt/sources.list 文件,写上一行 debxpost

有未认证的包

增长 deb http://ppa.launchpad.net/trebelnik-stefina/radeon-profile/ubuntu bionic main 到源列表中,而后执行命令 sudo apt install -y radeon-profile 会获得错误.net

WARNING: The following packages cannot be authenticated!
  radeon-profile-daemon radeon-profile
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
相关文章
相关标签/搜索