Skip to content

Instantly share code, notes, and snippets.

@j0k3r
Last active March 28, 2019 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j0k3r/a4677d0bad3abc1b643106ece066aedf to your computer and use it in GitHub Desktop.
Save j0k3r/a4677d0bad3abc1b643106ece066aedf to your computer and use it in GitHub Desktop.
Fix 404 when retrieving package from jessie-updates
FROM debian:jessie
RUN sed -i '/jessie\-updates/d' /etc/apt/sources.list \
&& echo "Acquire::Check-Valid-Until no;" > /etc/apt/apt.conf.d/99no-check-valid-until
RUN apt-get update
# etc...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment