[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debian shishi package bug
From: |
Simon Josefsson |
Subject: |
Re: Debian shishi package bug |
Date: |
Wed, 26 Apr 2006 10:36:53 +0200 |
User-agent: |
Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux) |
Russ Allbery <address@hidden> writes:
> Elrond <address@hidden> writes:
>> On Tue, Apr 25, 2006 at 11:40:33AM +0200, Simon Josefsson wrote:
>
>>> Ok, good. There isn't a way to only make those parts of the package
>>> install process only apply to upgrades from 0.0.23-1, is there?
>
>> dpkg --compare-version.
>> grep compare-version /var/lib/dpkg/info/*
>
>> The later will flood you with hundreds of example usages.
>
> You can do something like this if you really want to, but I don't have
> 0.0.23-1 packages left to test it with any more and wouldn't want to use
> it without testing it. I do know that what we have now works since I was
> able to test an upgrade from 0.0.23-1 with it.
>
> I'd rather just leave it alone for a few months and then drop it.
Agreed, that sounds easier.
> # Figure out if we're dealing with the possibly failing case.
> ignore=false
> if [ "$1" = "failed-upgrade" ] && dpkg --compare-versions "$2" lt "0.0.24" ;
> then
> ignore=true
> fi
>
> maybe_ignore_failure () {
> status=$?
> if [ "$ignore" = "true" ] ; then
> true
> else
> exit "$status"
> fi
> }
>
> --
> Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>
- Re: Debian shishi package bug, (continued)
- Re: Debian shishi package bug, Simon Josefsson, 2006/04/27
- Re: Debian shishi package bug, Elrond, 2006/04/27
- Re: Debian shishi package bug, Simon Josefsson, 2006/04/27
- Re: Debian shishi package bug, Elrond, 2006/04/27
- Re: Debian shishi package bug, Russ Allbery, 2006/04/27
- Re: Debian shishi package bug, Simon Josefsson, 2006/04/28
- Re: Debian shishi package bug, Russ Allbery, 2006/04/27
- Re: Debian shishi package bug, Simon Josefsson, 2006/04/25
- Re: Debian shishi package bug, Elrond, 2006/04/25
- Re: Debian shishi package bug, Russ Allbery, 2006/04/25
- Re: Debian shishi package bug,
Simon Josefsson <=
- Re: Debian shishi package bug, Russ Allbery, 2006/04/19
- Re: Debian shishi package bug, Simon Josefsson, 2006/04/20
- Re: Debian shishi package bug, Russ Allbery, 2006/04/20
- Re: Debian shishi package bug, Elrond, 2006/04/19
- Re: Debian shishi package bug, Simon Josefsson, 2006/04/19
- Re: Debian shishi package bug, Elrond, 2006/04/19
- Re: Debian shishi package bug, Elrond, 2006/04/19
- Re: Debian shishi package bug, Simon Josefsson, 2006/04/19
- Re: Debian shishi package bug, Russ Allbery, 2006/04/19
- Re: Debian shishi package bug, Simon Josefsson, 2006/04/20