LIFE
Posts: 4
Joined: Sat Mar 24, 2018 5:19 pm

cannot install and uninstall noip-duc-linux.tar.gz

Sat Mar 24, 2018 5:34 pm

Hi,

I tried
tar xzf noip-duc-linux-tar-gz
but it shows

Code: Select all

pi@raspberrypi:~ $ tar xzf noip-duc-linux-tar-gz
tar (child): noip-duc-linux-tar-gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I tried 
[color=#0000FF]sudo rm /usr/local/bin/noip2[/color] 
but it shows
pi@raspberrypi:~ $ sudo rm /usr/local/bin/noip2
rm: cannot remove ‘/usr/local/bin/noip2’: No such file or directory
pi@raspberrypi:~ $ 
under the /usr/local/src ,there are 3 things
noip-2.1.9-1
noip-duc-linux.tar.gz
noip-duc-linux-rar.gz.l

This make me crazy.

Thanks and regards

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: cannot install and uninstall noip-duc-linux.tar.gz

Sun Mar 25, 2018 2:00 am

https://www.noip.com/support/knowledgeb ... pberry-pi/
https://www.noip.com/support/knowledgeb ... te-client/
Note: If you do not have privileges on the machine you are on, you may add the “sudo” command

LIFE
Posts: 4
Joined: Sat Mar 24, 2018 5:19 pm

Re: cannot install and uninstall noip-duc-linux.tar.gz

Sun Mar 25, 2018 3:17 am

KLL wrote:
Sun Mar 25, 2018 2:00 am
https://www.noip.com/support/knowledgeb ... pberry-pi/
https://www.noip.com/support/knowledgeb ... te-client/
Note: If you do not have privileges on the machine you are on, you may add the “sudo” command
thanks for the reply.
refer to this: https://www.noip.com/support/knowledgeb ... pberry-pi/
It stuck on here.

Code: Select all

pi@raspberrypi:~/noip $ wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
--2018-03-25 10:58:53--  http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
Resolving www.no-ip.com (www.no-ip.com)... 8.23.224.110
Connecting to www.no-ip.com (www.no-ip.com)|8.23.224.110|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.noip.com/client/linux/noip-duc-linux.tar.gz [following]
--2018-03-25 10:58:53--  http://www.noip.com/client/linux/noip-duc-linux.tar.gz
Resolving www.noip.com (www.noip.com)... 8.23.224.107
Connecting to www.noip.com (www.noip.com)|8.23.224.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 134188 (131K) [application/x-gzip]
Saving to: ‘noip-duc-linux.tar.gz.3’

noip-duc-linux.tar. 100%[=====================>] 131.04K   214KB/s   in 0.6s   

2018-03-25 10:58:54 (214 KB/s) - ‘noip-duc-linux.tar.gz.3’ saved [134188/134188]

pi@raspberrypi:~/noip $ tar vzxf noip-duc-linux-tar.gz.3
tar (child): noip-duc-linux-tar.gz.3: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
pi@raspberrypi:~/noip $ tar vzxf noip-duc-linux-tar.gz
tar (child): noip-duc-linux-tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
pi@raspberrypi:~/noip $ 
refer to this: https://www.noip.com/support/knowledgeb ... te-client/
It stuck on here.

Code: Select all

pi@raspberrypi:~ $ cd /usr/local/src
pi@raspberrypi:/usr/local/src $ wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
--2018-03-25 11:10:56--  http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
Resolving www.no-ip.com (www.no-ip.com)... 8.23.224.110
Connecting to www.no-ip.com (www.no-ip.com)|8.23.224.110|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.noip.com/client/linux/noip-duc-linux.tar.gz [following]
--2018-03-25 11:10:57--  http://www.noip.com/client/linux/noip-duc-linux.tar.gz
Resolving www.noip.com (www.noip.com)... 8.23.224.107
Connecting to www.noip.com (www.noip.com)|8.23.224.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 134188 (131K) [application/x-gzip]
noip-duc-linux.tar.gz.2: Permission denied

Cannot write to ‘noip-duc-linux.tar.gz.2’ (Permission denied).
pi@raspberrypi:/usr/local/src $ tar xzf noip-duc-linux.tar.gz
tar: ./._noip-2.1.9-1: Cannot open: File exists
tar: noip-2.1.9-1/._binaries: Cannot open: File exists

What should I do, please suggest.
I am thinking may be I should clean the SD card and install the Raspbian again.

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: cannot install and uninstall noip-duc-linux.tar.gz

Sun Mar 25, 2018 3:39 am

LIFE wrote:
Sun Mar 25, 2018 3:17 am
I am thinking may be I should clean the SD card and install the Raspbian again.
i not see anything what would require that. but if you doubt your system you would feel better.

i not want to do the install, but i do

mkdir /home/pi/noip
cd /home/pi/noip
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
tar vzxf noip-duc-linux.tar.gz
cd noip-2.1.9-1
sudo make

Code: Select all

pi@RPI3:~ $ mkdir /home/pi/noip
pi@RPI3:~ $ cd /home/pi/noip
pi@RPI3:~/noip $ wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
--2018-03-25 10:35:59--  http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
Resolving www.no-ip.com (www.no-ip.com)... 8.23.224.110
Connecting to www.no-ip.com (www.no-ip.com)|8.23.224.110|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.noip.com/client/linux/noip-duc-linux.tar.gz [following]
--2018-03-25 10:36:00--  http://www.noip.com/client/linux/noip-duc-linux.tar.gz
Resolving www.noip.com (www.noip.com)... 8.23.224.107
Connecting to www.noip.com (www.noip.com)|8.23.224.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 134188 (131K) [application/x-gzip]
Saving to: ‘noip-duc-linux.tar.gz’

noip-duc-linux.tar.gz    100%[==================================>] 131.04K  77.4KB/s    in 1.7s    

2018-03-25 10:36:03 (77.4 KB/s) - ‘noip-duc-linux.tar.gz’ saved [134188/134188]

pi@RPI3:~/noip $ tar vzxf noip-duc-linux.tar.gz
./._noip-2.1.9-1
noip-2.1.9-1/
noip-2.1.9-1/._binaries
noip-2.1.9-1/binaries/
noip-2.1.9-1/binaries/._noip2-i686
noip-2.1.9-1/binaries/noip2-i686
noip-2.1.9-1/binaries/._noip2-x86_64
noip-2.1.9-1/binaries/noip2-x86_64
noip-2.1.9-1/._COPYING
noip-2.1.9-1/COPYING
noip-2.1.9-1/._debian.noip2.sh
noip-2.1.9-1/debian.noip2.sh
noip-2.1.9-1/._gentoo.noip2.sh
noip-2.1.9-1/gentoo.noip2.sh
noip-2.1.9-1/._LEEME.PRIMERO
noip-2.1.9-1/LEEME.PRIMERO
noip-2.1.9-1/._LIESMICH.ERST.deutsch
noip-2.1.9-1/LIESMICH.ERST.deutsch
noip-2.1.9-1/._LISEZMOI.ENPREMIER
noip-2.1.9-1/LISEZMOI.ENPREMIER
noip-2.1.9-1/._mac.osx.startup
noip-2.1.9-1/mac.osx.startup
noip-2.1.9-1/._Makefile
noip-2.1.9-1/Makefile
noip-2.1.9-1/._noip2.c
noip-2.1.9-1/noip2.c
noip-2.1.9-1/._README.FIRST
noip-2.1.9-1/README.FIRST
noip-2.1.9-1/._README.FIRST-SWE
noip-2.1.9-1/README.FIRST-SWE
noip-2.1.9-1/._README.FIRST.FRANCAIS
noip-2.1.9-1/README.FIRST.FRANCAIS
noip-2.1.9-1/._README.FIRST.ITALIANO
noip-2.1.9-1/README.FIRST.ITALIANO
noip-2.1.9-1/._README.FIRST.JAPANESE
noip-2.1.9-1/README.FIRST.JAPANESE
noip-2.1.9-1/._README.FIRST.pt_BR
noip-2.1.9-1/README.FIRST.pt_BR
noip-2.1.9-1/._README.FIRST_PT
noip-2.1.9-1/README.FIRST_PT
noip-2.1.9-1/._redhat.noip.sh
noip-2.1.9-1/redhat.noip.sh
pi@RPI3:~/noip $ cd noip-2.1.9-1
pi@RPI3:~/noip/noip-2.1.9-1 $ sudo make
gcc -Wall -g -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2 
noip2.c: In function ‘dynamic_update’:
noip2.c:1595:6: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
  int i, x, is_group, retval, response;
      ^
noip2.c: In function ‘domains’:
noip2.c:1826:13: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
         int x;
             ^
noip2.c: In function ‘hosts’:
noip2.c:1838:20: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
         int     x, y, z;
                    ^
pi@RPI3:~/noip/noip-2.1.9-1 $ 
and it looks good so far

User avatar
Paeryn
Posts: 2987
Joined: Wed Nov 23, 2011 1:10 am
Location: Sheffield, England

Re: cannot install and uninstall noip-duc-linux.tar.gz

Sun Mar 25, 2018 3:46 am

LIFE wrote:
Sun Mar 25, 2018 3:17 am

Code: Select all

pi@raspberrypi:~/noip $ wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
Saving to: ‘noip-duc-linux.tar.gz.3’
pi@raspberrypi:~/noip $ tar vzxf noip-duc-linux-tar.gz.3
tar (child): noip-duc-linux-tar.gz.3: Cannot open: No such file or directory
What should I do, please suggest.
Maybe try extracting using the exact file name that was saved. tar was very explicitly telling you that the file you were trying to untar didn't exist. If you look you downloaded a file named noip-duc-linux.tar.gz (wget saved it with an extra .3 at the end since you probably downloaded the file multiple times) but when you try to untar it you used noip-duc-linux-tar.gz.3, you changed the period just before tar into a hyphen. You did that in your first post as well (where you used -tar-gz instead of .tar.gz).
She who travels light — forgot something.

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: cannot install and uninstall noip-duc-linux.tar.gz

Sun Mar 25, 2018 4:18 am

and for working at
cd /usr/local/src
you can do a
ls -la
and you will see that that path belongs to root...
so anything you do there requires
sudo ...

so if you happen to create files there you should delete them first

LIFE
Posts: 4
Joined: Sat Mar 24, 2018 5:19 pm

Re: cannot install and uninstall noip-duc-linux.tar.gz

Sun Mar 25, 2018 5:12 am

Thanks for your help, KLL and Paeryn
Suddenly it works, strange

Another problem was my pivpn profile was not working on my Android, may be I should start a new post.

User avatar
lordvader89a
Posts: 3
Joined: Wed Jun 13, 2018 7:53 pm

Re: cannot install and uninstall noip-duc-linux.tar.gz

Wed Jun 13, 2018 8:01 pm

Well, for me it worked fine too, until i tried "sudo make install"
Everything works as intended until "sudo make" (works fine) but "sudo make install" always returns with this following message

Code: Select all

~/noip/noip-2.1.9-1 $ sudo make install
the result is:

Code: Select all

if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi
if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi
cp noip2 /usr/local/bin/noip2
cp: reguläre Datei '/usr/local/bin/noip2' kann nicht angelegt werden: Das Programm kann nicht ausgeführt oder verändert werden (busy)
Makefile:28: die Regel für Ziel „install“ scheiterte
make: *** [install] Fehler 1
As you can see (sorry that it's in German), noip2 cant be created, because the program cant be executed/edited (busy).

when running without sudo, it just says permission denied :/

Return to “Beginners”