Skip to content

Fix conda installation failure due to SHA1 signature rejection#1576

Open
abdurriq wants to merge 1 commit intodevcontainers:mainfrom
abdurriq:abdurriq/conda-sha1
Open

Fix conda installation failure due to SHA1 signature rejection#1576
abdurriq wants to merge 1 commit intodevcontainers:mainfrom
abdurriq:abdurriq/conda-sha1

Conversation

@abdurriq
Copy link
Contributor

Conda installation was failing due to SHA1 signature no longer being accepted. This change switches to downloading the deb directly.

Original PR (merged into another feature branch): #1565

…ntainers#1565)

* Initial plan

* Fix conda installation by switching from apt repository to direct Miniconda installer

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Add error handling for Miniconda download and installation

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Use APT::Key::GPGVCommand=1 option to bypass SHA1 signature check

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix version to 1.2.1 for semantic versioning

* Revert to Miniconda installer approach - APT option caused gpgv errors

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Use mktemp for secure temporary file creation

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Replace Miniconda installer with direct .deb package download and apt install

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix apt-get install syntax and improve error handling

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix package filename - use architecture-specific deb and extract Filename from Packages

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Update version to 1.2.3

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix apt-get install path - remove ./ prefix for absolute paths

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

* Fix version matching for specific conda versions - handle version suffixes

Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: abdurriq <137001048+abdurriq@users.noreply.github.com>
@abdurriq abdurriq requested a review from a team as a code owner February 17, 2026 12:30
@abdurriq abdurriq changed the title Fix conda installation failure due to SHA1 signature rejection (#1565) Fix conda installation failure due to SHA1 signature rejection Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants