How to get mock chroot with rpms for a core file?
Jiri Moskovcak
jmoskovc at redhat.com
Tue Jun 4 12:44:27 UTC 2013
On 05/24/2013 10:34 PM, Jan Kratochvil wrote:
> Hi,
>
> as an example for example core file:
> https://bugzilla.redhat.com/show_bug.cgi?id=926099#c16
>
> On updated Fedora 18 x86_64 the rpms are too new; but how to get the matching
> ones?
>
> I had the best result with:
> retrace-server/src/coredump2packages
>
> But still even there GDB wants to load nspr - one of the many failures - but
> coredump2packages does not list nspr at all, therefore the system one does not
> match.
>
> Tried also darkclient I can generate a list of rpms but then I fail how to
> install them:
> * yum remote installation does not work as older rpms are only in Koji, not
> in Fedora repos.
> * yum localinstall for missing dependencies again searches only Fedora repos
> and not Koji
> * yum never downgrades version to the specified rpm file if a newer rpm is
> already installed / available as a dependency.
> * rpm -Uvh --oldpackage does not resolve missing dependecies at all, neither
> from Fedora repos nor from Koji.
>
> You have something done on the ABRT Retrace Server but how to prepare the same
> mock chroot for local core file investigations?
>
>
Retrace server keeps all the rpms ever releaed in it's own repository
and it recreates the chroot with the specific package versions using mock.
--Jirka
> Thanks,
> Jan
>
More information about the Crash-catcher
mailing list