abrt version: 1.1.14 architecture: i686 cmdline: /usr/bin/python /usr/bin/yum search aaa comment: yum has this problem with fakeroot. component: yum executable: /usr/bin/yum kernel: 2.6.35.6-48.fc14.i686.PAE package: yum-3.2.28-5.fc14 reason: utils.py:62:get_process_info:TypeError: %d format: a number is required, not str release: Fedora release 14 (Laughlin) time: 1291795042 uid: 500 backtrace ----- utils.py:62:get_process_info:TypeError: %d format: a number is required, not str Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 258, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 104, in main show_lock_owner(e.pid, logger) File "/usr/share/yum-cli/utils.py", line 107, in show_lock_owner ps = get_process_info(pid) File "/usr/share/yum-cli/utils.py", line 62, in get_process_info if (not os.path.exists("/proc/%d/status" % pid) or TypeError: %d format: a number is required, not str Local variables in innermost frame: pid: '2394' How to reproduce ----- 1. Use this commands $fakeroot 2. You'll see # 3.Try command su ( #su ) : su ERROR: ld.so: object 'libfakeroot-tcp.so' from LD_PRELOAD cannot be preloaded: ignored. Password: 4. Press Ctr +C and use this : # yum search aaa Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list Cannot open logfile /var/log/yum.log Could not create lock at /var/run/yum.pid: [Errno 13] Permission denied: '/var/run/yum.pid' Another app is currently holding the yum lock; waiting for it to exit... Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 258, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 104, in main show_lock_owner(e.pid, logger) File "/usr/share/yum-cli/utils.py", line 107, in show_lock_owner ps = get_process_info(pid) File "/usr/share/yum-cli/utils.py", line 62, in get_process_info if (not os.path.exists("/proc/%d/status" % pid) or TypeError: %d format: a number is required, not str
Created attachment 467409 [details] File: backtrace
Package: yum-3.2.28-5.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. I pretended to remove yum to see what dependencies it had 2. 3.
I can reproduce this with plain yum upgrade (and no I haven't removed yum or doing anything silly; this is my wife's laptop).
(In reply to comment #3) > I can reproduce this with plain yum upgrade (and no I haven't removed yum or > doing anything silly; this is my wife's laptop). Sorry, but this is on F13 with yum-3.2.28-5.fc13.noarch
this is fixed upstream and is in yum 3.2.29 in rawhide. This will come back to f13/f14 soonish.