Bug 182513 - kpackage hangs for a while and it doesn't show any package - kde4.2
Summary: kpackage hangs for a while and it doesn't show any package - kde4.2
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kpackage
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Toivo Pedaste
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-30 23:51 UTC by Maurizio
Modified: 2009-12-20 15:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio 2009-01-30 23:51:41 UTC
Version:           Qt: 4.4.3 KDE: 4.2.00 (KDE 4.2.0) KPackage: 4.2.00 (KDE 4.2.0) (using KDE 4.2.0)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I just installed KDE 4.2 from Debian experimental (in a sidux amd64 fully dist-upgraded) 
When kpackage is launched, it takes a while (much longer than in kde 3.5.10) seeming that it's loading the list of the packages (CPU load  is about 95%), but after some time it gives up and nothing is listed in the packages list on the left panel.
the search function gives no results, also with packages installed for sure
this is the output if I run it in konsole:
-----------
kpackage(3597) pkgInterface::ifExe: Program not found:  "rpm"                                                
kpackage(3597) KpTreeList::readTreePos: KpTreeList::readTreePos()                                            
kpackage(3597) managementWidget::readPSeparator: managementWidget::readPSeparator()                          
kpackage(3597) KPKG::setupMenu: kpinterface[DEBt]->makeMenu                                                  
kpackage(3597) DEB::makeMenu: DEB::makeMenu                                                                  
kpackage(3597) kpPty::breakUpCmd:  kpPty::run CMD=" "smart query --installed" " pty =  kpKProcIO(0x175c470)  
kpackage(3597) kpPty::run: return Result= 0   1437                                                           
kpackage(3597) kpPty::breakUpCmd:  kpPty::run CMD=" "/bin/sh -c 'smart info --urls >/tmp/kde-mauri/smart.list'" " pty =  kpKProcIO(0x175c470)                                                                             
kpackage(3597) kpPty::run: return Result= 0   0                                                              
kpackage(3597) managementWidget::checkMarked: checkMarked()  0   0                                           
kpackage(3597) KpTreeList::search: KpTreeList::search2                                                       
kpackage(3597) KpTreeList::search: KpTreeList::search2                                                       
kpackage(3597) kpPty::breakUpCmd:  kpPty::run CMD=" "smart query --installed" " pty =  kpKProcIO(0x175c470)  
kpackage(3597) kpPty::run: return Result= 0   1437                                                           
kpackage(3597) kpPty::breakUpCmd:  kpPty::run CMD=" "/bin/sh -c 'smart info --urls >/tmp/kde-mauri/smart.list'" " pty =  kpKProcIO(0x175c470)                                                                             
kpackage(3597) kpPty::run: return Result= 0   0                                                              
kpackage(3597) managementWidget::checkMarked: checkMarked()  0   0                                           
kpackage(3597) managementWidget::writePSeparator: managementWidget::writePSeparator()
Comment 1 Dario Andres 2009-01-31 13:35:17 UTC
KPackage seems to be currently unmaintained :(
Comment 2 Herbert Carl Meyer 2009-06-29 01:46:07 UTC
I think I have this bug on a fedora 11, it is caused by the smart backend not being initialized. After installing kpackage and trying it three times, I installed smart-gui and ran it. smart had been installed by yum as a dependant of kpackege.
When smart-gui started, it popped up several diaglog boxes asking me if I wanted to connect channels to the yum repos I had defined, I replied yes to all of them, smart ran normally (I guess, I gid not tell it to do anything, and ended it).
After smart channels had been set, kpackage works, displaying lists of installed packages and updates.
I think kpackage cannot tell smart is not initialized, and cannot kickstart smart when needed.

See redhat bugzilla report 507938.
Comment 3 Dario Andres 2009-12-20 14:01:27 UTC
KPackage was recently removed from KDE SC (since 4.4 beta2) as it was completely broken and unmaintained.

Most of the common GNU/Linux distributions offer their own tools to deal with packages, and KDE is working on an universal package manager replacement named "Shaman" (to superseed KPackageKit)

Closing the KPackage's bug reports as UNMAINTAINED.

Regards
Comment 4 Herbert Carl Meyer 2009-12-20 15:43:27 UTC
Thanks, I had installed kpackage because I remembered it could handle .deb's. When chrome browser was first released, there were no .rpm's available for fedora, I was trying to use a back door. I will check out Shaman when released.