Mailinglist Archive: zypp-devel (230 mails)
| < Previous | Next > |
Re: [zypp-devel] Re: [zypp-commit] r8586 - /trunk/sat-solver/tools/repo_rpmmd.c
- From: Michael Matz <matz@xxxxxxx>
- Date: Mon, 11 Feb 2008 01:13:59 +0100 (CET)
- Message-id: <Pine.LNX.4.64.0802110112110.20583@xxxxxxxxxxxxx>
Hi,
On Mon, 11 Feb 2008, Duncan Mac-Vicar P. wrote:
You also need to use repo_set_str, not repodata_set_str, otherwise you
need to also subtract data->start. Yes, yes, that's all a result of the
missing documentation :-)
Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
On Mon, 11 Feb 2008, Duncan Mac-Vicar P. wrote:
Michael Matz wrote:
Your lastsolvableid handling missed some cases where the solvable also is
changed to the next one. In fact in the rpm-md case it's easier to
calculate the solvable Id when we need it, from the (certainly correct)
pd->solvable. Works now.
originally I used pd->solvable - pd->pool->solvables
and it segfaulted ;-)
You also need to use repo_set_str, not repodata_set_str, otherwise you
need to also subtract data->start. Yes, yes, that's all a result of the
missing documentation :-)
Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |