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
相關文章
相關標籤/搜索