Bug 676299 - PackageKit-DEBUG messages flood bash on "command not found"
Summary: PackageKit-DEBUG messages flood bash on "command not found"
Keywords:
Status: CLOSED DUPLICATE of bug 666254
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-09 12:00 UTC by Vojtech Vitek
Modified: 2015-03-04 23:57 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-02-09 12:50:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vojtech Vitek 2011-02-09 12:00:25 UTC
Hi,

it seems that if any options are passed to a misspelled bash command, it somehow turns on printing PackageKit debug messages.

Following two examples explain everything:

$ misspeled-command arg1 arg2 arg3
bash: misspeled-command: command not found...

$ misspeled-command -option arg1 arg2 arg3
bash: misspeled-command: command not found...
(pk-command-not-found:12233): PackageKit-DEBUG: role now search-file
(pk-command-not-found:12233): PackageKit-DEBUG: state array add 0x110b360 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: state array remove 0x110b360
(pk-command-not-found:12233): PackageKit-DEBUG: tid = /14918_adebdcbe_data
(pk-command-not-found:12233): PackageKit-DEBUG: transaction_id now /14918_adebdcbe_data
(pk-command-not-found:12233): PackageKit-DEBUG: sent locale request, started DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: state array add 0x1116020
(pk-command-not-found:12233): PackageKit-DEBUG: set hints, ended DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: new method 'search-file', started DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: changed so checking properties, started DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: interface changed, started DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: emit transaction-list-changed (when idle)
(pk-command-not-found:12233): PackageKit-DEBUG: got reply to request, ended DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: emit transaction-list-changed
(pk-command-not-found:12233): PackageKit-DEBUG: already processing request 0x1, so ignoring
(pk-command-not-found:12233): PackageKit-DEBUG: already processing request 0x1, so ignoring
(pk-command-not-found:12233): PackageKit-DEBUG: got properties, ended DBus call: 0x1116020 (0x1)
(pk-command-not-found:12233): PackageKit-DEBUG: percentage now -1
(pk-command-not-found:12233): PackageKit-DEBUG: caller-active now 1
(pk-command-not-found:12233): PackageKit-DEBUG: uid now 502
(pk-command-not-found:12233): PackageKit-DEBUG: status now setup
(pk-command-not-found:12233): PackageKit-DEBUG: subpercentage now -1
(pk-command-not-found:12233): PackageKit-DEBUG: got property results, ended DBus call: 0x1116020 ((nil))
(pk-command-not-found:12233): PackageKit-DEBUG: changed so checking properties, started DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: interface changed, started DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: already processing request 0x2, so ignoring
(pk-command-not-found:12233): PackageKit-DEBUG: got properties, ended DBus call: 0x1116020 (0x2)
(pk-command-not-found:12233): PackageKit-DEBUG: status now query
(pk-command-not-found:12233): PackageKit-DEBUG: allow-cancel now 1
(pk-command-not-found:12233): PackageKit-DEBUG: got property results, ended DBus call: 0x1116020 ((nil))
(pk-command-not-found:12233): PackageKit-DEBUG: properties changed, so getting new list
(pk-command-not-found:12233): PackageKit-DEBUG: changed so checking properties, started DBus call: 0x1116020 (0x3)
(pk-command-not-found:12233): PackageKit-DEBUG: interface changed, started DBus call: 0x1116020 (0x3)
(pk-command-not-found:12233): PackageKit-DEBUG: already processing request 0x3, so ignoring
(pk-command-not-found:12233): PackageKit-DEBUG: notify::mime-types
(pk-command-not-found:12233): PackageKit-DEBUG: notify::distro-id
(pk-command-not-found:12233): PackageKit-DEBUG: notify::locked
(pk-command-not-found:12233): PackageKit-DEBUG: notify::version-micro
(pk-command-not-found:12233): PackageKit-DEBUG: notify::version-major
(pk-command-not-found:12233): PackageKit-DEBUG: notify::version-minor
(pk-command-not-found:12233): PackageKit-DEBUG: notify::backend-description
(pk-command-not-found:12233): PackageKit-DEBUG: notify::network-state
(pk-command-not-found:12233): PackageKit-DEBUG: notify::roles
(pk-command-not-found:12233): PackageKit-DEBUG: notify::backend-name
(pk-command-not-found:12233): PackageKit-DEBUG: notify::backend-author
(pk-command-not-found:12233): PackageKit-DEBUG: notify::groups
(pk-command-not-found:12233): PackageKit-DEBUG: notify::filters
(pk-command-not-found:12233): PackageKit-DEBUG: got properties, ended DBus call: 0x1116020 (0x3)
(pk-command-not-found:12233): PackageKit-DEBUG: status now finished
(pk-command-not-found:12233): PackageKit-DEBUG: allow-cancel now 0
(pk-command-not-found:12233): PackageKit-DEBUG: got property results, ended DBus call: 0x1116020 ((nil))
(pk-command-not-found:12233): PackageKit-DEBUG: properties changed, so getting new list
(pk-command-not-found:12233): PackageKit-DEBUG: exit_text=success
(pk-command-not-found:12233): PackageKit-DEBUG: state array remove 0x1116020

Comment 1 Richard Hughes 2011-02-09 12:50:49 UTC

*** This bug has been marked as a duplicate of bug 666254 ***


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