[GRASS-dev] Unable to install grass-core on debian 10 (buster)

Moritz Lennert mlennert at club.worldonline.be
Mon May 18 05:48:29 PDT 2020


On 18/05/20 14:26, aborruso wrote:
> Hi,
> I would like to run some grass processes via sh scripts.
> 
> After running "sudo apt-get install grass-core", I have:
> 
> 
> "The following packages have unmet dependencies:
>   grass-core : Depends: libgdal26 (>= 2.2.0) but it is not going to be
> installed
>                Depends: libnetcdf18 (>= 3.6.1) but it is not going to be
> installed
>                Depends: libpdal-base10 (>= 1.8.0) but it is not going to be
> installed
>                Recommends: gdal-bin but it is not going to be installed
> E: Unable to correct problems, you have held broken packages."
> 
> If I run "sudo apt-get install  libgdal26 libnetcdf18 libpdal-base10", I
> have:
> 
> "The following packages have unmet dependencies:
>   libgdal26 : Depends: libhdf5-103-1 but it is not going to be installed
>   libnetcdf18 : Depends: libhdf5-103-1 but it is not going to be installed
>                 Depends: libhdf5-hl-100 but it is not going to be installed
> E: Unable to correct problems, you have held broken packages."
> 
> And finally if I run "sudo apt-get install  libhdf5-103-1 libhdf5-hl-100" I
> have:
> 
> "The following packages have unmet dependencies:
>   libhdf5-103-1 : Breaks: libhdf5-103 but 1.10.4+repack-11 is to be installed
>   libhdf5-hl-100 : Conflicts: libhdf5-103 (< 1.10.5) but 1.10.4+repack-11 is
> to be installed
> E: Unable to correct problems, you have held broken packages."
> 
> Do you have some tips to solve these?

Try running 'sudo apt install -f' to fix installation problems.

Moritz


More information about the grass-dev mailing list