history/situation
PC1: installed astrometry.net-0.89 when was ubuntu 20.04; works
upgraded to 22.04 installed astrometry.net-0.91 works
PC2 (no astrometry) upgraded to 22.04, installed astrometry.net-0.91 works only for root
$ /usr/local/astrometry/bin/solve-field -D wcs3 --scale-units arcsecperpix --scale-low 1.6 --scale-high 1.7 --ra 266.9 --dec 5.5 --radius .5 icVbF.FIT
Reading input file 1 of 1: "icVbF.FIT"...
sh: 1: an-fitstopnm: not found
Command failed: an-fitstopnm -i icVbF.FIT > /tmp/tmpfll4tyyc.pnm
augment-xylist.c:591:backtick Failed to run command: /usr/local/astrometry/bin/image2pnm --infile icVbF.FIT --uncompressed-outfile /tmp/tmp.uncompressed.TBsdq6 --outfile /tmp/tmp.ppm.16ujZz --ppm --mydir /usr/local/astrometry/bin/solve-field
ioutils.c:568:run_command_get_outputs Command failed: return value 255
# /usr/local/astrometry/bin/solve-field -D wcs2 --scale-units arcsecperpix --scale-low 1.6 --scale-high 1.7 --ra 266.9 --dec 5.5 --radius .5 icVbF.FIT
Reading input file 1 of 1: "icVbF.FIT"...
Extracting sources...
simplexy: found 183 sources.
Solving...
Reading file "wcs2/icVbF.axy"...
Only searching for solutions within 0.5 degrees of RA,Dec (266.9,5.5)
Field 1 did not solve (index index-5007-07.fits, field objects 1-10).
log-odds ratio 232.756 (1.21475e+101), 34 match, 0 conflict, 20 distractors, 38 index.
RA,Dec = (266.905,5.48621), pixel scale 1.64417 arcsec/pix.
Hit/miss: Hit/miss: ++++++++-+++-++++-++++++-+++++-+-++----+--+---+---+--+(best)----------------------------------------------
Field 1: solved with index index-5006-07.fits.
Field 1 solved: writing to file wcs2/icVbF.solved to indicate this.
Field: icVbF.FIT
Field center: (RA,Dec) = (266.904868, 5.486436) deg.
Field center: (RA H:M:S, Dec D:M:S) = (17:47:37.168, +05:29:11.171).
Field size: 28.0609 x 28.0509 arcminutes
Field rotation angle: up is -4.83127 degrees E of N
Field parity: neg
Creating new FITS file "wcs2/icVbF.new"...
Creating index object overlay plot...
Creating annotation plot...
yalow 2019$ dir /usr/local/astrometry/bin/an-fitstopnm
-rwxr-xr-x 1 root root 764528 Sep 1 13:13 /usr/local/astrometry/bin/an-fitstopnm*
yalow 2020$ dir /usr/local/astrometry/bin/image2pnm
-rwxr-xr-x 1 root root 519 Sep 1 13:13 /usr/local/astrometry/bin/image2pnm*
yalow 2022$ dir /usr/local/astrometry/lib/python/astrometry/util/image2pnm.py
-rwxr-xr-x 1 root root 10976 Sep 1 13:13 /usr/local/astrometry/lib/python/astrometry/util/image2pnm.py*
additional info: PC1 running X, PC2 running wayland
initially on PC2 I tried apt install package
astrometry.net; NoJoy but with a different error message, uninstalled and then tried download (which had worked on PC1)
thanks