Hello Christian,

* Christian Marillat <maril...@debian.org> [210405 15:26]:
> This package fail to install/build with :
> 
> $ sudo apt-get dist-upgrade                                 
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n] 
> Setting up mali-midgard-dkms (16.0+pristine-4) ...
> Building for 5.10.0-5-arm64
> Traceback (most recent call last):
>   File "/usr/bin/lsb_release", line 95, in <module>
>     main()
>   File "/usr/bin/lsb_release", line 59, in main
>     distinfo = lsb_release.get_distro_information()
>   File "/usr/lib/python3/dist-packages/lsb_release.py", line 356, in 
> get_distro_information
>     distinfo = guess_debian_release()
>   File "/usr/lib/python3/dist-packages/lsb_release.py", line 246, in 
> guess_debian_release
>     get_distro_info(distinfo['ID'])
>   File "/usr/lib/python3/dist-packages/lsb_release.py", line 48, in 
> get_distro_info
>     RELEASES_ORDER.sort(key=lambda n: float(n[0]))
>   File "/usr/lib/python3/dist-packages/lsb_release.py", line 48, in <lambda>
>     RELEASES_ORDER.sort(key=lambda n: float(n[0]))
> ValueError: could not convert string to float: '6.06 LTS'

Please try running this, and see if that also fails:

    lsb_release -s -i

I think your system configuration confuses lsb_release. If so,
please reassign to lsb-release.

Best,
Chris

Reply via email to