Categories: DevOps

Downgrading Cygwin

Last week I was trying to set up an OpenJDK build environment on my Windows 11 machine. Building the repo would fail due to segfaults when running make. The workaround is to downgrade Cygwin from 3.3 to 3.2:

  1. Launch the Cygwin setup program (setup-x86_64.exe).
  2. Change the View dropdown to Full.
  3. Enter cygwin into the search box then select the cygwin package..
  4. Open the cygwin package’s dropdown in the New column.
  5. Change the selection from Keep to the desired version as shown in the image below.
Cygwin Setup - Select Packages 
Select packages to install 
Full 
Pack age 
base-cyg',vin 
cygnin-debuginfo 
cygwin-devel 
cygwin-doc 
cygwin-x-doc 
cygwin32 
cygwin32-binutiIs 
cygwin32-binutiIs-debuginfo 
cygwin32-defaufMıantfest 
cygwi n 32-gcc-core 
cygwi n 32-gcc-debuginfo 
cyg n 32-gcc*oftran 
cygwin32-gcc-g++ 
cygwin32-gettext 
cygwin324ibbfd 
cygwin324ibiconv 
cygwin324ibtooI 
cygwin32%N32apiheadem 
cygwi n -ıuntime 
cygwin32-zIib 
Korg -serv Sh repon er 
Korg -serv er-cygwin shrepoft 
Side obsolete packages 
Src7 Categofies 
Uninstall 
Skip 
31.7-1 
3.1 .ı-ı 
3.12-1 
3.1.5-ı 
3.1.6-ı 
3.1.7-ı 
Size 
O 
kep Best 
Descfiption 
O 
Jest 
332-1 
321-1 
331-0,1.9814cfd8f693 (Test) 
331-0.2.6c1f49f83fde (Test) 
331- ı 
33.1-1 
Keep 
Reinstall 
L] Lhils 
Debug 
2,931k 
Intial base installation helper scıipt 
LIIBtion engine 
or cyg',vın 
pment files 
%fıc documentation including man pages 
yectfic document ation 
t toolchain 
ygwin 3%tt toolchain 
or cygwin32-binutiIs 
ication manifest for Cygwin32 toolchain 
Win 32btt toolchain (C, OpenMP) 
or cygwin32-gcc 
Win 32btt toolchain (Fortran) 
Win 32bt toolchain 
t for Cygwin 32bt toolchain 
Nin 32btt toolchain 
gwin 3%tt toolchain 
gwin 3%tt toolchain 
,gwin 3%tt toolchain 
veadem for Cygwin 3hit toolchain 
libs for Cygwin 3hit toolchain 
in 32btt toolchain 
A breakpad crashrepofter for Cygwin 
Debug info for xorg-servercygwincrashrepofter
Cygwin version selection
  1. Click on the Next button then verify that the downgrade is to the desired version.
Cygwin Setup - Review and confirm changes 
Review coriirm 
Uninstall cygwin 3 3 2-1 (automatically added) 
Install cygwin 3 2 0-1 
c
Reviewing cygwin downgrade version

Finish the setup process then launch cygwin and verify that the version is correct by running:

cygcheck -c Cygwin
Verifying cygwin version after downgrading

Article info




Leave a Reply

Your email address will not be published. Required fields are marked *