Version: 3.3.2 (using KDE KDE 3.3.2) Installed from: Gentoo Packages Compiler: gcc (GCC) 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) OS: Linux With kpackage from kdeadmin-3.3.2 with Gentoo system, we can have the following example : Package installed : - ... - kdetoys-3.2.0 - kdetoys-3.3.2 - ... If I select kdetoys-3.2.0 and make "Uninstall all selected packages", Kpackage will uninstall all kdetoys package even kdetoys-3.3.2. I think kpackage should uninstall only the selected versions.
I can confirm that this has not yet been resolved in KDE 3.4
Yes I know it's not fixed. I didn't write the GENTOO code, I'll have a look at it.
SVN commit 430329 by larkang: Install/Uninstall correct version BUG: 97432 M +4 -2 gentooInterface.cpp --- trunk/KDE/kdeadmin/kpackage/gentooInterface.cpp #430328:430329 @@ -421,7 +421,8 @@ cmd = "NOCOLOR=\"true\" emerge unmerge "; for (pk = plist->first(); pk != 0; pk = plist->next()) { - cmd += pk->getProperty("name")+"-"+pk->getProperty("version") + " "; + cmd += "=" + pk->getProperty("group") + "/" + pk->getProperty("name") + + "-" + pk->getProperty("version") + " "; } return cmd; } @@ -438,7 +439,8 @@ cmd = "NOCOLOR=\"true\" emerge "; for (pk = plist->first(); pk != 0; pk = plist->next()) { - cmd += pk->getProperty("name") + " "; + cmd += "=" + pk->getProperty("group") + "/" + pk->getProperty("name") + + "-" + pk->getProperty("version") + " "; } return cmd; }