Re: A tool to list package deps sorted by buildtime?

2011-01-26 Thread seth vidal
On Wed, 2011-01-26 at 16:40 +0100, Michael Schwendt wrote: > On Wed, 26 Jan 2011 08:36:00 -0500, seth wrote: > > > I just want to make sure I have this: > > > > 1. rpm -qR foo > > > > 2. take each of those resolve it out to what provides them > > 3. return the buildtime + pkg name of each of tho

Re: A tool to list package deps sorted by buildtime?

2011-01-26 Thread Michael Schwendt
On Wed, 26 Jan 2011 08:36:00 -0500, seth wrote: > I just want to make sure I have this: > > 1. rpm -qR foo > > 2. take each of those resolve it out to what provides them > 3. return the buildtime + pkg name of each of those, sorted by buildtime > > correct? Yes. $ repoquery --qf '%{buildtime:

Re: A tool to list package deps sorted by buildtime?

2011-01-26 Thread seth vidal
On Wed, 2011-01-26 at 08:52 -0500, seth vidal wrote: > On Wed, 2011-01-26 at 08:36 -0500, seth vidal wrote: > > On Wed, 2011-01-26 at 12:52 +0100, Michael Schwendt wrote: > > > Scenario: > > > > > > Assume I have package "foo". It's installed already, and the local RPM > > > database covers it and

Re: A tool to list package deps sorted by buildtime?

2011-01-26 Thread seth vidal
On Wed, 2011-01-26 at 08:36 -0500, seth vidal wrote: > On Wed, 2011-01-26 at 12:52 +0100, Michael Schwendt wrote: > > Scenario: > > > > Assume I have package "foo". It's installed already, and the local RPM > > database covers it and all its dependencies. > > > > App "foo" used to run fine a mont

Re: A tool to list package deps sorted by buildtime?

2011-01-26 Thread seth vidal
On Wed, 2011-01-26 at 12:52 +0100, Michael Schwendt wrote: > Scenario: > > Assume I have package "foo". It's installed already, and the local RPM > database covers it and all its dependencies. > > App "foo" used to run fine a month ago, but a rebuild no longer does. > Dependencies have been updat

Re: A tool to list package deps sorted by buildtime?

2011-01-26 Thread Michael Schwendt
> repoquery --tree-requires ... [...] seems to be broken here, Ah, it's just Adobe's packages that are broken and confuse the depsolving. For example: $ repoquery --whatprovides libgcc_s.so.1 libgcc-0:4.5.1-4.fc14.i686 AdobeReader_nor-0:8.1.7-1.i486 AdobeReader_ita-0:8.1.7-1.i486 AdobeReader_suo-

Re: A tool to list package deps sorted by buildtime?

2011-01-26 Thread Michael Schwendt
On Wed, 26 Jan 2011 11:56:43 +, Richard wrote: > No, but I have a script which can list all the dependencies of a > package recursively [using data from yum, not rpm] if that is helpful: > > http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap_yum_rpm.ml;h=e70940df06edb87b616d739bf0

Re: A tool to list package deps sorted by buildtime?

2011-01-26 Thread Richard W.M. Jones
On Wed, Jan 26, 2011 at 12:52:52PM +0100, Michael Schwendt wrote: > I'd like to run an RPM query on "foo" that displays the %{buildtime} > for all of foo's Requires, sorted by buildtime. > > Does anyone know of an existing tool that can do exactly this already? No, but I have a script which can l

A tool to list package deps sorted by buildtime?

2011-01-26 Thread Michael Schwendt
Scenario: Assume I have package "foo". It's installed already, and the local RPM database covers it and all its dependencies. App "foo" used to run fine a month ago, but a rebuild no longer does. Dependencies have been updated. Too many for "rpm -qa --last|less" or yum's log to be helpful. I'd l