NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jiska78
Jul 27, 2016Tutor
Problems installing Python #27233558
Can someone please translate this error in to English?
My knowledge of Linux is limited, at best. I am just following Google suggestions.
Thanks
root@NAS01:/var/log/readynasd# a...
mdgm-ntgr
Aug 16, 2016NETGEAR Employee Retired
Port forwarding is not required for Secure Diagnostic Mode. Secure Diagnostic Mode makes a secure connection back to our server and uses a different port on your NAS to the standard SSH port anyway. It's also a different port on your NAS to the 5-digit number we request.
Port Forwarding to the standard SSH port on the NAS would only be used for your personal use of SSH. Personally I reckon it's much better to use a VPN than to port forward SSH.
mdgm-ntgr
Aug 16, 2016NETGEAR Employee Retired
I gather support has had a look at your system and may have fixed it (though they can't be sure).
You can do e.g.
# dpkg -l
Note that's a lower case L above
To see a list of package names.
If you see a package isn't properly removed then you can do e.g.
# dpkg -L packagename
Upper case L this time to see the files that are owned by that package. It's possible that manually removing files can help with a subsequent attempt to purge the app.
Sometimes a package may fail to remove because a directory or file is missing. Manually recreating an empty directory or file may help with removing it.
Sometimes installing the package over the top of itself then removing it again is enough but other times you have to do more advanced steps as mentioned above.
The python package that the UI installs is pythonr6. The command line equivalent to install that would be e.g.
# apt-get install pythonr6
Doing an
# apt-get install python
Is expected to cause problems. It's not something we would support.
It's not support's job to clean up mistakes you've made using SSH. We provide the option to use SSH as a courtesy to our users who want to do advanced unsupported things with it on the understanding that we may refuse support to fix problems that you run into as a result of changes you make using SSH.
If you're not comfortable with troubleshooting things like this yourself or learning to do so then you shouldn't be using SSH.
- jiska78Aug 16, 2016Tutor
That is exactly why I am posting in a "community forum".
I only raised a Support Case because that is what a "community forum" member suggested I do.
This is a "community forum" isn't it? Or is this a "Netgear Support Forum" ??
https://community.netgear.com/t5/Current-NETGEAR-and-Partners/Problems-installing-Python/m-p/1121875
- mdgm-ntgrAug 16, 2016NETGEAR Employee Retired
I didn't realise you had another thread.
Now I understand what happened.The package you tried to install was not the one installed using the UI, but rather one of its dependencies so things weren't setup correctly.
As well as the Available Apps there are additional apps available at e.g. rnxtras.com and some other's in super-poussin's Dropbox.
- jiska78Aug 16, 2016Tutor
Neither did I :)
rnxtras is exactly why this whole problem started in the first place. I purchased the new version of SABNZBD and wanted to install it so I uploaded it via the GUI and it failed. Then I googled around and people were saying that I needed Python 2.7 to be installed, but in the GUI it only had an option to install version 1.0 so I had to use SSH to try and install 2.7
- mdgm-ntgrAug 16, 2016NETGEAR Employee Retired
The appropriate step would have been to ask the app developer RNXtras for assistance/advice.
The pythonr6 app may have a version 1.0.0 but that app does install python 2.7.x.
If you do a
# dpkg -l | grep pythonYou will see this.
Note the -l is a - followed by a lower case L
It could well be that installing that SABNZBD app may work fine now that some things have been cleaned up, but it may not.
If you do a command line install of it e.g.
# dpkg -i filename.deb
You should see why installing it doesn't work if it fails. - jiska78Aug 16, 2016Tutor
Legendary - installing the package using "dpkg -i" after I ftp'd the .deb file up to my NAS worked.
Thankyou very very much for your assistance :)FWIW I have no desire to use SSH, I much prefer the GUI
- JennCAug 17, 2016NETGEAR Employee Retired
Hello jiska78,
Thank you for letting us know that it now works and for sharing what resolved it.
If your issue is now resolved, we encourage you to mark the appropriate reply as the “Accept as Solution” so others can be confident in benefiting from the solution.
The Netgear community looks forward to hearing from you and being a helpful resource in the future!
Regards,
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!