Hei Bernardo, The problem is likely that the layout of the addon repo changed after 7.8.5, thus the path is not constructed correctly by g.extension in that version.
A workaround could be to fetch the add on repo with git (git clone https://github.com/osgeo/grass-addons) And then point g.extension to your local copy: g.extension extension=r.area url=./grass-addons/src/raster/r.area You may need a zip file, but you can try the above first... Good luck.. Cheers, Stefan > Gesendet: Montag, den 09.01.2023 um 21:14 Uhr > Von: "Bernardo Santos via grass-user" <grass-user@lists.osgeo.org> > An: "Markus Neteler" <nete...@osgeo.org> > Cc: "GRASS User List" <grass-user@lists.osgeo.org> > Betreff: Re: [GRASS-user] How to use g.extension in GRASS7.8 > > Hi Markus and Vero, > Thanks. Indeed, my GRASS version is old:GRASS 7.8.5Ubuntu 18.04.6 LTS > I unfortunately do not have a way to upgrade it myself since this is a > company server shared with other people (and we have been fighting with IT to > change to GRASS 8).But maybe it is easier to at lease update GRASS to version > 7.8.7 (or 7.8.8). > I just talked to a colleague (@mauricio.vancince) who mentioned he had the > same problem but could overcome it opening the terminal as a superuser and > using g.extension r.area -sUnfortunately I do not have admin rights, but I > will see what is possible to be done. > Thanks!BestBernardo > Em segunda-feira, 9 de janeiro de 2023 15:19:07 GMT+1, Markus Neteler > <nete...@osgeo.org> escreveu: > > Hi Bernardo, > > On Mon, Jan 9, 2023 at 2:58 PM Bernardo Santos > <bernardo_brand...@yahoo.com.br> wrote: > > > > Hi Markus, > > > > That was my first try, and then I get the error below: > > > > > g.extension extension=r.area > > Fetching <r.area> from GRASS GIS Addons repository (be patient)... > > svn: E170000: URL > > 'https://github.com/OSGeo/grass-addons/trunk/grass7/raster/r.area' doesn't > > exist > > ERROR: GRASS Addons <r.area> not found > > Ah right. Then your GRASS GIS 7.8 version may be too old. G 7.8.7 > should be ok (G 7.8.8 is on the way these days) but in any case, as > Vero pointed out, we highly recommend to upgrade to GRASS GIS 8.2.x. > > Best, > Markus > _______________________________________________ > grass-user mailing list > grass-user@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-user _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user