this is exactly what you do to upgrade to kde 3.2.1 in fedora or redhat9. This upgraded me to kde 3.2.1 so easily after so many other attempts failed. this will take care of all dependencies and all packages in 3 commands.
Download apt here http://apt.freshrpms.net/
Goto /etc/apt/sources.list.d/ and open kde-redhat.list
Replace kde-redhat.list with this one http://www.wideopenwest.com/~eshudnow/kde-redhat.list
This file is repositories meaning locations to download the kde files. This file contains enough repositories to make sure everything downloads correctly. I hope you have a cable modem, because you'll be downloading a lot of stuff.
After your kde-redhat.list is replaced, type the following 3 commands.
apt-get install kde themer qt arts kdelibs kdebase
apt-get update will download the necessary files to update to kde3.2.1 including dependancies.
apt-get install kde themer qt arts kdelibs kdebase is self explanitory
apt-get dist-upgrade will download the rest of the updates for the newest versions of your software such as openoffice, etc...
Good luck. And btw, I spent 5 hours trying to get kde to upgrade to 3.2.1. I download apt, used this kde-redhat.list file, did the 3 commands, and walla, it was all installed and perfect.
Once everything is finished, just logout of kde, type control + alt + backspace, and you'll kill the x server, and then just type startx at the command line and it'll reload x server with the new kde.