Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1135596 - dnf stuck when I try install google-chrome-unstable
Summary: dnf stuck when I try install google-chrome-unstable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-29 18:10 UTC by Mikhail
Modified: 2014-10-04 03:21 UTC (History)
11 users (show)

Fixed In Version: rpm-4.12.0.1-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-04 03:21:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot (133.89 KB, application/octet-stream)
2014-08-29 18:10 UTC, Mikhail
no flags Details

Description Mikhail 2014-08-29 18:10:41 UTC
Created attachment 932784 [details]
screenshot

Description of problem:
dnf stuck when I try install google-chrome-unstable

Backtrace:
^C
Program received signal SIGINT, Interrupt.
0x00007fd265f8031a in __libc_waitpid (pid=pid@entry=10106, stat_loc=stat_loc@entry=0x7fff682ddc88, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
31	      return INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);
(gdb) thread apply all bt

Thread 1 (Thread 0x7fd26675e700 (LWP 10097)):
#0  0x00007fd265f8031a in __libc_waitpid (pid=pid@entry=10106, stat_loc=stat_loc@entry=0x7fff682ddc88, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#1  0x00007fd2589106ab in runExtScript (arg2=52906736, arg1=1, 
    script=0x3270f20 "\n# Add icons to the system icons\nXDG_ICON_RESOURCE=\"`which xdg-icon-resource 2> /dev/null || true`\"\nif [ ! -x \"$XDG_ICON_RESOURCE\" ]; then\n  echo \"Error: Could not find xdg-icon-resource\" >&2\n  exit 1"..., argvp=0x7fff682ddc80, scriptFd=0x2d588a0, lvl=<optimized out>, sname=0x1c7d400 "%post(google-chrome-unstable-39.0.2138.3-1.x86_64)", prefixes=0x1d721f0, plugins=0x1895030)
    at rpmscript.c:313
#2  rpmScriptRun (script=script@entry=0x1c7b680, arg1=arg1@entry=1, arg2=arg2@entry=-1, scriptFd=scriptFd@entry=0x2d588a0, prefixes=prefixes@entry=0x1c6f950, warn_only=warn_only@entry=1, plugins=0x1895030)
    at rpmscript.c:372
#3  0x00007fd2588f4e01 in runScript (ts=0x1d8bb60, te=0x21c36f0, prefixes=0x1c6f950, script=script@entry=0x1c7b680, arg1=1, arg2=arg2@entry=-1) at psm.c:295
#4  0x00007fd2588f53b7 in runInstScript (psm=psm@entry=0x177d4a0, scriptTag=scriptTag@entry=1024) at psm.c:327
#5  0x00007fd2588f5d5f in rpmPackageInstall (psm=0x177d4a0, ts=0x1d8bb60) at psm.c:757
#6  rpmpsmRun (ts=0x1d8bb60, te=te@entry=0x21c36f0, goal=goal@entry=PKG_INSTALL) at psm.c:847
#7  0x00007fd258907bc3 in rpmteProcess (te=0x21c36f0, goal=PKG_INSTALL) at rpmte.c:756
#8  0x00007fd25890db32 in rpmtsProcess (ts=<optimized out>) at transaction.c:1341
#9  rpmtsRun (ts=0x277a, okProbs=0x7fff682ddc88, okProbs@entry=0x0, ignoreSet=30886336) at transaction.c:1456
#10 0x00007fd258b423f0 in rpmts_Run (s=0x7fd251e45328, args=<optimized out>, kwds=<optimized out>) at rpmts-py.c:575
#11 0x00007fd2661d78d3 in PyObject_Call (func=func@entry=<built-in method run of TransactionSet object at remote 0x7fd251e45328>, arg=arg@entry=(<instancemethod at remote 0x7fd25338a2d0>, u'', 64), 
    kw=<optimized out>) at /usr/src/debug/Python-2.7.8/Objects/abstract.c:2529
#12 0x00007fd266269557 in PyEval_CallObjectWithKeywords (func=func@entry=<built-in method run of TransactionSet object at remote 0x7fd251e45328>, 
    arg=arg@entry=(<instancemethod at remote 0x7fd25338a2d0>, u'', 64), kw=kw@entry=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3979
#13 0x00007fd2661ebae8 in methoddescr_call (descr=<optimized out>, args=(<instancemethod at remote 0x7fd25338a2d0>, u'', 64), kwds=0x0) at /usr/src/debug/Python-2.7.8/Objects/descrobject.c:247
#14 0x00007fd2661d78d3 in PyObject_Call (func=<method_descriptor at remote 0x7fd2597d5290>, arg=<optimized out>, kw=<optimized out>) at /usr/src/debug/Python-2.7.8/Objects/abstract.c:2529
#15 0x00007fd26626d615 in do_call (nk=<optimized out>, na=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4328
#16 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4133
#17 PyEval_EvalFrameEx (f=< at remote 0x7fd251d61600>, throwflag=1374646040) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#18 0x00007fd26626ec76 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4196
#19 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4131
#20 PyEval_EvalFrameEx (
    f=[<unknown at remote 0x1>, <type at remote 0x7fd26651dc80>, <unknown at remote 0x1>, [], <unknown at remote 0x4>, 0x0, <unknown at remote 0x7fd251e55108>, <unknown at remote 0x-2>, <unknown at remote 0x-1>, 0x0, <type at remote 0x7fd26651dc80>, 0x0, 0x0, 0x0, 0x0, <unknown at remote 0x7fd251d5e0c0>, <unknown at remote 0x-2>, 0x0, 0x0, <type at remote 0x7fd266527d00>, <unknown at remote 0x2>, ((((((((((((((((((((0x0, <type at remote 0x7fd266523b00>), 'at_end_string'), 101), 116), 105), 108), 113), 115), 46), None), 1), ((0x0, -1, (...)), 4294967295L, <unknown at remote 0x7fd251d5eb48>)), 45), None), 1), ((...), u'__opt140541306485072', None)), 45), None), 1), ((...), 12, 188)), 45, 0x0, <unknown at remote 0x7fd251d5e7c8>, <unknown at remote 0x-2>, 0x0, 0x0, <type at remote 0x7fd266527d00>, <unknown at remote 0x2>, (...), None, 0x0, <  at remote 0x7fd251ea1940>, <unknown at remote 0x-2>, 0x0, 0x0, <type at remote 0x7fd266527d00>, <unknown at remote 0x2>, (...), (...), 0x0, <unknown at remote 0x7fd251d5e858>, <u...(truncated), 
    throwflag=20336800) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#21 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd25b1e50b0, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, locals=locals@entry=0x0, args=0x2, argcount=10097, kws=0x2771, 
    kws@entry=0x7fd251e47f98, kwcount=1, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#22 0x00007fd2661fc7bd in function_call (func=<function at remote 0x7fd2527d6de8>, 
    arg=(<BaseCli(_goal=<Goal(group_members=set([])) at remote 0x7fd251f0eaf0>, _closed=False, extcmds=[u'/home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm'], plugins=<Plugins(plugin_cls=[], plugins=[]) at remote 0x7fd251eb3d90>, group_persistor=None, _transaction=<Transaction(_tsis=[<TransactionItem at remote 0x7fd251eaeb50>]) at remote 0x7fd251e34d10>, ds_callback=<DepSolveProgressCallBack(loops=1) at remote 0x7fd251ec5b50>, _tempfiles=[], _ts=<TransactionWrapper(tsflags=[], _methods=[u'check', u'order', u'addErase', u'addInstall', u'run', u'pgpImportPubkey', u'pgpPrtPkts', u'problems', u'setFlags', u'setVSFlags', u'setProbFilter', u'hdrFromFdno', u'next', u'clean'], open=True, ts=<TransactionSet(_probFilter=64) at remote 0x7fd251e45328>) at remote 0x7fd251e49cd0>, _sack=<Sack at remote 0x7fd251eaeaf8>, args=[u'install', u'/home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm'], cmds=[u'install', u'/home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm'], _repos=<RepoDict at r...(truncated), 
    kw={'cb': <RPMTransaction(installed_pkg_names=set([u'google-chrome-unstable']), filelog=False, trans_running=True, lastmsg=None, total_removed=0, total_actions=1L, _readpipe=<_TemporaryFileWrapper(close_called=False, read=<built-in method read of file object at remote 0x7fd251f09a50>, name='/tmp/tmpms3JU8', file=<file at remote 0x7fd251f09a50>, delete=True) at remote 0x7fd251d5e170>, _ts_done=<file at remote 0x7fd251f09b70>, complete_actions=1, total_installed=1, base=<BaseCli(_goal=<Goal(group_members=set([])) at remote 0x7fd251f0eaf0>, _closed=False, extcmds=[u'/home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm'], plugins=<Plugins(plugin_cls=[], plugins=[]) at remote 0x7fd251eb3d90>, group_persistor=None, _transaction=<Transaction(_tsis=[<TransactionItem at remote 0x7fd251eaeb50>]) at remote 0x7fd251e34d10>, ds_callback=<DepSolveProgressCallBack(loops=1) at remote 0x7fd251ec5b50>, _tempfiles=[], _ts=<TransactionWrapper(tsflags=[], _methods=[u'check', u'order', u'addErase', u'addInstall', u'run',...(truncated))
    at /usr/src/debug/Python-2.7.8/Objects/funcobject.c:526
#23 0x00007fd2661d78d3 in PyObject_Call (func=<function at remote 0x7fd2527d6de8>, arg=<optimized out>, kw=<optimized out>) at /usr/src/debug/Python-2.7.8/Objects/abstract.c:2529
#24 0x00007fd26626d0e0 in ext_do_call (nk=<optimized out>, na=<optimized out>, flags=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4423
---Type <return> to continue, or q <return> to quit---
#25 PyEval_EvalFrameEx (
    f={'cb': <RPMTransaction(installed_pkg_names=set([u'google-chrome-unstable']), filelog=False, trans_running=True, lastmsg=None, total_removed=0, total_actions=1L, _readpipe=<_TemporaryFileWrapper(close_called=False, read=<built-in method read of file object at remote 0x7fd251f09a50>, name='/tmp/tmpms3JU8', file=<file at remote 0x7fd251f09a50>, delete=True) at remote 0x7fd251d5e170>, _ts_done=<file at remote 0x7fd251f09b70>, complete_actions=1, total_installed=1, base=<BaseCli(_goal=<Goal(group_members=set([])) at remote 0x7fd251f0eaf0>, _closed=False, extcmds=[u'/home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm'], plugins=<Plugins(plugin_cls=[], plugins=[]) at remote 0x7fd251eb3d90>, group_persistor=None, _transaction=<Transaction(_tsis=[<TransactionItem at remote 0x7fd251eaeb50>]) at remote 0x7fd251e34d10>, ds_callback=<DepSolveProgressCallBack(loops=1) at remote 0x7fd251ec5b50>, _tempfiles=[], _ts=<TransactionWrapper(tsflags=[], _methods=[u'check', u'order', u'addErase', u'addInstall', u'run',...(truncated), 
    throwflag=1717674384) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2792
#26 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd252a27330, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, locals=0x0, args=0x7fd25bbcbbc0, argcount=10097, kws=0x2771, 
    kwcount=1, defs=0x0, defcount=0, closure=(<cell at remote 0x7fd2527d7050>, <cell at remote 0x7fd2527d7088>)) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#27 0x00007fd26626eb74 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4206
#28 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4131
#29 PyEval_EvalFrameEx (f=<unknown at remote 0x1d8bb28>, throwflag=1374329552) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#30 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd25bbb3f30, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, locals=0x0, args=0x17ba4a8, argcount=10097, kws=0x2771, 
    kwcount=0, defs=0x7fd252a58828, defcount=1, closure=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#31 0x00007fd26626eb74 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4206
#32 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4131
#33 PyEval_EvalFrameEx (f=<unknown at remote 0x17ba4a8>, throwflag=1374329552) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#34 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd252a59e30, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, locals=0x0, args=0x7fd251e54bd0, argcount=10097, kws=0x2771, 
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#35 0x00007fd26626eb74 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4206
#36 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4131
#37 PyEval_EvalFrameEx (f=<D at remote 0x7fd251e54bd0>, throwflag=1374329552) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#38 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd251efe330, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, locals=0x0, args=0x7fd2533b9800, argcount=10097, kws=0x2771, 
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#39 0x00007fd26626eb74 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4206
#40 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4131
#41 PyEval_EvalFrameEx (f=<unknown at remote 0x7fd2533b97f8>, throwflag=1396414480) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#42 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd251ef2db0, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, locals=0x0, args=0x7fd25279d3e0, argcount=10097, kws=0x2771, 
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#43 0x00007fd26626eb74 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4206
#44 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4131
#45 PyEval_EvalFrameEx (f=<unknown at remote 0x7fd25279d3d8>, throwflag=1383715824) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#46 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd2527e93b0, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, locals=0x0, args=0x7fd252a69c98, argcount=10097, kws=0x2771, 
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#47 0x00007fd26626eb74 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4206
#48 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4131
Python Exception <type 'exceptions.UnicodeDecodeError'> 'utf8' codec can't decode byte 0xb0 in position 0: invalid start byte: 
#49 PyEval_EvalFrameEx (f=, throwflag=1386650784) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#50 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd251efe2b0, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, locals=0x0, args=0x1, argcount=10097, kws=0x2771, kwcount=1, 
    defs=0x7fd251ea97a8, defcount=1, closure=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#51 0x00007fd26626eb74 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4206
#52 call_function (oparg=<optimized out>, pp_stack=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/ceval.c:4131
Python Exception <type 'exceptions.UnicodeDecodeError'> 'utf8' codec can't decode byte 0xb0 in position 0: invalid start byte: 
#53 PyEval_EvalFrameEx (f=, throwflag=1717544744) at /usr/src/debug/Python-2.7.8/Python/ceval.c:2753
#54 0x00007fd266270490 in PyEval_EvalCodeEx (co=0x7fd266658f30, globals=<google-chrome-unstable-39.0.2138.3-1.x86_64 at remote 0x7fff682ddc88>, 
    globals@entry={'__builtins__': <module at remote 0x7fd26671db08>, '__file__': '/bin/dnf', 'here': '/usr/bin', '__package__': None, 'sys': <module at remote 0x7fd26671dbb0>, 'unicode_literals': <_Feature(mandatory=(3, 0, 0, 'alpha', 0), optional=(2, 6, 0, 'alpha', 2), compiler_flag=131072) at remote 0x7fd26660f878>, '__name__': '__main__', 'main': <module at remote 0x7fd251e9c6a8>, 'os': <module at remote 0x7fd2666fad00>, '__doc__': None}, locals=0x0, 
    locals@entry={'__builtins__': <module at remote 0x7fd26671db08>, '__file__': '/bin/dnf', 'here': '/usr/bin', '__package__': None, 'sys': <module at remote 0x7fd26671dbb0>, 'unicode_literals': <_Feature(mandatory=(3, 0, 0, 'alpha', 0), optional=(2, 6, 0, 'alpha', 2), compiler_flag=131072) at remote 0x7fd26660f878>, '__name__': '__main__', 'main': <module at remote 0x7fd251e9c6a8>, 'os': <module at remote 0x7fd2666fad00>, '__doc__': None}, args=0x0, argcount=10097, argcount@entry=0, kws=0x2771, kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at /usr/src/debug/Python-2.7.8/Python/ceval.c:3342
#55 0x00007fd266270589 in PyEval_EvalCode (co=co@entry=0x7fd266658f30, 
    globals=globals@entry={'__builtins__': <module at remote 0x7fd26671db08>, '__file__': '/bin/dnf', 'here': '/usr/bin', '__package__': None, 'sys': <module at remote 0x7fd26671dbb0>, 'unicode_literals': <_Feat---Type <return> to continue, or q <return> to quit---
ure(mandatory=(3, 0, 0, 'alpha', 0), optional=(2, 6, 0, 'alpha', 2), compiler_flag=131072) at remote 0x7fd26660f878>, '__name__': '__main__', 'main': <module at remote 0x7fd251e9c6a8>, 'os': <module at remote 0x7fd2666fad00>, '__doc__': None}, 
    locals=locals@entry={'__builtins__': <module at remote 0x7fd26671db08>, '__file__': '/bin/dnf', 'here': '/usr/bin', '__package__': None, 'sys': <module at remote 0x7fd26671dbb0>, 'unicode_literals': <_Feature(mandatory=(3, 0, 0, 'alpha', 0), optional=(2, 6, 0, 'alpha', 2), compiler_flag=131072) at remote 0x7fd26660f878>, '__name__': '__main__', 'main': <module at remote 0x7fd251e9c6a8>, 'os': <module at remote 0x7fd2666fad00>, '__doc__': None}) at /usr/src/debug/Python-2.7.8/Python/ceval.c:695
#56 0x00007fd26628993f in run_mod (mod=<optimized out>, filename=<optimized out>, 
    globals={'__builtins__': <module at remote 0x7fd26671db08>, '__file__': '/bin/dnf', 'here': '/usr/bin', '__package__': None, 'sys': <module at remote 0x7fd26671dbb0>, 'unicode_literals': <_Feature(mandatory=(3, 0, 0, 'alpha', 0), optional=(2, 6, 0, 'alpha', 2), compiler_flag=131072) at remote 0x7fd26660f878>, '__name__': '__main__', 'main': <module at remote 0x7fd251e9c6a8>, 'os': <module at remote 0x7fd2666fad00>, '__doc__': None}, 
    locals={'__builtins__': <module at remote 0x7fd26671db08>, '__file__': '/bin/dnf', 'here': '/usr/bin', '__package__': None, 'sys': <module at remote 0x7fd26671dbb0>, 'unicode_literals': <_Feature(mandatory=(3, 0, 0, 'alpha', 0), optional=(2, 6, 0, 'alpha', 2), compiler_flag=131072) at remote 0x7fd26660f878>, '__name__': '__main__', 'main': <module at remote 0x7fd251e9c6a8>, 'os': <module at remote 0x7fd2666fad00>, '__doc__': None}, flags=<optimized out>, arena=<optimized out>) at /usr/src/debug/Python-2.7.8/Python/pythonrun.c:1385
#57 0x00007fd26628ab62 in PyRun_FileExFlags (fp=0x13c5770, filename=0x7fff682e17d6 "/bin/dnf", start=0, 
    globals={'__builtins__': <module at remote 0x7fd26671db08>, '__file__': '/bin/dnf', 'here': '/usr/bin', '__package__': None, 'sys': <module at remote 0x7fd26671dbb0>, 'unicode_literals': <_Feature(mandatory=(3, 0, 0, 'alpha', 0), optional=(2, 6, 0, 'alpha', 2), compiler_flag=131072) at remote 0x7fd26660f878>, '__name__': '__main__', 'main': <module at remote 0x7fd251e9c6a8>, 'os': <module at remote 0x7fd2666fad00>, '__doc__': None}, 
    locals={'__builtins__': <module at remote 0x7fd26671db08>, '__file__': '/bin/dnf', 'here': '/usr/bin', '__package__': None, 'sys': <module at remote 0x7fd26671dbb0>, 'unicode_literals': <_Feature(mandatory=(3, 0, 0, 'alpha', 0), optional=(2, 6, 0, 'alpha', 2), compiler_flag=131072) at remote 0x7fd26660f878>, '__name__': '__main__', 'main': <module at remote 0x7fd251e9c6a8>, 'os': <module at remote 0x7fd2666fad00>, '__doc__': None}, closeit=1, flags=0x7fff682df710) at /usr/src/debug/Python-2.7.8/Python/pythonrun.c:1371
#58 0x00007fd26628bd77 in PyRun_SimpleFileExFlags (fp=0x277a, filename=0x7fff682e17d6 "/bin/dnf", closeit=1, flags=0xffffffffffffffff) at /usr/src/debug/Python-2.7.8/Python/pythonrun.c:963
#59 0x00007fd26629d30a in Py_Main (argc=1717666320, argv=0x0) at /usr/src/debug/Python-2.7.8/Modules/main.c:640
#60 0x00007fd2654ba0e0 in __libc_start_main (main=0x4006f0 <main>, argc=5, argv=0x7fff682df8d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff682df8c8)
    at libc-start.c:289
#61 0x000000000040071e in _start ()
(gdb) 
(gdb) 
(gdb)

Comment 1 Mikhail 2014-08-29 18:14:33 UTC
# rpm -Uvh /home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm 
warning: /home/mikhail/Downloads/google-chrome-unstable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:google-chrome-unstable-39.0.2138.################################# [100%]
grep: /usr/share/applications/google-chrome.desktop: No such file or directory
warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock

Comment 2 Christopher Meng 2014-08-31 22:19:19 UTC
I believe google chrome RPM provided by Google has some mistakes in the scriptlet. This is as far as what I can tell. And DNF can't handle that.

Comment 3 Mikhail 2014-09-01 02:29:08 UTC
In Fedora 20 this rpm installed fine

Comment 4 Parag Nemade 2014-09-01 03:41:54 UTC
I am happily using google-chrome-stable-37.0.2062.94-1.x86_64 on my Fedora 21 system. I installed this rpm after I updated f20 to f21.

Comment 5 Panu Matilainen 2014-09-01 07:10:25 UTC
"warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock" says its trying to execute rpm -U/-i/-e from within the package scriptlet. Very bad idea, ie the package is broken.

Comment 6 Mikhail 2014-09-01 07:31:02 UTC
Very and very interesting but I am happy see message broken package instead of endless stuck.

Comment 7 Panu Matilainen 2014-09-01 07:48:24 UTC
Oh my... the chrome postinstall script is quite unlike anything I've ever seen, and that's saying a lot. Among other things it tries to figure which package manager (urpmi, yast, yum) a system uses by looking at 'lsb_release -i' output and /etc/*release files, so there's already potential for running into trouble with dnf. And it does rpm queries and, the killer is in this case, rpm --import.

The difference between fedora >= 21 and older is that rpm >= 4.12 grabs the transaction lock for key import, older versions do not (ie a bug, now fixed). Which causes the previously "working" script to hang up.

Endless hang inside a transaction is indeed bad, especially since folks are likely to kill the entire transaction rather than just the hanging scriptlet. It should be possible for rpm to detect the rpm-within-rpm condition and use non-waiting lock acquire in that case, which in practise will just cause any attempts to manipulate the rpmdb from within scriptlets to fail cleanly.

Reassigning to rpm, there's nothing dnf can do about this one.

Comment 8 Christopher Meng 2014-09-02 12:52:45 UTC
It recently sucked on my computer during postinstall(and I rudely killed the whole process then broken my system with dup libs), I'd also like to see an option to limit the scriptlet execution time, at lease from DNF.

Comment 9 Fedora Update System 2014-10-01 07:55:16 UTC
rpm-4.12.0.1-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/rpm-4.12.0.1-2.fc21

Comment 10 Fedora Update System 2014-10-03 04:00:56 UTC
Package rpm-4.12.0.1-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rpm-4.12.0.1-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-11997/rpm-4.12.0.1-2.fc21
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2014-10-04 03:21:08 UTC
rpm-4.12.0.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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