Bug 895576
Summary: | [abrt] fedup-0.7.2-1.fc17: callback.py:142:procConflictPo:NameError: global name 'po' is not defined | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Artem <artem.goncharov> | ||||||||||||
Component: | fedup | Assignee: | Will Woods <wwoods> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 17 | CC: | aaron, bugzilla.acct, bugzilla.redhat.com, desgastada, frank, frankly3d, jonny, kas, metanoite, ramindeh, samuel-rhbugs, tflink, wwoods | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Whiteboard: | abrt_hash:a710eb89a0d83fdf0df58e827750c8f2300961d3 | ||||||||||||||
Fixed In Version: | fedup-0.7.3-5.fc17 | Doc Type: | Bug Fix | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2013-05-15 03:29:31 UTC | Type: | --- | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Attachments: |
|
Description
Artem
2013-01-15 15:02:12 UTC
Created attachment 678820 [details]
File: executable
Created attachment 678821 [details]
File: dso_list
Created attachment 678822 [details]
File: environ
Created attachment 678823 [details]
File: smolt_data
Created attachment 678825 [details]
File: core_backtrace
Ran fed-up after fixing /boot diskspace problem Package: fedup-0.7.2-1.fc17 OS Release: Fedora release 17 (Beefy Miracle) There is a conflict which is masked by the bug above. To fix the bug, change line 142 of /usr/lib/python2.7/site-packages/fedup/callback.py from: self.log.debug('CONFLICT: %s → %s', po, formatted_conflict) ^^ to: self.log.debug('CONFLICT: %s → %s', name, formatted_conflict) It seems that yesterday there was problem in repos, as after failing to upgrade system with fedup I used old proven method - yum. I faced lots of multilib conflicts, i.e Protected multilib versions: jai-imageio-core-1.2-0.10.20100217cvs.fc18.noarch != jai-imageio-core-1.2-0.9.20100217cvs.fc17.noarch Error: Protected multilib versions: spice-server-0.12.0-1.fc18.x86_64 != spice-server-0.10.1-5.fc17.x86_64 Error: Protected multilib versions: jpackage-utils-1.7.5-20.fc18.x86_64 != jpackage-utils-1.7.5-18.2.fc17.x86_64 Error: Protected multilib versions: gdb-7.5.0.20120926-25.fc18.x86_64 != gdb-7.4.50.20120120-52.fc17.x86_64 Today yum continues fine, fedup starts downloading packages. Can't reproduce anymore I have the same error on my F17 machine. The modification described in comment #7 helps. # fedup --network 18 --debuglog fedupdebug.log setting up repos... getting boot images... .treeinfo | 1.1 kB 00:00 setting up update... finding updates 66% [====================================== ]Traceback (most recent call last): File "/usr/bin/fedup", line 330, in <module> main(args) File "/usr/bin/fedup", line 275, in main pkgs = download_packages(f) File "/usr/bin/fedup", line 57, in download_packages updates = f.build_update_transaction(callback=output.DepsolveCallback(f)) File "/usr/lib/python2.7/site-packages/fedup/download.py", line 185, in build_update_transaction (rv, msgs) = self.buildTransaction(unfinished_transactions_check=False) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1124, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 897, in resolveDeps (checkdep, errormsgs) = self._processConflict(*conflict) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 759, in _processConflict self._dscb_procConflict(po, niceformatneed) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 745, in _dscb_procConflict self.dsCallback.procConflictPo(po, niceformatneed) File "/usr/lib/python2.7/site-packages/fedup/callback.py", line 142, in procConflictPo self.log.debug('CONFLICT: %s → %s', po, formatted_conflict) NameError: global name 'po' is not defined This is already fixed in git: https://github.com/wgwoods/fedup/commit/2687ba2 there may be a test build shortly. *** Bug 901614 has been marked as a duplicate of this bug. *** fedup-0.7.3-0.git20130128.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-0.git20130128.fc17 just called the app from commandline as described at fedora.com Package: fedup-0.7.2-1.fc17 OS Release: Fedora release 17 (Beefy Miracle) You can try the test build mentioned in comment #12 like so: yum --enablerepo=updates-testing update fedup *** Bug 917253 has been marked as a duplicate of this bug. *** fedup-0.7.3-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-1.fc17 Package fedup-0.7.3-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fedup-0.7.3-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3956/fedup-0.7.3-1.fc17 then log in and leave karma (feedback). I've got upgraded using rawride's version of fedup. If this is the same, its ok. Description of problem: Ran fedup from a fully updated F17 box, also use yum-local + _local.repo "fedup --network 18" Version-Release number of selected component: fedup-0.7.2-1.fc17 Additional info: cmdline: /usr/bin/python /bin/fedup --network 18 dso_list: yum-3.4.3-76.fc17.noarch executable: /bin/fedup kernel: 3.8.3-103.fc17.i686.PAE uid: 0 ureports_counter: 1 Truncated backtrace: callback.py:142:procConflictPo:NameError: global name 'po' is not defined Traceback (most recent call last): File "/bin/fedup", line 330, in <module> main(args) File "/bin/fedup", line 275, in main pkgs = download_packages(f) File "/bin/fedup", line 57, in download_packages updates = f.build_update_transaction(callback=output.DepsolveCallback(f)) File "/usr/lib/python2.7/site-packages/fedup/download.py", line 185, in build_update_transaction (rv, msgs) = self.buildTransaction(unfinished_transactions_check=False) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1122, in buildTransaction (rescode, restring) = self._doSkipBroken(rescode, restring) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1276, in _doSkipBroken rescode, restring = self._skipPackagesWithProblems(rescode, restring) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1349, in _skipPackagesWithProblems rescode, restring = self.resolveDeps(True, skipping_broken=True) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 897, in resolveDeps (checkdep, errormsgs) = self._processConflict(*conflict) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 759, in _processConflict self._dscb_procConflict(po, niceformatneed) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 745, in _dscb_procConflict self.dsCallback.procConflictPo(po, niceformatneed) File "/usr/lib/python2.7/site-packages/fedup/callback.py", line 142, in procConflictPo self.log.debug('CONFLICT: %s → %s', po, formatted_conflict) NameError: global name 'po' is not defined Local variables in innermost frame: self: <fedup.textoutput.DepsolveCallback object at 0xb76cb06c> formatted_conflict: 'mdadm < 3.2.6-14' name: <YumAvailablePackageSqlite : dracut-024-25.git20130205.fc18.i686 (0xb08678c)> (In reply to comment #17) > https://admin.fedoraproject.org/updates/FEDORA-2013-3956/fedup-0.7.3-1.fc17 > then log in and leave karma (feedback). Left karma, can others leave some as the case may be Description of problem: fedup-cli --network 18 --debuglog fedupdebug.log Version-Release number of selected component: fedup-0.7.2-1.fc17 Additional info: cmdline: /usr/bin/python /bin/fedup-cli --network 18 --debuglog fedupdebug.log dso_list: yum-3.4.3-31.fc17.noarch executable: /bin/fedup-cli kernel: 3.8.4-102.fc17.x86_64 uid: 0 ureports_counter: 1 Truncated backtrace: callback.py:142:procConflictPo:NameError: global name 'po' is not defined Traceback (most recent call last): File "/bin/fedup-cli", line 330, in <module> main(args) File "/bin/fedup-cli", line 275, in main pkgs = download_packages(f) File "/bin/fedup-cli", line 57, in download_packages updates = f.build_update_transaction(callback=output.DepsolveCallback(f)) File "/usr/lib/python2.7/site-packages/fedup/download.py", line 185, in build_update_transaction (rv, msgs) = self.buildTransaction(unfinished_transactions_check=False) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1124, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 897, in resolveDeps (checkdep, errormsgs) = self._processConflict(*conflict) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 759, in _processConflict self._dscb_procConflict(po, niceformatneed) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 745, in _dscb_procConflict self.dsCallback.procConflictPo(po, niceformatneed) File "/usr/lib/python2.7/site-packages/fedup/callback.py", line 142, in procConflictPo self.log.debug('CONFLICT: %s → %s', po, formatted_conflict) NameError: global name 'po' is not defined Local variables in innermost frame: self: <fedup.textoutput.DepsolveCallback object at 0x7f439cd08050> formatted_conflict: 'v8-devel' name: <RPMInstalledPackage : compat-v8-3.6-devel-3.6.6.25-2.fc17.x86_64 (0x2c1f790)> Update works for me ... will leave karma after testing the full upgrade. fedup-0.7.3-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/fedup-0.7.3-3.fc18 fedup-0.7.3-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-3.fc17 fedup-0.7.3-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc17 fedup-0.7.3-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc18 fedup-0.7.3-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc19 fedup-0.7.3-4.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. fedup-0.7.3-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-5.fc17 fedup-0.7.3-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. fedup-0.7.3-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |