PackageKit - Reporting Bugs

| Reporting Bugs |

Back to the main page

# Reporting Bugs

First, please look at the list of PackageKit bugs, so that you are sure the bug you are reporting isn't a duplicate bug that someone else has fixed or reported. If not present, then please create a new bug attaching all the information to this new bug.

## General Bugs

When PackageKit doesn't work, there is lots that could be wrong. To help us diagnose the problem, please supply the following information:

- The version of packagekit installed
- The installation method you used (i.e. f19 RPM, tarball)
- Your distribution and version
- The verbose trace from packagekitd
- Any other information that may be relevant

## packagekitd Verbose Trace

This will turn on verbose debugging for the PackageKit daemon that will be useful when debugging problems.

    sudo killall packagekitd
    sudo /usr/libexec/packagekitd --verbose

## Segfaults or random crashes

We would really appreciate it if you could send us more information about the crash, specifically a backtrace with gdb. Make sure you have the packagekit-debuginfo or packagekit-gdb package installed, else the reports from gdb won't mean much to any of us.

    gdb /usr/libexec/packagekitd

The GNU debugger (gdb) will start and put you at a prompt:

    (gdb) _

Then type the following.

    (gdb) run --verbose

In another command window, you may have to exeute the action that is crashing the daemon, for instance:

    pkcon get updates

You should be back in the gdb shell if the daemon has crashed. Then type bt at the prompt and send us all the output that follows. This will tell us exactly what the program was doing when it crashed.

This link will give you more information.

## Enabling verbose logging by default

If you want verbose logging to be enabled by default, you can override the systemd service like this:

    sudo systemctl stop packagekit.service
    sudo cp /usr/lib/systemd/system/packagekit.service /etc/systemd/system
    sudo vim /etc/systemd/system/packagekit.service  # add --verbose
    sudo systemctl daemon-reload
    sudo systemctl restart packagekit.service

PLEASE NOTE: Due to a bug you'll need to be using PackageKit >= 1.0.6 for this to work correctly.

Back to the main page