My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

spacewalk-clone-by-date quits with AttributeError: DepSolver instance has no attribute '_override_sigchecks'

This document (7012639) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 1.7

Situation

Cloning a channel using spacewalk-clone-by-date quits with:
susemanager:~ # spacewalk-clone-by-date --user=admin -l sles11-sp1-pool-x86_64 sles11-sp1-pool-x86_64-clone
Password:
Reading repository information.
By continuing the following channels will be created:
sles11-sp1-pool-x86_64-clone
Continue with channel creation (y/n)?y
Cloning sles11-sp1-pool-x86_64 to sles11-sp1-pool-x86_64-clone with original package set.
Copying repodata, please wait.
Traceback (most recent call last):
 File "/usr/bin/spacewalk-clone-by-date", line 206, in <module>
   sys.exit(abs(main() or 0))
 File "/usr/bin/spacewalk-clone-by-date", line 196, in main
   return cloneByDate.main(args)
 File "/usr/share/rhn/utils/cloneByDate.py", line 155, in main
   cloner.create_channels(options.skip_depsolve)
 File "/usr/share/rhn/utils/cloneByDate.py", line 255, in create_channels
   self.dep_solve(nvreas, labels=(to_create.keys() + [self.src_parent]))
 File "/usr/share/rhn/utils/cloneByDate.py", line 331, in dep_solve
   solver = DepSolver(repos, nvrea_list)
 File "/usr/share/rhn/utils/depsolver.py", line 50, in __init__
   self.setup()
 File "/usr/share/rhn/utils/depsolver.py", line 62, in setup
   self._repostore.add(self.yrepo)
 File "/usr/lib64/python2.6/site-packages/yum/repos.py", line 113, in add
   repoobj._override_sigchecks = self.ayum._override_sigchecks
AttributeError: DepSolver instance has no attribute '_override_sigchecks'

Resolution

Fixed as of spacewalk stack 8817 update. Please see https://download.suse.com/Download?buildid=_oLQsuIAwIE~ for details. With this update -k is not longer needed and  skip_depsolve=true in spacewalk-clone-by-date scripts can be set to false.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012639
  • Creation Date:19-JUN-13
  • Modified Date:14-FEB-14
    • SUSESUSE Manager

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center