# How to patch SLES to a specific patch-date?

**URL:** <https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707>\
**Category:** SLES Updates\
**Created:** [March 11, 2024, 1:24pm UTC](https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707 "2024-03-11T13:24:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![msb](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@msb](https://forums.suse.com/u/msb)\
**Post date:** [March 11, 2024, 1:24pm UTC](https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707/1 "2024-03-11T13:24:08Z")

</div>

Hello,

for SLES updates we usually do `zypper migration ; zypper patch`. Now staying at SLES15-SP5, that SP4 or 5 doesn’t mean a specific set of patches. While being at SP5 we notice, there are still intermediate patches arriving.

That leads to the situation, when we patch a validation server and do a validation over whatever time like 2 weeks, then patching the production server could lead to some recent patches not being validated.  
How is it possible to patch to that specific date that the validation server was patched to?

Best regards,  
Massimo

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [March 11, 2024, 5:01pm UTC](https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707/2 "2024-03-11T17:01:54Z")

</div>

@msb Hi and welcome to the Forum 😄 Maybe look at using SUSE Manager or RMT server to create a staging repo? [https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-rmt-installation.html](https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-rmt-installation.html)

---

<div class="post-metadata">

**Author:** ![msb](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@msb](https://forums.suse.com/u/msb)\
**Post date:** [March 19, 2024, 12:31pm UTC](https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707/3 "2024-03-19T12:31:35Z")

</div>

Does that mean, updating to a specific patch-revision is not possible directly with zypper and I always need an intermediate RMT server? At customer sites we usually don’t deploy a repository server. Could that be run on the same server without much overhead?

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [March 19, 2024, 1:43pm UTC](https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707/4 "2024-03-19T13:43:26Z")

</div>

@msb so the systems in question are air-gapped, or have internet access? Or you visit the Customer sites to apply updates?

---

<div class="post-metadata">

**Author:** ![msb](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@msb](https://forums.suse.com/u/msb)\
**Post date:** [March 19, 2024, 2:13pm UTC](https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707/5 "2024-03-19T14:13:30Z")

</div>

Of course we are doing this remotely. System has internet access.  
Sure, we could create a repository server on our site and use that via ssh/VPN or stuff…

Is it generally possible to get RPMs of recent version from Suse servers? Couldn’t we just create a list of all packages and version installed on the first server and just copy the list of RPMs to the second server or doing rpm -i only for the specific list of packages?

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [March 19, 2024, 8:27pm UTC](https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707/6 "2024-03-19T20:27:36Z")

</div>

@msb using SUSE Manager or RMT to deploy will keep up with the licenses of systems as well… (audit time).

Sure you could create a local repository for the relevant rpms with the likes of createrepo to pop them into, then add this location to the remote systems.

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [March 25, 2024, 6:03pm UTC](https://forums.suse.com/t/how-to-patch-sles-to-a-specific-patch-date/42707/7 "2024-03-25T18:03:13Z")

</div>

Note that unlike it’s predecessor SMT, RMT does not handle staging so unless you stop sync’ing repositories at a particular time and then patch all servers I suspect it won’t help with the above.
