# Undo Patch

**URL:** <https://forums.suse.com/t/undo-patch/22013>\
**Category:** SLES Updates\
**Created:** [November 9, 2011, 11:36pm UTC](https://forums.suse.com/t/undo-patch/22013 "2011-11-09T23:36:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [November 9, 2011, 11:36pm UTC](https://forums.suse.com/t/undo-patch/22013/1 "2011-11-09T23:36:01Z")

</div>

Hello,

is there a possibilty to revoke/undo a patch installed via zypper?

Thanks for feedback

## – ralf\_neumann

ralf\_neumann’s Profile: [http://forums.novell.com/member.php?userid=49791](http://forums.novell.com/member.php?userid=49791)  
View this thread: [http://forums.novell.com/showthread.php?t=448027](http://forums.novell.com/showthread.php?t=448027)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [November 10, 2011, 12:14am UTC](https://forums.suse.com/t/undo-patch/22013/2 "2011-11-10T00:14:28Z")

</div>

On Wed, 09 Nov 2011 21:36:01 GMT  
ralf neumann [ralf\_neumann@no-mx.forums.novell.com](mailto:ralf_neumann@no-mx.forums.novell.com) wrote:  
[color=blue]

> Hello,
> 
> is there a possibilty to revoke/undo a patch installed via zypper?
> 
> Thanks for feedback
> 
> [/color]  
> Hi  
> Yes, just install the previous version which can be seen in the zypper  
> history file for example;

```auto
fgrep apache2 /var/log/zypp/history
2010-12-07 09:46:10|install|apache2|2.2.10-2.24.5
2011-09-21 08:26:51|install|apache2|2.2.10-2.30.1

zypper in apache2-2.2.10-2.24.5
```

There are other options, see the install section of the man page.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 11.4 (x86\_64) Kernel 2.6.37.6-0.7-desktop  
up 23:53, 3 users, load average: 0.02, 0.04, 0.10  
GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [November 10, 2011, 5:16pm UTC](https://forums.suse.com/t/undo-patch/22013/3 "2011-11-10T17:16:02Z")

</div>

Hi,

means that both versions must be accessible to zypper. Is this ensured?  
What happens when you update the kernel and the server is not coming up  
anymore?

## – ralf\_neumann

ralf\_neumann’s Profile: [http://forums.novell.com/member.php?userid=49791](http://forums.novell.com/member.php?userid=49791)  
View this thread: [http://forums.novell.com/showthread.php?t=448027](http://forums.novell.com/showthread.php?t=448027)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [November 10, 2011, 5:25pm UTC](https://forums.suse.com/t/undo-patch/22013/4 "2011-11-10T17:25:30Z")

</div>

On Thu, 10 Nov 2011 15:16:02 GMT  
ralf neumann [ralf\_neumann@no-mx.forums.novell.com](mailto:ralf_neumann@no-mx.forums.novell.com) wrote:  
[color=blue]

> Hi,
> 
> means that both versions must be accessible to zypper. Is this  
> ensured? What happens when you update the kernel and the server is  
> not coming up anymore?
> 
> [/color]  
> Hi  
> If you run multiversion in the zypper configuration it will retain the  
> previous kernel and entries in grub. This is a before scenario, not an  
> after one.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 11.4 (x86\_64) Kernel 2.6.37.6-0.7-desktop  
up 1 day 17:13, 3 users, load average: 0.03, 0.14, 0.13  
GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09
