unRAID 6 NerdPack - CLI tools (iftop, iotop, screen, kbd, etc.)


jonp

Recommended Posts

I fix the problems with dig and nslookup.
Note that this upgrades json-c.
Package json-c-0.15_20200726-x86_64-1.txz installed. Package json-c-0.13.1-x86_64-1 upgraded with new package ./json-c-0.15_20200726-x86_64-1.txz.
/usr/lib64/libjson-c.so.4 is replaced with /usr/lib64/libjson-c.so.5.
 
I don't know what else relies on the older version of json-c.
ldd $(which dig)
        linux-vdso.so.1 (0x00007ffebdd8f000)
        libdns.so.1608 => /usr/lib64/libdns.so.1608 (0x00001501e86b2000)
        libirs.so.1601 => /usr/lib64/libirs.so.1601 (0x00001501e86a5000)
        libbind9.so.1600 => /usr/lib64/libbind9.so.1600 (0x00001501e8691000)
        libns.so.1605 => /usr/lib64/libns.so.1605 (0x00001501e8648000)
        libisccfg.so.1601 => /usr/lib64/libisccfg.so.1601 (0x00001501e8614000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00001501e85c3000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00001501e84eb000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00001501e84bd000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00001501e84b7000)
        liblmdb.so.0.0.0 => /usr/lib64/liblmdb.so.0.0.0 (0x00001501e84a0000)
        libisc.so.1607 => /usr/lib64/libisc.so.1607 (0x00001501e8425000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00001501e814b000)
        libjson-c.so.5 => /usr/lib64/libjson-c.so.5 (0x00001501e8136000)
        libuv.so.1 => /usr/lib64/libuv.so.1 (0x00001501e8105000)
        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00001501e7f9f000)
        libz.so.1 => /lib64/libz.so.1 (0x00001501e7d88000)
        libidn2.so.0 => /usr/lib64/libidn2.so.0 (0x00001501e7d69000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00001501e7d64000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00001501e7d40000)
        libc.so.6 => /lib64/libc.so.6 (0x00001501e7b5b000)
        /lib64/ld-linux-x86-64.so.2 (0x00001501e88e4000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00001501e7b4c000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00001501e7b45000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00001501e7b2a000)
        librt.so.1 => /lib64/librt.so.1 (0x00001501e7b1e000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00001501e7b03000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00001501e78dd000)
        libm.so.6 => /lib64/libm.so.6 (0x00001501e7790000)
        libunistring.so.2 => /usr/lib64/libunistring.so.2 (0x00001501e740e000)
 
Updated bind and json-c and added krb5
  • Like 1
Link to comment

Having a bit of a nightmare just trying to run a python 3 script. I've (re)installed python 3 via nerd tools and pip via terminal but I can't install the future module. I reach out to the team who made the script and according to them, my python3 installation is missing files. I attempted to uninstall python3 and reinstall it, but nerd tools won't uninstall it. I removed nerd tools entirely and reinstalled it, but this did nothing to alleviate my issue.

I am on Unraid 6.8.3 using Nerd tools 2019.12.31, Python 3.9.0, and Pip 20.3.

When I run 'python3 -m pip install future' or 'pip3 install future' I get the attached error.

Any help would be greatly appreciated!

Screen Shot 2020-12-02 at 4.54.25 PM.png

Link to comment
Having a bit of a nightmare just trying to run a python 3 script. I've (re)installed python 3 via nerd tools and pip via terminal but I can't install the future module. I reach out to the team who made the script and according to them, my python3 installation is missing files. I attempted to uninstall python3 and reinstall it, but nerd tools won't uninstall it. I removed nerd tools entirely and reinstalled it, but this did nothing to alleviate my issue.

I am on Unraid 6.8.3 using Nerd tools 2019.12.31, Python 3.9.0, and Pip 20.3.

When I run 'python3 -m pip install future' or 'pip3 install future' I get the attached error.

Any help would be greatly appreciated!
1588711807_ScreenShot2020-12-02at4_54_25PM.thumb.png.e18c85a9e3b609d00095a560f3fbbc86.png
Looks like you need libffi
Link to comment
21 hours ago, dmacias said:
21 hours ago, DeathByDentures said:
Having a bit of a nightmare just trying to run a python 3 script. I've (re)installed python 3 via nerd tools and pip via terminal but I can't install the future module. I reach out to the team who made the script and according to them, my python3 installation is missing files. I attempted to uninstall python3 and reinstall it, but nerd tools won't uninstall it. I removed nerd tools entirely and reinstalled it, but this did nothing to alleviate my issue.

I am on Unraid 6.8.3 using Nerd tools 2019.12.31, Python 3.9.0, and Pip 20.3.

When I run 'python3 -m pip install future' or 'pip3 install future' I get the attached error.

Any help would be greatly appreciated!
1588711807_ScreenShot2020-12-02at4_54_25PM.thumb.png.e18c85a9e3b609d00095a560f3fbbc86.png

Looks like you need libffi

Thank you. I was able to install libffi via nerd pack and get my script running. Thanks!

Link to comment

Your commands:

wget http://slackware.cs.utah.edu/pub/slackware/slackware64-current/slackware64/l/json-c-0.15_20200726-x86_64-1.txz
upgradepkg --install-new json-c-0.15_20200726-x86_64-1.txz

work perfectly.  

 

But nerdpack is not working at all for JSON-C.  I tried many many times to get nerdpack to work correctly.  

 

"Host" has dependencies in kbd, json-c and libgssi-kbd (and perhaps more I had already)  I could not get past json-c dependency. I was not sure if you were saying you updated NERD pack recently to the new version, but it does not appear to work.  Would be nice if those were added as dependencies to auto install.  This one was easy to figure out, but another program I used before (pybashtop?) was exceptionally difficult to find the dependency. This is more of a long term wish. 

 

In the short term, need to fix json-c

 

To be explicit, the address and command you gave HERE worked fine, and once installed, host worked fine but the install script must have a typo.

Edited by AndyT86
Link to comment



Your commands:
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-current/slackware64/l/json-c-0.15_20200726-x86_64-1.txz
upgradepkg --install-new json-c-0.15_20200726-x86_64-1.txz
work perfectly.  
 
But nerdpack is not working at all for JSON-C.  I tried many many times to get nerdpack to work correctly.  
 
"Host" has dependencies in kbd, json-c and libgssi-kbd (and perhaps more I had already)  I could not get past json-c dependency. I was not sure if you were saying you updated NERD pack recently to the new version, but it does not appear to work.  Would be nice if those were added as dependencies to auto install.  This one was easy to figure out, but another program I used before (pybashtop?) was exceptionally difficult to find the dependency. This is more of a long term wish. 
 
In the short term, need to fix json-c
 
To be explicit, the address and command you gave HERE worked fine, and once installed, host worked fine but the install script must have a typo.


I updated bind, json-c and added krb5. If I remember I'll add the auto select of dependencies for bind next time I update the plugin
Link to comment
Your commands:
wget http://slackware.cs.utah.edu/pub/slackware/slackware64-current/slackware64/l/json-c-0.15_20200726-x86_64-1.txz
upgradepkg --install-new json-c-0.15_20200726-x86_64-1.txz
work perfectly.  
 
But nerdpack is not working at all for JSON-C.  I tried many many times to get nerdpack to work correctly.  
 
"Host" has dependencies in kbd, json-c and libgssi-kbd (and perhaps more I had already)  I could not get past json-c dependency. I was not sure if you were saying you updated NERD pack recently to the new version, but it does not appear to work.  Would be nice if those were added as dependencies to auto install.  This one was easy to figure out, but another program I used before (pybashtop?) was exceptionally difficult to find the dependency. This is more of a long term wish. 
 
In the short term, need to fix json-c
 
To be explicit, the address and command you gave HERE worked fine, and once installed, host worked fine but the install script must have a typo.
The "underscore" in the version was messing up json-c. I renamed it
Link to comment
50 minutes ago, dmacias said:
2 hours ago, CybranNakh said:
I am trying to install libffi but do not see it in Nerdtools. I'm on Unraid 6.9 Beta35. I tried uninstalling Nerdtools and reinstalling but it did not work. Am I missing something? 

It's included in 6.9

Ah! That makes sense now. Thank you very much!!! 

 

+1

Edited by CybranNakh
Link to comment
On 9/10/2020 at 11:38 AM, ksignorini said:

So I upgraded UnRAID to 6.8.3 and rebooted. I now see neofetch in the list. I chose to install it and hit Apply. It shows it being installed in the scrolling log. When it returns to the Nerd Pack setting page, it says uninstalled.

 

I've never had this happen with a Nerd Pack item before.

 

Ideas?

I'm not sure why, since it seems like you're no longer having this problem @ksignorini, but I'm not having this exact issue with neofetch. I'm on 6.8.3 and Nerdpack is up to date. Any ideas @dmacias?

Link to comment
Where are the binaries for these programs saved / retrieved from?  Or does NerdPack pull the source code and compile locally when you toggle a program/library on?
The binaries are all within Slackware packages hosted on my github. Some are compiled by me and some are from other repositories. When installed, the Slackware package are downloaded to the flash drive then installed. When rebooting the server they are installed from the flash drive.
Link to comment
  • 2 weeks later...
  • 2 weeks later...
On 12/30/2020 at 11:08 AM, bamhm182 said:

Is anyone else having trouble installing perl? When I go to add it, it jumps straight to "Installing", whereas something like python will go to "Downloading", the "Installing". Even though the toggle switch is set to "yes" for perl, the status is uninstalled.

Yes, I'm setting up a brand new unraid box and the nerdtools plugin I just installed will not actually install perl. It also has "lost" netcatBSD from the list after I tried to install that. I've used nerd tools for a long time and have never had any issue---but something weird happening with the latest one. 

 

I tried deinstalling, rebooting and reinstalling nerd tools. Did not change the problem. I did not try to install anything else.

Link to comment

Any possibility to add sshpass?

 

In conjunction with user.scripts I'm hoping to implement something like :

#!/bin/bash
#argumentDescription=Enter password and box name (mypass pihole)
sshpass -p $1 ssh pi@$2.rmac "sudo dd bs=4M if=/dev/mmcblk0 status=progress | gzip -1 - " | dd of=/mnt/user/Backups/$2/$(date +%Y%m%d\_%H%M%S)\_$box.gz

I run 4 different Raspberry Pi boxes.  They run for a good long time, but I've just had the third SD card fail.  I would like to keep an image where I can recover quickly with minimal pain. 

Link to comment

I have python2 and pip installed, however...

 

root@server:~# pip install docker
-bash: /usr/bin/pip: /usr/bin/python3: bad interpreter: No such file or directory
root@server:~# python -m pip
/usr/bin/python: No module named pip

 

Somehow pip is looking for Python3, which I don't have installed. If I install it well, it works but for Python3, I need pip for Python2. I noticed there is a pip3 command as well, not sure why the default pip command isn't configured correctly.

Edited by dnLL
Link to comment
  • Squid unpinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.