guys,
i have installed mailscanner, spamassassin, etc on my machine. This was done sometime ago. Some of these rpms i got not frm centos repos.
What command ( or yum command ) can i use to find out which repo did this installled package come from.
yum info packagename just says;
repo : installed
i was hoping for something like repo:rpmforge or something similiar. i have these 3 rpms which i cant remember where i got them from.
dovecot-1.0.7-7.el5 mailscanner-4.74.13-2 spamassassin-3.2.5-1.el5
Regards, Marco.
On Mon, 03 Aug 2009 23:33:52 -0700 (PDT) Linux Advocate wrote:
What command ( or yum command ) can i use to find out which repo did this installled package come from.
rpm -qi packagename
Frank,
# rpm -qi spamassassin
Name : spamassassin Relocations: /usr Version : 3.2.5 Vendor: CentOS Release : 1.el5 Build Date: Wed 21 Jan 2009 02:35:38 PM MYT Install Date: Tue 02 Jun 2009 12:28:52 AM MYT Build Host: builder16.centos.org Group : Applications/Internet Source RPM: spamassassin-3.2.5-1.el5.src.rpm Size : 2753255 License: ASL 2.0 Signature : DSA/SHA1, Mon 09 Mar 2009 09:49:14 AM MYT, Key ID a8a447dce8562897 URL : http://spamassassin.apache.org/ Summary : Spam filter for email which can be invoked from mail delivery agents. Description : SpamAssassin provides you with a way to reduce if not completely eliminate Unsolicited Commercial Email (SPAM) from your incoming email.
frm the vendor line, i can see centos...so this rpm was frm the official centos repos?
# rpm -qi mailscanner
Name : mailscanner Relocations: (not relocatable) Version : 4.74.13 Vendor: Electronics and Computer Science, University of Southampton Release : 2 Build Date: Mon 05 Jan 2009 03:44:33 AM MYT Install Date: Sat 28 Feb 2009 05:54:11 PM MYT Build Host: alegria.ecs.soton.ac.uk Group : System Environment/Daemons Source RPM: mailscanner-4.74.13-2.src.rpm Size : 2892864 License: GPL Signature : DSA/SHA1, Tue 06 Jan 2009 05:32:59 AM MYT, Key ID f21f6e07e67c046c Packager : Julian Field mailscanner@ecs.soton.ac.uk URL : http://www.mailscanner.info/ Summary : E-Mail Gateway Virus Scanner and Spam Detector Description : MailScanner is a freely distributable E-Mail gateway virus scanner and spam detector. It uses Postfix, sendmail, ZMailer, Qmail or Exim as its basis, and a choice of 22 commercial virus scanning engines to do the actual virus scanning.
But i know that i got the mailscanner rpm from the vanderkooij repo... but the vendor line shows julian fields employer?
In article 780192.16859.qm@web51101.mail.re2.yahoo.com, Linux Advocate linuxhousedn@yahoo.com wrote:
Yes, I have found this is a limitation of yum. It would be nice if the information about the source repository could be stored somewhere.
If these were installed after the initial OS installation, and you haven't done a yum clean, you might be able to glean some info from the cache: # ls -l /var/cache/yum/*/packages
This won't give you any information about packages installed using rpm directly instead of yum.
Cheers Tony