apt-cache showpkg
I been using Ubuntu/Debian for over 5-6 years now but never got an opportunity where i had to check the available version of particular software in repository and know about its dependency and also reverse dependency.
sudo apt-cache showpkg ftp Package: ftp Versions: 0.17-19build1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_main_binary-i386_Packages) (/var/lib/dpkg/status) Description Language: File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_main_binary-i386_Packages MD5: e4165975d9905e3c75c5c1aa9714d90d Reverse Depends: webcam,ftp ltp-network-test,ftp heimdal-clients,ftp 0.16-1 gabedit,ftp ftp-ssl,ftp 0.10 ftp-ssl,ftp 0.10 ubuntu-standard,ftp Dependencies: 0.17-19build1 - libc6 (2 2.11) libncurses5 (2 5.6+20071006-3) libreadline6 (2 6.0) netbase (0 (null)) netstd (0 (null)) Provides: 0.17-19build1 - Reverse Provides: heimdal-clients 1.2.e1.dfsg.1-1ubuntu1 ftp-ssl 0.17.19+0.2-1