[GRASS-dev] Unable to install grass-core on debian 10 (buster)
Moritz Lennert
mlennert at club.worldonline.be
Mon May 18 06:42:01 PDT 2020
On 18/05/20 14:48, Moritz Lennert wrote:
> 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."
Looking at this again, I'm wondering: In buster, grass-core depends
libgdal20 (2.4.0+dfsg-1 et autres) and on libhdf5-103
(1.10.4+repack-10), so why is it trying to install libgdal26 and
libhdf5-103-1 and 1.10.4+repack-11 ? Have you added some other
repositories to your apt configuration ?
Moritz
More information about the grass-dev
mailing list