On 6/26/06, Martin Paraskevov <ze.marto@gmail.com> wrote:
rpm lets you check whether a packege has been installed. is this possible to do with apt-get or some other tool as well?
apt-cache policy package For example: debian:~# apt-cache policy aptitude aptitude: Installed: 0.4.1-1.1 Candidate: 0.4.1-1.1 Version table: *** 0.4.1-1.1 0 500 http://ftp.us.debian.org etch/main Packages 100 /var/lib/dpkg/status debian:~# apt-cache policy yum yum: Installed: (none) Candidate: 2.4.0-3 Version table: 2.4.0-3 0 500 http://ftp.us.debian.org etch/main Packages debian:~# HTH/Sx =) -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/