0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

APT had planned for dpkgって言われた時の対処法

Last updated at Posted at 2020-12-09

#困ったので
W: APT had plannned for dpkgって言われた時はどうするか。
超訳:aptとdpkgの管理が矛盾してるから直しやがれ
その時は次の行に
Affected packages: hoge
って出ているはずなので、以下のようにする。

sudo dpkg --configure hoge
#公開鍵がないって言われたら
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 公開鍵
#ポートが開いてなくて通らなかったら
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 公開鍵
これでいけるはず。(と信じたい)
#P.S.
他人のブログにわざわざ出張ってきて、ここでは書けないような汚い言葉を
コメント欄に並べていく阿呆がQiitaにいることを嘆く。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?