# Slicer Linux application and extension packages upload will be restored Jan 24th 2022

**URL:** https://discourse.slicer.org/t/slicer-linux-application-and-extension-packages-upload-will-be-restored-jan-24th-2022/21589
**Category:** Development
**Created:** [January 24, 2022, 3:42am UTC](https://discourse.slicer.org/t/slicer-linux-application-and-extension-packages-upload-will-be-restored-jan-24th-2022/21589 "2022-01-24T03:42:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)
#### Post date: [January 24, 2022, 3:42am UTC](https://discourse.slicer.org/t/slicer-linux-application-and-extension-packages-upload-will-be-restored-jan-24th-2022/21589/1 "2022-01-24T03:42:54Z")

</div>

To summarize, preview Linux build for Slicer application and associated extensions will not be available until we address this (\*)

In the meantime, thanks for your patience 🙏

(\*) _Note that we will also add regression tests to the relevant continuous integration to avoid this specific issue from happening again_

## Background

While working on updating CMake and compilers (See [1]) used on the different “factories” (aka build machine responsible to build application and extension packages), we also updated the docker images used generate the Linux packages (See [2]).

To be specific, we first updated the [dockbuild/dockbuild](https://github.com/dockbuild/dockbuild) and then updated the `slicer/buildenv-qt5-centos7:latest` image specific to Slicer and maintained at [Slicer/SlicerBuildEnvironment](https://github.com/Slicer/SlicerBuildEnvironment).

The problem is that simply bumping the python version used in the script [imagefiles/build-and-install-python.sh](https://github.com/dockbuild/dockbuild/blob/master/imagefiles/build-and-install-python.sh) was not sufficient and the python version installed in the image is lacking modules like `_ctypes` that are required to use the [slicer\_package\_manager](https://github.com/girder/slicer_package_manager#readme) python client.

[1] [https://github.com/Slicer/DashboardScripts/pull/43](https://github.com/Slicer/DashboardScripts/pull/43)  
[2] [https://github.com/dockbuild/dockbuild/pull/78](https://github.com/dockbuild/dockbuild/pull/78)

---

<div class="post-metadata">

### Author: ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)
#### Post date: [January 25, 2022, 2:13am UTC](https://discourse.slicer.org/t/slicer-linux-application-and-extension-packages-upload-will-be-restored-jan-24th-2022/21589/2 "2022-01-25T02:13:21Z")

</div>

Update:

Root cause has been fixed in the following pull request:

> <https://github.com/dockbuild/dockbuild/pull/79>

Relevant Slicer docker image is being rebuilt.

---

<div class="post-metadata">

### Author: ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)
#### Post date: [January 25, 2022, 3:25am UTC](https://discourse.slicer.org/t/slicer-linux-application-and-extension-packages-upload-will-be-restored-jan-24th-2022/21589/3 "2022-01-25T03:25:22Z")

</div>

Issue has been addressed:

- Image `slicer/buildenv-qt5-centos7:latest` has been updated
- Update from the linux “factory” has been manually triggered
- Download site now show the linux package is available for download (see screenshot below)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/5/f5a265b64270b064f7114b164cbc55b7d6988f7b.png)
