[Centos] Knowing what packages come from where in apt/yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 22 Feb 2005, Anne Possoz wrote:

> Karanbir Singh wrote:
> > try this command : ( all on one line )
> > 
> > for f in `rpm -qa` ; do  echo -n $f ; rpm --qf " %{VENDOR} 
> > %{DISTRIBUTION} \n" -q $f ; done
> > 
> > this should tell you where the packages installed on your machine came 
> > from.
> 
> I use 2 nice commands:
> 
> bin/rpm-q.dates (which sort rpms by installation time) :
> 
> rpm -qa --queryformat "%{installtime} %{name}-%{version}-%{release}.%-10{arch} %{installtime:date}\n"|sort -n|sed -e 's/^[^ ]* //'
> 
> (less usefull now that /var/log/yum.log is available but easiest to read,
> for me at least)

Almost similar to:

	rpm -qa --last

--   dag wieers,  dag@xxxxxxxxxx,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux