Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04 #154

Open
mstormi opened this issue Jun 5, 2020 · 9 comments
Open

Ubuntu 20.04 #154

mstormi opened this issue Jun 5, 2020 · 9 comments
Labels

Comments

@mstormi
Copy link

mstormi commented Jun 5, 2020

Bug report

We're bundling FireMotD as part of openHABian. I didn't encounter myself but received the following report from two people:

RAM percentage didn't work, and i've the error:
/usr/local/bin/FireMotD: line 149: ((: 10#3 > 10#UNKNOWN: value too great for base (error token is "10#UNKNOWN")
/usr/local/bin/FireMotD: line 153: ((: 10#3 < 10#UNKNOWN: value too great for base (error token is "10#UNKNOWN")
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error

  • FireMotD version: latest
  • OS distribution: Ubuntu
  • OS version: Focal (20.04)
@openPhiL
Copy link

I encounter the problem in case hands-on is needed.
I could deliver a proxmox-backup from a lxc container that has this issue.

@willemdh
Copy link
Member

Unfortunately I'm very limited in time currently, so not sure when I'll be able to fix this.

@dimon222
Copy link
Member

dimon222 commented Jun 19, 2020

Might he some package having rc or starting with 0 for version. Basically, it couldn't identify version difference correctly.

If you could print both sides of version numbers before this line, we could have samples
https://github.com/OutsideIT/FireMotD/blob/master/FireMotD#L149

@mstormi
Copy link
Author

mstormi commented Oct 17, 2020

Do you still maintain FireMotD ?

@willemdh
Copy link
Member

willemdh commented Oct 18, 2020

Im currently working on some other projects and got my hands full. Also, im only using on centos, for other os'es i cant help. Feel free to submit a pr and ill happily accept it.

@CupricReki
Copy link

The issue is with procps version 2:3.3.16-1. The issue is fixed in 2:3.3.16-5. Find your version with dpkg -l procps.

@KHOne23
Copy link

KHOne23 commented Dec 1, 2020

how can i update procps to 2:3.3.16-5??

@grivetto
Copy link

grivetto commented Dec 12, 2020

Hi

I've done this way (on a flavour of Ubuntu 20.04 LTS ( KDE neon User Edition 5.2 or https://www.linuxfx.org/)
after checking procps (sudo dpkg -l procps)
I made new ones from https://github.com/warmchang/procps.git
and FireMotD does not complain anymore about this error:

/usr/local/bin/FireMotD: line 149: ((: 10#3 > 10#UNKNOWN: value too great for base (error token is "10#UNKNOWN")
/usr/local/bin/FireMotD: line 153: ((: 10#3 < 10#UNKNOWN: value too great for base (error token is "10#UNKNOWN")

Ciao

Sergio

@sghebuz
Copy link

sghebuz commented Aug 9, 2021

how can i update procps to 2:3.3.16-5??

you can downdload a new version from here https://launchpad.net/ubuntu/+source/procps/2:3.3.16-5ubuntu1/+build/19433805

wget https://launchpad.net/ubuntu/+source/procps/2:3.3.16-5ubuntu1/+build/19433805/+files/procps_3.3.16-5ubuntu1_amd64.deb
apt install ./procps_3.3.16-5ubuntu1_amd64.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

8 participants