Comment 2 for bug 1956776

Revision history for this message
Markus Neteler (neteler) wrote :

The reason is that the GRASS GIS Addons repository has been restructured in 2021 to distinguish GRASS GIS 7 from the new version 8.

Hence,

`Downloading source code for <r.in.usgs> from <https://github.com/OSGeo/grass-addons/trunk/grass7/raster/r.in.usgs>`

is no longer a valid path, the new path is:

https://github.com/OSGeo/grass-addons/tree/grass7/src/raster/r.in.usgs

Possibilities for you:
a) you use GRASS GIS 7.8.2 which is fairly old. Please update as `g.extension` has been updated accordingly to use the new path in later versions (starting from GRASS GIS 7.8.6).
b) if that's not possible, you may edit your local `g.extension` file in `/usr/lib64/grass78/scripts/g.extension`, using the changes provided here: https://github.com/OSGeo/grass/pull/1762

See also:

https://trac.osgeo.org/grass/wiki/Release/7.8.6-News#Majormodulechanges
- G78:g.extension: updated to match new addon repository structure (​PR:1762)