Begin forwarded message:
> From: Jeff Johnson <n3npq@mac.com>
> Date: October 20, 2008 3:58:39 PM EDT
> To: Robert Scheck <robert@rpm5.org>
> Subject: Re: Problems with erase-before-install on RPM 5.2
>
>
> On Oct 20, 2008, at 1:52 PM, Robert Scheck wrote:
>
>> Good evening,
>>
>> I'm still seeing such issues with HEAD. Erasure-before-update or
>> how Jeff
>> calls this usually. Maybe a blocker for 5.2?
>>
>
> Ypu mean like Fedora blockers that don't block anything at all? Sure!
>
> Meanwhile, the 1st step is to identify the dependency loops involved.
>
> This patch displays loops so that the information can actually be
> seen,
> not guessed at:
>
> Index: depends.c
> ===================================================================
> RCS file: /v/rpm/cvs/rpm/lib/depends.c,v
> retrieving revision 1.421
> diff -u -b -B -w -p -r1.421 depends.c
> --- depends.c 14 Oct 2008 03:55:08 -0000 1.421
> +++ depends.c 20 Oct 2008 19:55:33 -0000
> @@ -1890,7 +1890,7 @@ static int ignoreDep(const rpmts ts, con
> const char ** av = NULL;
> int anaconda = rpmtsDFlags(ts) & RPMDEPS_FLAG_ANACONDA;
> int msglvl = (anaconda || (rpmtsDFlags(ts) & RPMDEPS_FLAG_DEPLOOPS))
> - ? RPMLOG_WARNING : RPMLOG_DEBUG;
> + ? RPMLOG_WARNING : RPMLOG_ERROR;
> int ac = 0;
> int i;
>
>
>>
> Apply that fix, lather->runse->repeat, and you will likely
> see the dependency loop that is causing erase-before-install.
>
> 73 de Jeff
>> ----- Forwarded message from Robert Scheck <robert@rpm5.org> -----
>> Date: Wed, 13 Aug 2008 00:13:41 +0200
>> From: Robert Scheck <robert@rpm5.org>
>> Reply-To: rpm-devel@rpm5.org
>> To: rpm-devel@rpm5.org
>> Cc: Jeff Johnson <jbj@rpm5.org>
>> Subject: Problems with erase-before-install on RPM 5.2
>> Message-ID: <20080812221341.GA9600@hurricane.linuxnetz.de>
>>
>> Hello folks,
>>
>> this is mostly just a reminder for a problem which annoys me since my
>> upgrade from RPM 4.5 to 5.2 now... ;-)
>>
>> The problem is reproducible for me with the packages httpd, openssh
>> and
>> bind from Fedora 9 and/or Rawhide. For example, I've a sshd_config
>> file
>> marked as %config which I modified on the filesystem. Now I'm
>> updating the
>> openssh-server package using "rpm -Uvh" which contains a newer
>> config file
>> - then, my sshd_config on the filesystem gets sshd_config.rpmsave,
>> but no
>> new sshd_config is placed there. Possible, that my situation
>> doesn't cover
>> the whole thing, but this is, where I really see and get it mostly.
>>
>> [20:31:15] < jbj> rsc: hmmm ... rpmsave is created for modified
>> %config on
>> erasure. is openssh-* installed? rpm -qa openssh-* should show
>> "normal" is
>> the file state too.
>> [20:31:32] < jbj> grr rpm -qs ...
>> [20:34:04] < rsc> jbj: shows now normal for all files
>> [20:34:19] < rsc> jbj: ah! On Erasure?!
>> [20:34:34] < jbj> rsc: rpm -V openssh-* should catch missing.
>> [20:34:40] < jbj> yes, rpmsave on erasure
>> [20:34:45] < rsc> jbj: that would explain the strange yum where it
>> says
>> "erased, updated" some time ago, you remember?
>> [20:35:33] < jbj> rsc: that likely explains the behavior. deploops
>> are
>> likely involved
>> [20:36:43] < rsc> I saw missing %config files for httpd, for bind
>> and for
>> openssh now.
>> [20:37:05] < rsc> the new file was missing, the old one was
>> always .rpmsave
>> [20:41:01] < rsc> shall I also drop you a mail for the *.rpmsave
>> thing?
>> [20:41:15] < jbj> and its time for explicit assert failure if/when
>> erase-before-install occurs. all the file resolution (w %config
>> especially)
>> rots when erase-before-install.
>> [20:41:31] < jbj> please do
>>
>> Just to mention: The yum thing I'm seeing with my antiquaric 2.6x
>> is maybe
>> not related, but I'm seeing there "updated, erased" in the yum.log
>> during
>> the update of a package - where it only should be "updated"
>> normally. But
>> as said, maybe not related.
>>
>>
>> Greetings,
>> Robert
>> ______________________________________________________________________
>> RPM Package Manager http://
>> rpm5.org
>> Developer Communication List rpm-
>> devel@rpm5.org
>> ----- End forwarded message -----
>>
>>
>> Greetings,
>> Robert
>
Received on Mon Oct 20 22:09:23 2008