Command Prompt
Microsoft Windows [Version 10.0.xxxxx.xxxx]
(c) 2021 Microsoft Corporation. All rights reserved.

C:\Users\you> wsl
you@wslu_site$ cd /data/sites/wslu
you@wslu_site$ pwd
/data/sites/wslu
you@wslu_site$ cat ./2023/03/21/copr-obs-update.md

From OBS to COPR: A migration of wslu packages

---
date: Mar 21, 2023
---

Currently, we are using Open Build Service to build our packages for various distributions as well as Copr for Fedora. However, I recently found that OBS has some issues with the build process of wslu packages. So I decided to migrate several packages to COPR. Currently, the migration is completed.

The following distributions installation are affected:

  • CentOS 8/Stream 9
  • Red Hat Enterprise Linux 8/9
  • Oracle Linux 8/9
  • OpenSUSE Leap 15.*
  • OpenSUSE Tumbleweed
  • SUSE Linux Enterprise Server 12
  • SUSE Linux Enterprise Server 15

For CentOS/Red Hat/Oracle Linux, Version 7 will still be kept in OBS. For SUSE Linux Enterprise Servers (12/15) it will be kept in OBS as well, but SUSE Linux Enterprise Server 15 SP3/SP4 and 12 SP5 will be only supported.

For SUSE Linux Enterprise Server 15 SP3/SP4 and 12 SP5, there are also some changes in the installation process. Please remove the OBS repository and re-add the repository like this:

For SUSE Linux Enterprise Server 15 SP3/SP4:

1
2
3
4
sudo zypper addrepo https://download.opensuse.org/repositories/home:/wslutilities/SLE_15/home:wslutilities.repo
sudo zypper addrepo https://download.opensuse.org/repositories/graphics/SLE_15_SP3/graphics.repo
sudo zypper up
sudo zypper in wslu

For SUSE Linux Enterprise Server 12 SP5:

1
2
3
4
sudo zypper addrepo https://download.opensuse.org/repositories/home:/wslutilities/SLE_12_SP5/home:wslutilities.repo
sudo zypper addrepo https://download.opensuse.org/repositories/graphics/SLE_12_SP5/graphics.repo
sudo zypper up
sudo zypper in wslu

For OpenSUSE, 15.1/15.2 is no longer supported and 15.3/15.4 will be only supported in COPR. Please remove the OBS repository and add the COPR repository instead:

1
2
3
4
SUSE_VERSION="$(grep VERSION= /etc/os-release | sed -e s/VERSION=//g -e s/\"//g -e s/-/_/g)"
sudo zypper addrepo https://copr.fedorainfracloud.org/coprs/wslutilities/wslu/repo/opensuse-leap-${SUSE_VERSION}/wslutilities-wslu-opensuse-leap-${SUSE_VERSION}.repo
sudo zypper up
sudo zypper in wslu

For OpenSUSE Tumbleweed, the OBS repository will be removed and the COPR repository will be added instead. Please remove the OBS repository and add the COPR repository instead:

1
2
3
sudo zypper addrepo https://copr.fedorainfracloud.org/coprs/wslutilities/wslu/repo/opensuse-tumbleweed/wslutilities-wslu-opensuse-tumbleweed.repo
sudo zypper up
sudo zypper in wslu

For CentOS/Red Hat/Oracle Linux Version 8 or higher, the OBS repository will be removed and the COPR repository will be added instead. Please remove the OBS repository and add the COPR repository instead:

1
2
3
4
5
6
7

# for CentOS/RHEL 8 only
sudo dnf install epel-release dnf-plugins-core
sudo dnf config-manager --set-enabled PowerTools

sudo dnf copr enable wslutilities/wslu
sudo dnf install wslu

For further information, please visit our installation guide. If there is any issue with the installation, don’t hesitate to report to https://github.com/wslutilities/wslu/issues.

you@wslu_site$ cat ./blog/_Navigation

you@wslu_site$cat /data/sites/wslu/footer
Souce code of this website is available on GitHub.
Logo of WSL Utilities is licensed under a CC BY-NC 4.0 International License.
Background by me on Unsplash.

© 2017-2024 WSL Utilites
© 2013-2024 WE. Studio
2007-2024 Patrick Wu