2
2

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 5 years have passed since last update.

DockerでFailed to fetch debian

Posted at

突然Dockerが起動しなくなった。

Macのストレージが一杯になったので、Dockerimage系ファイル全部消しました。
(50GBくらい減った。)
いざ再起動しようとすると、、
$ ./docker/bin/compose build
スクリーンショット 0031-03-29 17.47.21.png

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found.

debian触ってないし、先月まで動いていたし、、

先人の知恵

皆困ってた。
https://stackoverflow.com/questions/55361762/apt-get-update-fails-with-404-in-a-previously-working-build

Dockerfileのapt-get updateする前に

RUN sed -i '/jessie-updates/d' /etc/apt/sources.list 

入れたらできました!:dancer:

debianのライブラリの置き場所が変わったみたいです。

(3月後半から起き始めたみたいで、stackoverflowに感謝です)

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?