Skip to content

changes to repository location in photon

Bo Gan edited this page Aug 6, 2025 · 4 revisions

Changes to the default repository location in Photon

As of 2025.07, Photon default repository location is https://packages.vmware.com/photon. This is what we shipped in the photon-repos.rpm. This domain name (CNAME alias to packages-prod.broadcom.com) is going away, and we are shipping new photon-repos RPMs for 4.0 and 5.0 to replace the old repo files. In the new RPMs, there are post-installation scriptlets trying to automatically migrate baseurl in the existing .repo files, in case those files were modified and would be retained during the upgrade of photon-repos.rpm.

To consume the new photon-repos.rpm and upgrade your existing Photon environment, you can use the following commands

tdnf update --refresh grep sed photon-repos

You can validate the new repo files are inplace by

grep -F packages.vmware.com /etc/yum.repos.d/*.repo

It should give nothing.

grep -F packages-prod.broadcom.com /etc/yum.repos.d/*.repo

Should give something like the following:

/etc/yum.repos.d/photon-debuginfo.repo:baseurl=https://packages-prod.broadcom.com/photon/$releasever/photon_debuginfo_$releasever_$basearch
/etc/yum.repos.d/photon-extras.repo:baseurl=https://packages-prod.broadcom.com/photon/$releasever/photon_extras_$releasever_$basearch
/etc/yum.repos.d/photon-release.repo:baseurl=https://packages-prod.broadcom.com/photon/$releasever/photon_release_$releasever_$basearch
/etc/yum.repos.d/photon.repo:baseurl=https://packages-prod.broadcom.com/photon/$releasever/photon_$releasever_$basearch
/etc/yum.repos.d/photon-srpms.repo:baseurl=https://packages-prod.broadcom.com/photon/$releasever/photon_srpms_$releasever_$basearch
/etc/yum.repos.d/photon-updates.repo:baseurl=https://packages-prod.broadcom.com/photon/$releasever/photon_updates_$releasever_$basearch
Clone this wiki locally