Bug 5464 - yum backend can crash on back
Summary: yum backend can crash on back
Status: CLOSED WORKSFORME
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.14.0
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 10:06 CET by Pierre Ossman
Modified: 2021-08-31 15:34 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2015-03-09 10:06:00 CET
(discovered from bug 5436)

I ended up with an empty transaction, and proceeded with next. After clicking back again I was greeted with a crash:

2015-03-09 10:01:40,683: Resolving packages...
2015-03-09 10:01:40,795: Loaded plugins: refresh-packagekit, rhnplugin
2015-03-09 10:01:42,691: This system is receiving updates from RHN Classic or RHN Satellite.
2015-03-09 10:01:51,036: resolving package 'lsb-core-amd64' for installation.
2015-03-09 10:01:51,254: package 'lsb-core-amd64' provides package 'redhat-lsb'
2015-03-09 10:01:51,255: resolving package 'lsb-graphics-amd64' for installation.
2015-03-09 10:01:51,482: package 'lsb-graphics-amd64' provides package 'redhat-lsb-graphics'
2015-03-09 10:01:51,482: resolving package 'redhat-lsb' for installation.
2015-03-09 10:01:51,496: package 'redhat-lsb-4.0-7.el6.x86_64' is already installed.
2015-03-09 10:01:51,496: resolving package 'redhat-lsb-graphics' for installation.
2015-03-09 10:01:51,509: package 'redhat-lsb-graphics-4.0-7.el6.x86_64' is already installed.
2015-03-09 10:01:51,598: Empty transaction after resolving packages.
2015-03-09 10:02:33,784: Resolving packages...
2015-03-09 10:02:33,785: Traceback (most recent call last):
2015-03-09 10:02:33,786:   File "/opt/thinlinc/modules/thinlinc/tlsetup/pkginsthelp.py", line 44, in <lambda>
2015-03-09 10:02:33,786:     self . __worker_thread = thread . start_new_thread ( lambda : self . __worker ( ) , ( ) )
2015-03-09 10:02:33,786:   File "/opt/thinlinc/modules/thinlinc/tlsetup/pkginsthelp.py", line 51, in __worker
2015-03-09 10:02:33,786:     self . __job ( )
2015-03-09 10:02:33,786:   File "/opt/thinlinc/modules/thinlinc/tlsetup/pkginsthelp.py", line 221, in __resolver_job
2015-03-09 10:02:33,787:     if O0o0Oo ( self . __packageinstaller ) :
2015-03-09 10:02:33,787:   File "/opt/thinlinc/modules/thinlinc/tlsetup/pkginsthelp.py", line 114, in O0o0Oo
2015-03-09 10:02:33,787:     I11I11i1I = backend . resolve ( )
2015-03-09 10:02:33,788:   File "/opt/thinlinc/modules/thinlinc/packageinstaller/yumbackend.py", line 134, in resolve
2015-03-09 10:02:33,788:     self . _init_yum ( )
2015-03-09 10:02:33,788:   File "/opt/thinlinc/modules/thinlinc/packageinstaller/yumbackend.py", line 105, in _init_yum
2015-03-09 10:02:33,788:     assert self . __yum is None
2015-03-09 10:02:33,788: AssertionError
Comment 1 Pierre Ossman cendio 2021-08-31 15:34:20 CEST
This code got restructured in r36780 for bug 7692 in a way that prevents this from happening.

Note You need to log in before you can comment on or make changes to this bug.