Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Installing local or web site rpm file with zypper.

  1. #1
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,020

    Default Installing local or web site rpm file with zypper.

    Hello.

    I would like to install nxclient ( from no machine ) from a shell script.

    I can install it from nomachine site http://64.34.161.181/download/3.5.0/...0-7.x86_64.rpm or from my local directory /local/install_rpm.

    I am unable to install it with zypper.
    Code:
    zypper info /local/install_rpm/nxclient-3.5.0-7.x86_64.rpm
    and
    Code:
    zypper install  /local/install_rpm/nxclient-3.5.0-7.x86_64.rpm
    give file not found.

    I am unable to install it with zypper.
    Code:
    zypper info http://64.34.161.181/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.rpm
    and
    Code:
    zypper install  http://64.34.161.181/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.rpm
    give file not found.


    Help is appreciate.
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Question Re: Installing local or web site rpm file with zypper.

    Quote Originally Posted by jcdole View Post
    Hello.

    I would like to install nxclient ( from no machine ) from a shell script.

    I can install it from nomachine site http://64.34.161.181/download/3.5.0/...0-7.x86_64.rpm or from my local directory /local/install_rpm.

    I am unable to install it with zypper.
    Code:
    zypper info /local/install_rpm/nxclient-3.5.0-7.x86_64.rpm
    and
    Code:
    zypper install  /local/install_rpm/nxclient-3.5.0-7.x86_64.rpm
    give file not found.

    I am unable to install it with zypper.
    Code:
    zypper info http://64.34.161.181/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.rpm
    and
    Code:
    zypper install  http://64.34.161.181/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.rpm
    give file not found.


    Help is appreciate.
    Why not download all three rpm files as suggested and use their method given to install them as suggested in its readme file?

    RPM version

    Download the RPMs
    Change your working directory to the location where you saved the package and install it by running from a console:

    Code:
    # sudo rpm -i nxclient-3.5.0-7.x86_64.rpm
    # sudo rpm -i nxnode-3.5.0-7.x86_64.rpm
    # sudo rpm -i nxserver-3.5.0-9.x86_64.rpm
    If you don't have the sudo utility installed, log on as superuser ("root") and run the commands without sudo.
    Note: click here for detailed instructions on how to install the NX Client, NX Node and NX Server packages. The NX service can be controlled by the command /usr/NX/bin/nxserver --status|--start|--stop|--restart. Additional commands are available to configure the server. Try /usr/NX/bin/nxserver --help for more information. Please, don't forget to download and read the NX Server Administrator's Guide available here.
    I don't see anything wrong with your commands, but I might just use the method given by the Nomachine folks instead.

    Thank You,
    Last edited by jdmcdaniel3; 04-May-2012 at 16:46.
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: Installing local or web site rpm file with zypper.

    Code:
    wget  http://64.34.161.181/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.rpm && zypper in nxclient-3.5.0-7.x86_64.rpm

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Installing local or web site rpm file with zypper.

    Quote Originally Posted by please_try_again View Post
    Code:
    wget  http://64.34.161.181/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.rpm && zypper in nxclient-3.5.0-7.x86_64.rpm
    OR

    Code:
    su - ; wget http://64.34.161.181/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.rpm && zypper in nxclient-3.5.0-7.x86_64.rpm
    Just in case you are not running the command as root already.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,851

    Default Re: Installing local or web site rpm file with zypper.

    Quote Originally Posted by jcdole View Post
    I am unable to install it with zypper.
    Code:
    zypper info /local/install_rpm/nxclient-3.5.0-7.x86_64.rpm
    give file not found.
    Just a general remark on your report here.

    Why do you not show the complete output of that zypper command so we can see for ourselves what the error is. Only copy/paste a few lines more and we have all in one.

    When I get a "file not found" error on any program, I either:
    . tear my hear out and redress my typo;
    . or do not understand it and the do an ls -l of the file to see for myself.
    You did not report one of the possibilties above. Why do we not see the output of
    Code:
    ls -l /local/install_rpm/nxclient-3.5.0-7.x86_64.rpm
    to prove that you are correct and zypper is wrong?
    (BTW, most systems do not have a /local).
    Henk van Velden

  6. #6
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,020

    Default Re: Installing local or web site rpm file with zypper.

    Quote Originally Posted by hcvv View Post
    Just a general remark on your report here.

    Why do you not show the complete output of that zypper command so we can see for ourselves what the error is. Only copy/paste a few lines more and we have all in one.

    When I get a "file not found" error on any program, I either:
    . tear my hear out and redress my typo;
    . or do not understand it and the do an ls -l of the file to see for myself.
    You did not report one of the possibilties above. Why do we not see the output of
    Code:
    ls -l /local/install_rpm/nxclient-3.5.0-7.x86_64.rpm
    to prove that you are correct and zypper is wrong?
    (BTW, most systems do not have a /local).
    Code:
    linux:/local/zypper_install # ls -al
    total 4568
    drwxr-xr-x 2 root root    4096 May  4 22:27 .
    drwxr-xr-x 4 root root    4096 May  4 21:56 ..
    -rw-r--r-- 1 root root 4665824 Apr 25 18:56 nxclient-3.5.0-7.x86_64.rpm
    linux:/local/zypper_install #
    Code:
    linux:/local/zypper_install # zypper --help
      Usage:
            zypper [--global-options] <command> [--command-options] [arguments]
    
      Global Options:
            --help, -h              Help.
    ....
    ....
    ....
    
         Querying:
            info, if                Show full information for specified packages.
    
    ....
    ....
    ....
    
    Type 'zypper help <command>' to get command-specific help.
    linux:/local/zypper_install #
    Code:
    linux:/local/zypper_install # zypper info ./nxclient-3.5.0-7.x86_64.rpm
    Loading repository data...
    Reading installed packages...
    
    
    package './nxclient-3.5.0-7.x86_64.rpm' not found.
    linux:/local/zypper_install #
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,851

    Default Re: Installing local or web site rpm file with zypper.

    Which proves that I did not ask this for nothing. The error is not as you told "file not found", but "package not found". Which may point to something quite different like: the file is there, but it does not contain a true RPM package.
    Henk van Velden

  8. #8
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,020

    Default Re: Installing local or web site rpm file with zypper.

    Quote Originally Posted by jdmcdaniel3 View Post
    Why not download all three rpm files as suggested and use their method given to install them as suggested in its readme file?
    I don't see anything wrong with your commands, but I might just use the method given by the Nomachine folks instead.
    Thank You,
    I try to use yast2/zypper as often as possible as I was recommended to do so by
    gogalthorp and hcvv. a few years ago in http://forums.opensuse.org/forums/en...iguration.html

    I try to automate this task.
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Installing local or web site rpm file with zypper.

    On 2012-05-05 12:26, hcvv wrote:
    >
    > Which proves that I did not ask this for nothing. The error is not as
    > you told "file not found", but "package not found". Which may point to
    > something quite different like: the file is there, but it does not
    > contain a true RPM package.


    No, zypper is trying to find that exact package remotely in the configured
    repos. I don't know if you can do that directly on a local file, but the
    trick is to create a local repository of type "directory", containing the
    directory, and then try again.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  10. #10
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,020

    Default Re: Installing local or web site rpm file with zypper.

    Quote Originally Posted by hcvv View Post
    Which proves that I did not ask this for nothing. The error is not as you told "file not found", but "package not found". Which may point to something quite different like: the file is there, but it does not contain a true RPM package.
    but it does not contain a true RPM package
    What do you mean ?

    Do you think that NoMachine company provides false RPM package?
    Or do you think that the "zypper info option" is inappropriate for a RPM package in a zypper script ?

    This package install fine with yast2 (right click on the file and choose "open with" -> "install / remove")

    I just want to automate this task without using "rpm -i" which is supposed a bad way ?
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •