Bug#861077: [Pkg-nagios-devel] Bug#861077: icinga-idoutils: fails to upgrade squeeze -> wheezy -> jessie -> stretch

2017-04-28 Thread Sebastiaan Couwenberg
On 04/28/2017 12:38 PM, Sebastiaan Couwenberg wrote:
> On 04/28/2017 12:29 PM, Andreas Beckmann wrote:
>> On 2017-04-28 11:58, Sebastiaan Couwenberg wrote:
>>> Thanks for the feedback. Unfortunately my piuparts tests fail to upgrade
>>> postgresql from 8.4 to 9.1 not even getting to the point of testing the
>>> icinga-idoutils upgrade.
>>
>> You tested amd64? I've encountered some postgresql upgrade related
>> issues on amd64 recently, but haven't investigated them carefully. i386
>> seems to work fine.
> 
> Yes, I tested am64 for which I already had a squeeze pbuilder chroot
> around. I'll try again with a newly created i386 chroot.

No joy there either. The upgrade to wheezy fails again for unrelated
reasons:

 The following packages have unmet dependencies:
  libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
 E: Broken packages

I guess I'll have to setup a proper VM and do interactive upgrades.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#861077: [Pkg-nagios-devel] Bug#861077: icinga-idoutils: fails to upgrade squeeze -> wheezy -> jessie -> stretch

2017-04-28 Thread Sebastiaan Couwenberg
On 04/28/2017 04:01 PM, Sebastiaan Couwenberg wrote:
> On 04/26/2017 01:02 PM, Bas Couwenberg wrote:
>> It's probably sufficient to fix the case of the constraints as per the
>> attached patch. I've haven't tested this (yet), as I don't know who to
>> reproduce the issue with piuparts.
> 
> The patch is not the solution. Because the problem is not the case of
> the constraint.
> 
> The squeeze version of icinga doesn't create a named constraint, this
> was changed in the wheezy version. The database upgrade scripts for the
> various versions don't change the constraints though.
> 
> Adding "IF EXISTS" will likely help to address the SQL error (per the
> attached patch), but will not fix the upstream issue as the unnamed
> UNIQUE constraints will still be present.

Also removing the automatically named constraints if they exists is
probably sufficient. I've updated the proposed patch once again.

Markus, what do you think?

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


pgsql-upgrade-1.13.0.patch
Description: application/pgp-encrypted


Bug#861077: [Pkg-nagios-devel] Bug#861077: icinga-idoutils: fails to upgrade squeeze -> wheezy -> jessie -> stretch

2017-04-28 Thread Andreas Beckmann
On 2017-04-28 15:10, Sebastiaan Couwenberg wrote:
> No joy there either. The upgrade to wheezy fails again for unrelated
> reasons:
> 
>  The following packages have unmet dependencies:
>   libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
>  E: Broken packages
> 
> I guess I'll have to setup a proper VM and do interactive upgrades.

I remember having seen this, but don#t remember the details ...

Do you have your proposed patch in some git branch?


Andreas



Bug#861077: [Pkg-nagios-devel] Bug#861077: icinga-idoutils: fails to upgrade squeeze -> wheezy -> jessie -> stretch

2017-04-28 Thread Sebastiaan Couwenberg
On 04/28/2017 05:10 PM, Andreas Beckmann wrote:
> On 2017-04-28 15:10, Sebastiaan Couwenberg wrote:
>> No joy there either. The upgrade to wheezy fails again for unrelated
>> reasons:
>>
>>  The following packages have unmet dependencies:
>>   libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
>>  E: Broken packages
>>
>> I guess I'll have to setup a proper VM and do interactive upgrades.
> 
> I remember having seen this, but don#t remember the details ...
> 
> Do you have your proposed patch in some git branch?

Yes, currently only in my personal git repo, not yet pushed to Alioth:

 http://git.linuxminded.nl/?p=pkg-nagios/icinga

The patch has been revised a couple of times, and is also available in
this bugreport.

I'm currently doing the upgrade tests in a VM, but haven't reached the
stretch upgrade yet.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1