# Unable to update Mac client to 1.45

**URL:** <https://community.netdata.cloud/t/unable-to-update-mac-client-to-1-45/5283>\
**Category:** Help\
**Tags:** agent, update\
**Created:** [March 25, 2024, 11:44pm UTC](https://community.netdata.cloud/t/unable-to-update-mac-client-to-1-45/5283 "2024-03-25T23:44:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcdent](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/mcdent/32/3484_2.png) [@mcdent](https://community.netdata.cloud/u/mcdent)\
**Post date:** [March 25, 2024, 11:44pm UTC](https://community.netdata.cloud/t/unable-to-update-mac-client-to-1-45/5283/1 "2024-03-25T23:44:42Z")

</div>

I am trying to update the MacOS Netdata client from 1.44 to 1.45, to take advantage of new features.  
My Mac is running  
`Darwin server1.local 19.6.0 Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64`  
Which is a rather old Catalina 10.15.7

However it will not update.  
I installed it originally using the regular method `curl https://get.netdata.cloud/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh --stable-channel --claim-token ....`

I had to update/install somethings like  
`brew install libuvl`  
`brew install libuv`  
But it did install and work fine.

I am following the details on [Update Netdata | Learn Netdata](https://learn.netdata.cloud/docs/netdata-agent/maintenance/update-netdata-agents) to update using `sudo ./netdata-updater.sh`

Here is some of the output

```auto
server1:netdata mike$ sudo ./netdata-updater.sh
Mon 25 Mar 2024 23:35:55 GMT : INFO: netdata-updater.sh: Checking if a newer version of the updater script is available.
Mon 25 Mar 2024 23:35:56 GMT : INFO: netdata-updater.sh: Running on a terminal - (this script also supports running headless from crontab)
Mon 25 Mar 2024 23:35:56 GMT : INFO: netdata-updater.sh: Fetching dependency handling script...
Mon 25 Mar 2024 23:35:57 GMT : INFO: netdata-updater.sh: Running dependency handling script...
Sorry! This script needs BASH version 4+, but you have BASH version 3.2.57(1)-release
Mon 25 Mar 2024 23:35:57 GMT : ERROR: netdata-updater.sh: Installing build dependencies failed. The update should still work, but you might be missing some features.
Mon 25 Mar 2024 23:35:57 GMT : INFO: netdata-updater.sh: Current Version: 00104400300000
Mon 25 Mar 2024 23:35:57 GMT : INFO: netdata-updater.sh: Latest Version: 00104500000000
Mon 25 Mar 2024 23:35:57 GMT : INFO: netdata-updater.sh: Update available
./netdata-latest.tar.gz: OK
./netdata-updater.sh: line 609: pidof: command not found
Mon 25 Mar 2024 23:36:10 GMT : INFO: netdata-updater.sh: Re-installing netdata...

```

Then the first errors appear some moments later

```auto
[187/831] /Library/Developer/CommandLineTools/usr/bin/cc -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/build -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src -I/usr/local/Cellar/pcre2/10.42/include -fexceptions -O3 -DNDEBUG -fstack-protector-strong -D_FORTIFY_SOURCE=3 -fcf-protection=full -ffunction-sections -fdata-sections -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu11 -MD -MT CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o -MF CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o.d -o CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o -c /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.c
FAILED: CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/build -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src -I/usr/local/Cellar/pcre2/10.42/include -fexceptions -O3 -DNDEBUG -fstack-protector-strong -D_FORTIFY_SOURCE=3 -fcf-protection=full -ffunction-sections -fdata-sections -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu11 -MD -MT CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o -MF CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o.d -o CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal.c.o -c /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.c
In file included from /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.c:3:
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.h:95:10: fatal error: 'yaml.h' file not found
#include <yaml.h>
         ^ ~~~~~~~
1 error generated.
[188/831] /Library/Developer/CommandLineTools/usr/bin/cc -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/build -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src -I/usr/local/Cellar/pcre2/10.42/include -fexceptions -O3 -DNDEBUG -fstack-protector-strong -D_FORTIFY_SOURCE=3 -fcf-protection=full -ffunction-sections -fdata-sections -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu11 -MD -MT CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o -MF CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o.d -o CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o -c /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal-help.c
FAILED: CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/build -I/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src -I/usr/local/Cellar/pcre2/10.42/include -fexceptions -O3 -DNDEBUG -fstack-protector-strong -D_FORTIFY_SOURCE=3 -fcf-protection=full -ffunction-sections -fdata-sections -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu11 -MD -MT CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o -MF CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o.d -o CMakeFiles/log2journal.dir/src/collectors/log2journal/log2journal-help.c.o -c /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal-help.c
In file included from /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal-help.c:3:
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/netdata-updater-XXXXXXXXXX.I2iQr4ZF/netdata-v1.45.0/src/collectors/log2journal/log2journal.h:95:10: fatal error: 'yaml.h' file not found
#include <yaml.h>
         ^ ~~~~~~~
1 error generated.

```

Any help is very welcome, thanks.  
Mike

---

<div class="post-metadata">

**Author:** ![bagimuvi99](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/bagimuvi99/32/3707_2.png) [@bagimuvi99](https://community.netdata.cloud/u/bagimuvi99)\
**Post date:** [May 21, 2024, 3:47pm UTC](https://community.netdata.cloud/t/unable-to-update-mac-client-to-1-45/5283/2 "2024-05-21T15:47:52Z")

</div>

Can anyone answer this question? I’m looking for a answer because I have the same question. If anyone has one, please tag me. Thanks a lot. ![](https://emp3juice.blog) ![](https://y2mate.diy/) ![](https://tubidy.diy)
