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 1 year has passed since last update.

Alpine Linuxのパッケージマネージャで一部のパッケージが入らないときの対処法

Last updated at Posted at 2023-07-24

Alpine Linuxをインストールし、パッケージマネージャのapkでpy3-pipやffmpegのパッケージをインストールしようとしたらno such packageを吐かれた。
自戒と備忘録を兼ねて

原因

apkのリポジトリファイルにコミュニティリポジトリが読まれてないせいだった。

対処

何らかのeditorで/etc/apk/repositoriesを編集。リンクは差異がある事があるので適宜読み替えてください。

/etc/apk/repositories
#/media/cdrom/apks
http://link.to.repository/alpine/ver/main
#http://link.to.repository/alpine/ver/community

/communityへののコメントアウトを外して、apk update。
apkのコミュニティリポジトリが使えるようになります。

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?