(In reply to Michael Andres from comment #9) > @Jonathan: I can't spot a problem. > > Line 2179 (after target::rpm::RpmHeader::constPtr rpmHeader = ...) please > add: > > DBG << rpmHeader << endl; > and check the output in /var/log/pk_backend_zypp. > > ReferenceCounted(@0x22ea140<=1){0x23000b0}{sqldeveloper-2.1.1.64.45-1} > It prints `tag_name()-tag_version()-tag_release()`. Works for me as expected. > After adding that line and checking the output in /var/log/pk_backend_zypp, I found that it works for me as well. It seems that it's the fault of > pk_backend_job_details (). Even if I set the second parameter(which is the package id) of this function to a constant string, for example "testing". The output of "pkcon get-details ..." is still like this: > Package description > package: (null) > summary: Simple software installation management software > license: GPL-2.0-or-later > ... I'll investigate more about this. Thanks for the review.