Bug 5954 - make possible doing some rpm quries from/when in apt-shell

Summary: make possible doing some rpm quries from/when in apt-shell