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

Re: ssh-krb5 Conflicts/Replaces behaving oddly with conffiles

Brian May <bam@snoopy.debian.net> writes:
>>>>>> "Russ" == Russ Allbery <rra@debian.org> writes:

>     Russ> Could someone who knows more about how Conflicts and
>     Russ> Replaces is supposed to work, particularly in combination
>     Russ> with conffiles, take a look at bugs #402804 and #402806?  I
>     Russ> don't understand why this isn't working.  It looks to me
>     Russ> like all the right Conflicts and Replaces are in place so
>     Russ> that the dummy package upgrade should work.

> As far as I can tell from 402806, with a bit of guessing, what happens
> is:

> 1. unpack latest ssh-krb5
>    (old conffiles not deleted)
> 2. unpack openssh-server (conflicts is now satisfied)
>    - detect conflicting conffile
>    - replaces ineffective because ssh-krb5 has already been upgraded and no longer satisfies
>      version criteria.
>    - display error.

> Disclaimer: not an expert.

Hm, so maybe the Replaces shouldn't be versioned.  Would that make sense?

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: