sudo apt-cache showpkg gnumed-client shows the versions, the depends
sudo apt-cache showpkg gnumed-server shows the versions, the depends
sudo apt-cache policy python-psycopg2 shows what is installed, available, pinning values
sudo apt-get -t testing install gnumed-client installs, on Debian, the GNUmed client
uname -a yields: Linux debian 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux
cat /etc/debian_version yields: 5.0.2
cat /etc/apt/sources.list shows one's sources
cat /etc/apt/preferences (provided the file has been created) shows any preferences including pinning as provided here
sudo apt-show-versions | grep psyco (here the | grep was an optional filter among results, for "psyco...")
top shows running processes and, if a process has hung up the system, the kill command can release it
users tells you who else is logged in, before you might sudo shutdown
ntpq -p to confirm that NTP is still working (Connection refused suggests is needs restarting)
/etc/init.d/ntp restart to restart, wait a few minutes, then re-issue ntpq -p
find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
http://www.gnumed.de/downloads/client/[\d\.]+/GNUmed-client\.([\d\.]+)\.tgz