Red Hat Bugzilla – Bug 1287039
crash when showing differences between versions
Last modified: 2015-12-01 07:16:20 EST
Created attachment 1100843 [details]
cupsd.conf & cupsd.conf.rpmnew
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# rpmconf -a
Configuration file '/etc/cups/cupsd.conf'
-rw-r-----. 1 root lp 3090 30. lis 15.09 /etc/cups/cupsd.conf
-rw-r-----. 1 root lp 4514 1. pro 11.08 /etc/cups/cupsd.conf.rpmnew
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
M : merge configuration files
Z : background this process to examine the situation
S : skip this file
The default action is to keep your current version.
*** aliases (Y/I/N/O/D/M/Z/S) [default=N] ?
Your choice: D
Traceback (most recent call last):
File "/usr/sbin/rpmconf", line 77, in <module>
File "/usr/sbin/rpmconf", line 68, in main
File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 91, in run
File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 286, in _handle_package
File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 330, in _handle_rpmnew
File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 166, in show_diff
UnboundLocalError: local variable 'fromdate' referenced before assignment
*** This bug has been marked as a duplicate of bug 1287034 ***