2

When I use the following command:

inxi -w

I get the following error:

Error: weather info downloaded but no data detected.

I have tried using the -W Location option but I still get the same error.

I have also tried using a different location and I have tried using the location zip code and also the location City,State format and I still get the same error.

Does anyone know how to fix this error?

mchid
  • 44,904
  • 8
  • 102
  • 162

2 Answers2

3

The developer of inxi has indicated that the source for weather data used by the version of inxi in the Bionic Beaver repositories is no longer available.

The data source in legacy inxi (legacy in this case is inxi version 3.0.31 or older) is gone, that is why 3.0.32 was hurried out the door. There is nothing you can do to get -w data in inxi except upgrade to current inxi.

Note that new inxi also has the --weather-source option, takes values 1-6, but 1 is the one that went offline this month.

All of them are quite different, internally I pick a default source to use based on which seems most consistent, or you can force it.

Regularly updated versions of inxi are available via Unit 193's ppa or from the developer's GitHub page.

DK Bose
  • 44,553
3

You can update the inxi package by editing /etc/inxi.conf

You can either comment out B_ALLOW_UPDATE=false or change it to B_ALLOW_UPDATE=true

Save the file then in terminal do sudo inxi -U

The updated inxi will use weatherbit.io

Jeremy31
  • 13,293