[Debian-science-sagemath] apt upgrading issue:

Tobias Hansen thansen at debian.org
Thu Aug 11 13:24:44 UTC 2016


On 08/11/2016 02:10 PM, Jerome BENOIT wrote:
> Hi,
> 
> On 11/08/16 13:50, Tobias Hansen wrote:
>> On 08/11/2016 01:18 PM, Tobias Hansen wrote:
>>> On 08/11/2016 11:51 AM, Jerome BENOIT wrote:
>>>> Hi,
>>>>
>>>> On 11/08/16 10:51, Ximin Luo wrote:
>>>>> Jerome BENOIT:
>>>>>>  sagemath-build-deps : Depends: libbrial-dev (>= 0.8.5) but it is not going to be installed
>>>>>>                        Depends: libbrial-groebner-dev (>= 0.8.5) but it is not going to be installed
>>>>>>                        Depends: python-brial (>= 0.8.5) but it is not going to be installed
>>>>>>
>>>>
>>>>> What's the rest of the error message? When it says "it is not going to be installed", there should be other reasons on why, above this.
>>>>
>>>> Indeed, but I could not figure it out. Hence my email.
>>>>
>>>>
>>>>> You could also try using `aptitude install -R sagemath-build-deps` instead of apt-get, it has a more sophisticated dependency resolution.
>>>>
>>>> Finally I get a hint from dselect:
>>>>
>>>> 	libbrial-groebner-dev depends on libbrial-groebner0 (= 0.8.5-0+sage1)
>>>> 	libbrial-groebner0 depends on libpng12-0 (>= 1.2.13-4)
>>>> 	libpng12-0 does not appear to be available
>>>>
>>>> It appears that libpng12-0 is effectively not available in Sid for amd64 architecture:
>>>> I guess that brial was built within a Jessie environment or something.
>>>> Second, I am surprised to meet PNG here.
>>>>
>>>
>>> Ok, I still had libpng12-0 installed in my unstable chroot. It was only
>>> removed from unstable in May. I'll reupload a version of the package
>>> without the dependency.
>>>
>>> Best,
>>> Tobias
> 
>> I uploaded a new version which now depends on libpng16-16. That's the
>> reason why it's good we don't all have the same chroot. Thanks!
> 
> Personally I periodically renew from scratch my schroot and I build with pbuilder:
> this can of issue jumps to your face very quickly then.
> 
> Said that, one issue remains: I read:
> 
> Unpacking python-brial (0.8.5-0+sage2) ...
> dpkg: error processing archive /var/cache/apt/archives/python-brial_0.8.5-0+sage2_amd64.deb (--unpack):
>  trying to overwrite '/usr/lib/python2.7/dist-packages/brial/PyPolyBoRi.py', which is also in package python-polybori 0.8.4.3-0+sage1
> Errors were encountered while processing:
>  /var/cache/apt/archives/python-brial_0.8.5-0+sage2_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> This issue will sooner or later detected by piupart: some Replaces/Breaks fileds in d/control must be corrected or added.
> 
> Jerome
> 

Ok, that should now be fixed by introducing a transitional dummy package
and adding Replaces/Breaks.



More information about the Debian-science-sagemath mailing list