# Problems deselecting patches in SMT

**URL:** <https://forums.suse.com/t/problems-deselecting-patches-in-smt/22024>\
**Category:** SLES Updates\
**Created:** [December 12, 2011, 4:26pm UTC](https://forums.suse.com/t/problems-deselecting-patches-in-smt/22024 "2011-12-12T16:26:02Z")\
**Posts on this page:** 2\
**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:** [December 12, 2011, 4:26pm UTC](https://forums.suse.com/t/problems-deselecting-patches-in-smt/22024/1 "2011-12-12T16:26:02Z")

</div>

IÂ´ve had some problems with a patch that I have previously staged into  
my testing branch in SMT, and now I want to remove it from testing  
before cloning to production.  
However if I deselect the patch (or any other patch) and then try to  
create a new snapshot (From full mirror to testing) it fails with the  
message “An error has occured while creating the snapshot”,  
and when I look at the staging log it looks like this:

2011-12-12 15:12:16 SMT::Utils - [debug] import sha  
2011-12-12 15:12:16 SMT::Utils - [debug] Command output:  
2011-12-12 15:12:16 SMT::Utils - [debug] Wrote:  
/srv/www/htdocs/repo/testing/$RCE/SLES11-SP1-VMware-Updates/sle-11-x86\_64/.repodata/susedata.xml.gz  
2011-12-12 15:12:16 SMT::Utils - [debug] type = susedata  
2011-12-12 15:12:16 SMT::Utils - [debug] location =  
repodata/susedata.xml.gz  
2011-12-12 15:12:16 SMT::Utils - [debug] checksum =  
3ceb19ed44e2863c67357518232b584dc219cf75  
2011-12-12 15:12:16 SMT::Utils - [debug] timestamp =  
1323699136.0  
2011-12-12 15:12:16 SMT::Utils - [debug] open-checksum =  
7401e2d27993674a2dfffae931b0ae0208211d65  
2011-12-12 15:12:16 SMT::Utils - [debug] Wrote:  
/srv/www/htdocs/repo/testing/$RCE/SLES11-SP1-VMware-Updates/sle-11-x86\_64/.repodata/repomd.xml  
2011-12-12 15:12:16 SMT:🪞:RPMMD - [ERROR] FAILED TO SIGN THE  
REPOSITORY, GPG RETURNED 2.  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [debug] Removing download job  
.repodata/repomd.xml.asc  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [debug] Removing download job  
.repodata/repomd.xml.key  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] Finished downloading  
and parsing the metadata, going to download the rest of the files…  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Finished mirroring  
‘file:///srv/www/htdocs/repo/full/$RCE/SLES11-SP1-VMware-Updates/sle-11-x86\_64’  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Total files  
: 1  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Total transferred  
files : 0  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Total transferred  
file size : 0 bytes (0 Bytes)  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Total linked files  
: 0  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Total copied files  
: 0  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Files up to date  
: 3627  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Errors  
: 1  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> Mirror Time  
: 00:00:57  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> New security  
updates : 0  
2011-12-12 15:12:16 SMT:🪞:RpmMd - [info] =\> New recommended  
updates : 0  
2011-12-12 15:12:16 main - [error] Unable to generated repository  
testing/$RCE/SLES11-SP1-VMware-Updates/sle-11-x86\_64.

I have no problems signing the repo if I just add new patches, the  
problem only occurs when trying to remove previously selected patches. I  
have never tried this before so  
IÂ´m not even sure it should work.

Any ideas ??

## – smwit

smwit’s Profile: [http://forums.novell.com/member.php?userid=46280](http://forums.novell.com/member.php?userid=46280)  
View this thread: [http://forums.novell.com/showthread.php?t=449451](http://forums.novell.com/showthread.php?t=449451)

---

<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:** [December 16, 2011, 10:47pm UTC](https://forums.suse.com/t/problems-deselecting-patches-in-smt/22024/2 "2011-12-16T22:47:08Z")

</div>

smwit,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit [http://support.novell.com](http://support.novell.com) and search the knowledgebase and/or check all  
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.novell.com](http://forums.novell.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.novell.com/faq.php](http://forums.novell.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team  
[http://forums.novell.com/](http://forums.novell.com/)
