Skip to content

Fix apt index refresh in base.Dockerfile before getdeps install-system-deps#634

Closed
afrind wants to merge 1 commit into
facebook:mainfrom
afrind:fix-docker-apt-index
Closed

Fix apt index refresh in base.Dockerfile before getdeps install-system-deps#634
afrind wants to merge 1 commit into
facebook:mainfrom
afrind:fix-docker-apt-index

Conversation

@afrind

@afrind afrind commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

The prior layer clears /var/lib/apt/lists/*, and getdeps' install-system-deps runs apt-get install without an apt-get update, leaving apt with an empty package index. This caused every system dep to fail with 'Unable to locate package'. Refresh the index before the install step and re-clean it afterward.

…m-deps

The prior layer clears /var/lib/apt/lists/*, and getdeps'
install-system-deps runs `apt-get install` without an `apt-get update`,
leaving apt with an empty package index. This caused every system dep to
fail with 'Unable to locate package'. Refresh the index before the
install step and re-clean it afterward.
@meta-cla meta-cla Bot added the CLA Signed label Jul 22, 2026
@meta-codesync

meta-codesync Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@afrind has imported this pull request. If you are a Meta employee, you can view this in D113217580.

meta-codesync Bot pushed a commit to facebook/hhvm that referenced this pull request Jul 22, 2026
…m-deps

Summary:
The prior layer clears /var/lib/apt/lists/*, and getdeps' install-system-deps runs `apt-get install` without an `apt-get update`, leaving apt with an empty package index. This caused every system dep to fail with 'Unable to locate package'. Refresh the index before the install step and re-clean it afterward.

X-link: facebook/proxygen#634

Reviewed By: jbeshay

Differential Revision: D113217580

Pulled By: afrind

fbshipit-source-id: 4501c59a3f3607e9c56d67ad64a16e9c1e166574
@meta-codesync meta-codesync Bot closed this in 1c4675c Jul 22, 2026
@meta-codesync meta-codesync Bot added the Merged label Jul 22, 2026
@meta-codesync

meta-codesync Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@afrind merged this pull request in 1c4675c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant