Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 248921 Details for
Bug 360291
yum.resolveDeps infinite loop when mashing f7-updates-testing for ppc
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
solve.py with excludes
solve.py (text/x-python), 1.33 KB, created by
Tim Lauridsen
on 2007-11-06 09:35:32 UTC
(
hide
)
Description:
solve.py with excludes
Filename:
MIME Type:
Creator:
Tim Lauridsen
Created:
2007-11-06 09:35:32 UTC
Size:
1.33 KB
patch
obsolete
>#!/usr/bin/python > >import os >import rpm >import yum >import rpmUtils >import sys > >excludes = ['libselinux-2.0.14-8.fc7.x86_64.rpm'] > >repo = os.getcwd() >yumbase = yum.YumBase() > >archlist = ('amd64', 'ia32e', 'x86_64', 'noarch') >rpmUtils.arch.canonArch = 'x86_64' > >yconfig = """ >[main] >debuglevel=2 >pkgpolicy=newest >exactarch=1 >gpgcheck=0 >reposdir=/dev/null >cachedir=/tmp/broken-repo.yumcache >installroot=/tmp/mash-f7-updates-testing/f7-updates-testing-x86_64.tmp >logfile=/yum.log > >[f7-updates-testing-x86_64] >name=f7-updates-testing >baseurl=file://%s >enabled=1 >""" % repo > >f = open('/tmp/broken-repo.yumconf', 'w') >f.write(yconfig) >f.close() > >yumbase.doConfigSetup(fn='/tmp/broken-repo.yumconf',debuglevel=0) >yumbase.conf.cache = 0 >yumbase.doRepoSetup() >yumbase.doTsSetup() >yumbase.doRpmDBSetup() >yumbase.ts.pushVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS)) >yumbase.doSackSetup(archlist = archlist, thisrepo='f7-updates-testing') >yumbase.doSackFilelistPopulate() >for pkg in os.listdir(repo): > if pkg.endswith('.rpm') and pkg not in excludes: > print "Adding %s" % pkg > ypkg = yum.YumLocalPackage(ts=yumbase.ts, filename=pkg) > yumbase.tsInfo.addInstall(ypkg) > >print "Running yumbase.resolveDeps()" >(rc, errors) = yumbase.resolveDeps() >print "DONE!", rc >print len(errors) >#if errors: ># for error in errors: ># print error
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 360291
:
247151
| 248921 |
250051