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?
Thank you
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
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
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
On 5/18/20 3:42 PM, Moritz Lennert wrote:
Have you added some other repositories to your apt configuration ?
Probably.
The apt policy should report something like the following for a buster
system:
$ apt policy grass-core
grass-core:
Installed: (none)
Candidate: 7.6.0-1
Version table:
7.6.0-1 500
500 http://ftp.nl.debian.org/debian buster/main amd64 Packages
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
There is something very strange: it's already installed. If I run "apt policy
grass-core" I have the text below.
I don't understand why it doesn't warn me when I try to install it. Sorry
for the confusion and thank you very much for your time, I solved it
grass-core:
Installed: 7.8.0-1
Candidate: 7.8.3-1
Version table:
7.8.3-1 990
990 https://deb.debian.org/debian testing/main amd64 Packages
500 https://deb.debian.org/debian unstable/main amd64 Packages
*** 7.8.0-1 100
100 /var/lib/dpkg/status
7.6.0-1 500
500 https://deb.debian.org/debian stable/main amd64 Packages
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
On 5/18/20 4:46 PM, aborruso wrote:
grass-core:
Installed: 7.8.0-1
Candidate: 7.8.3-1
Version table:
7.8.3-1 990
990 https://deb.debian.org/debian testing/main amd64 Packages
500 https://deb.debian.org/debian unstable/main amd64 Packages
*** 7.8.0-1 100
100 /var/lib/dpkg/status
7.6.0-1 500
500 https://deb.debian.org/debian stable/main amd64 Packages
Don't add testing/unstable sources to an stable system.
If you need newer packages than available in stable and its backports,
upgrade to testing following the usual distribution upgrade procedure.
Alternatively create your own backports of the newer packages you need.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1