[SOLVED] urpmf and urpmq only work as root

When I try to use urpmf or urpmq from as a non-root user I get no results, without any useful error messages (for example, "urpmq tk" simply tells me "No package named tk"); doing this on Mandriva worked just fine.
Trying "urpmq --debug tk" gets me:
When run as root, I instead get:
Trying to make them setuid doesn't work (probably because they're scripts).
Thanks.
Trying "urpmq --debug tk" gets me:
- Code: Select all
getting lock on urpmi
parsing: /etc/urpmi/mediacfg.d/Devel-3-i586
parsing: /etc/urpmi/mediacfg.d/Official-3-i586
No package named tk
unlocking urpmi database
EXITING (pid=11736)
When run as root, I instead get:
- Code: Select all
getting lock on urpmi
parsing: /etc/urpmi/mediacfg.d/Devel-3-i586
parsing: /etc/urpmi/mediacfg.d/Official-3-i586
examining synthesis file [/var/lib/urpmi/Core Release (distrib5)/synthesis.hdlist.cz]
(more "examining synthesis file" lines removed)
tk
EXITING (pid=11802)
Trying to make them setuid doesn't work (probably because they're scripts).
Thanks.