Ive 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:

<snip>

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::MIRROR::RPMMD - [ERROR] FAILED TO SIGN THE
REPOSITORY, GPG RETURNED 2.
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [debug] Removing download job
.repodata/repomd.xml.asc
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [debug] Removing download job
.repodata/repomd.xml.key
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] Finished downloading
and parsing the metadata, going to download the rest of the files...
2011-12-12 15:12:16 SMT::Mirror::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::Mirror::RpmMd - [info] => Total files
: 1
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] => Total transferred
files : 0
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] => Total transferred
file size : 0 bytes (0 Bytes)
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] => Total linked files
: 0
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] => Total copied files
: 0
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] => Files up to date
: 3627
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] => Errors
: 1
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] => Mirror Time
: 00:00:57
2011-12-12 15:12:16 SMT::Mirror::RpmMd - [info] => New security
updates : 0
2011-12-12 15:12:16 SMT::Mirror::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.

<snip>

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
Im not even sure it should work.

Any ideas ??


--
smwit
------------------------------------------------------------------------
smwit's Profile: http://forums.novell.com/member.php?userid=46280
View this thread: http://forums.novell.com/showthread.php?t=449451