"if Yast was opensource and if apt-get and the kpkg tool were included in SuSE it would be the best linux distro"
SuSE does several things as an incentive for people to buy SuSE rather than use the free version. One of the things that SuSE does is that they do not include all of YaST in the free version. If YaST were open source then SuSE could not control its distribution.
I am not sure what the kpkg tool is. When I used SuSE I used kpackage and CLI rpm in addition to YaST. Try kpackage and it may do some of the things you want kpkg to do. I set up the file associations in kcontrol so that clicking *.rpm opens the file with kpackage.
In SuSE kpackage is part of the kdeadmin package.
Fedora Core 1 does not include kpackage in kdeadmin. I compiled kpackage on Fedora and created a Fedora kdeadmin package that includes kpackage:
Be prepared. Create a LifeBoat CD.