Guest User

Untitled

a guest
Oct 20th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. Problem count: 1
  2. Problem 1: pattern:meego-nokia-n900-support-.noarch requires nokia-usb-networking, but this requirement cannot be provided, uninstallable providers: nokia-usb-networking-1.5-1.2.noarch[oss]
  3. Problem 1. Solution count: 3
  4. Problem 1, Solution 1: do not install pattern:meego-nokia-n900-support-.noarch,
  5. Problem 1, Solution 2: do not install usb-moded-config-n900-0.1-1.3.CE.noarch,
  6. Problem 1, Solution 3: break meego-nokia-n900-support by ignoring some of its dependencies,
  7. Selected solution 3 for problem 1.
  8. Applying solutions for the problems.
  9. Traceback (most recent call last):
  10. File "/usr/bin/mic-image-creator", line 1055, in <module>
  11. ret = main()
  12. File "/usr/bin/mic-image-creator", line 994, in main
  13. creator.install()
  14. File "/usr/lib/python2.6/site-packages/mic/imgcreate/creator.py", line 847, in install
  15. pkg_manager.runInstall(checksize)
  16. File "/usr/lib/python2.6/site-packages/mic/imgcreate/pkgmanagers/zypppkgmgr.py", line 505, in runInstall
  17. self.buildTransaction()
  18. File "/usr/lib/python2.6/site-packages/mic/imgcreate/pkgmanagers/zypppkgmgr.py", line 657, in buildTransaction
  19. self.Z.resolver().applySolutions(solutions_to_apply)
  20. File "/usr/lib/python2.6/site-packages/zypp.py", line 3510, in applySolutions
  21. def applySolutions(self, *args): return _zypp.Resolver_Ptr_applySolutions(self, *args)
  22. ValueError: invalid null reference in method 'Resolver_Ptr_applySolutions', argument 2 of type 'zypp::ProblemSolutionList const &'
  23.  
  24.  
  25.  
  26. def buildTransaction(self):
  27. if not self.Z.resolver().resolvePool():
  28. print "Problem count: %d" % len(self.Z.resolver().problems())
  29. solutions_to_apply = zypp.ProblemSolutionList()
  30. problem_nb = 0
  31. for problem in self.Z.resolver().problems():
  32. problem_nb += 1
  33. print "Problem %s: %s, %s" % (problem_nb, problem.description().decode("utf-8"), problem.details().decode("utf-8"))
  34. print "Problem %s. Solution count: %s" % (problem_nb, len(problem.solutions()))
  35. solution_nb = 0
  36. for solution in problem.solutions():
  37. solution_nb += 1
  38. print "Problem %s, Solution %s: %s, %s" % (problem_nb, solution_nb, solution.description(),solution.details())
  39. if solution_nb == len(problem.solutions()):
  40. solutions_to_apply = solutions_to_apply.append(solution)
  41. print "Selected solution %s for problem %s." % (solution_nb, problem_nb)
  42.  
  43. print "Applying solutions for the problems."
  44. self.Z.resolver().applySolutions(solutions_to_apply)
Add Comment
Please, Sign In to add comment