Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: YOU: How to add aditional packages?

  1. #21

    Default Re: YOU: How to add aditional packages?

    VampirD, I got your point and thanks for the createrepo.
    I tried it previously, but without success.
    Neither cnf createrepo neither updatedb + locate createrepo could find it. Don't know why.


    Malcom, THANK YOU! {:
    I didn't overlooked it, it is set to plain rpm directory since beginning, but your point helped me a lot.

    I tried to install with those lines, once each:
    Code:
    zypper in *
    zypper in adobe
    zypper in AdobeReader_ptb-8.1.7-1.i486.rpm
    And nothing was working. Then [#I bashed my head a little#] cleared my head, and tried again.

    Code:
    zypper in adobe*
    zypper in AdobeReader_ptb
    And both worked.
    This is good. But can [#you#] we make this great, instead?

    There is a way for zypper install everything inside it's repository folder, like my dreaming "zypper in *"?

    Both openOffice and nfs-kernel-server [the other 2 packages inside my repository for testing] worked with direct command:

    Code:
    zypper in openoffice*
    zypper nfs-kernel-server
    But it'd be great if I could install both at once with a single "zypper in *".

    If there is no way, I can create a file with commands line for each package to be installed, then run it with cron... but it sounds a big workaround/messy thing to do.

    Thank you all for everything, people.
    {;

  2. #22
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,588
    Blog Entries
    15

    Default Re: YOU: How to add aditional packages?

    Quote Originally Posted by Natsuiro
    VampirD, I got your point and thanks for the createrepo.
    I tried it previously, but without success.
    Neither cnf createrepo neither updatedb + locate createrepo could find
    it. Don't know why.


    Malcom, THANK YOU! {:
    I didn't overlooked it, it is set to plain rpm directory since
    beginning, but your point helped me a lot.

    I tried to install with those lines, once each:

    Code:
    --------------------
    zypper in *
    zypper in adobe
    zypper in AdobeReader_ptb-8.1.7-1.i486.rpm
    --------------------


    And nothing was working. Then I bashed my head a little cleared
    my head, and tried again.


    Code:
    --------------------
    zypper in adobe*
    zypper in AdobeReader_ptb
    --------------------


    And both worked.
    This is good. But can you we make this great, instead?

    There is a way for zypper install everything inside it's repository
    folder, like my dreaming "zypper in *"?

    Both openOffice and nfs-kernel-server [the other 2 packages inside my
    repository for testing] worked with direct command:


    Code:
    --------------------
    zypper in openoff*
    zypper nfs-kernel-server
    --------------------


    But it'd be great if I could install both at once with a single "zypper
    in *".

    If there is no way, I can create a file with commands line for each
    package to be installed, then run it with cron... but it sounds a big
    workaround/messy thing to do.

    Thank you all for everything, people.
    {;
    Hi
    You can do it all as one line;
    Code:
    zypper in --from <your_local_repo_name(also called alias)> --name=*
    Have a look at the man page for zypper in the 'install' part as there
    are many ways to use it.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
    up 8:21, 3 users, load average: 1.49, 0.83, 0.50
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15


  3. #23
    JosephKK NNTP User

    Default Re: YOU: How to add aditional packages?

    On Tue, 13 Apr 2010 18:16:02 GMT, Natsuiro <Natsuiro@no-mx.forums.opensuse.org> wrote:

    >
    >Wow, thanks for the answers {:
    >
    >So, let me report my advance... or better, my actual status, 'cuz I
    >think it's getting very confusing reading all the topic. And sorry for
    >the 'terminal' thing, it's kinda a language slang, I think. I'll use
    >'clients' for those pcs now.
    >
    >Btw, I had it working way easier than before thought ._.
    >
    >
    >I have 3 pcs: 1 server, 2 clients. [I had a second client working just
    >to be sure]
    >
    >Server is running nfs server, clients are running nfs client.
    >
    >nfs is working fine. All the files in the 'shared' folder at server are
    >showing up on the 2 clients.
    >This was the only way I could make zypper to add the local repository,
    >with a
    >
    >
    >Code:
    >--------------------
    > zypper ar /folder/ local
    >--------------------
    >
    >
    >command.
    >
    >Therefore, the other repositories were deleted on clients, so they can
    >only connect to my local server.
    >
    >
    >So, I succeeded? Almost!
    >
    >I added 3 rpms to my folder, to feed zypper. Those are: openOffice,
    >Adobe Reader and nfs-kernel-server. [For test purposes].
    >
    >Result: Clients can only 'see' nfs-kernel-server, even after cache
    >clean and refresh.
    >
    >Why?
    >
    >I read some articles about zypper and thought that he could install
    >those 'non-official' packages for SuSE, so why can't it install/see the
    >other packages [openOffice and Adobe Reader]?
    >
    >
    >
    >Even if this need to use command lines for zypper, that is nothing that
    >a cron can manage, right?
    >
    >..right?
    >
    >
    >And a curiosity: why this only works after a firewall stop on both
    >server and client?
    >Even after opening 2049 ports, it dont let nfs work without the stop.
    >
    >
    >I am really thankful for the attention you people are giving to
    >me.


    Just a silly question, did you add the repositories to the client
    machine repository configuration? Mere visibility will not add them.

  4. #24

    Default Re: YOU: How to add aditional packages?

    @JosephKK:
    Yup!
    Using
    Code:
    zyper ar /usr/nfs/Updates Local
    and checked it using Yast. It`s there, as rpm folder.



    @malcolmlewis:
    Even if it only have one repository, should I use --from?



    Well, some new problems.
    The
    Code:
    zypper in --from Local --name *
    returns:

    Code:
    Desktop not found
    bin not found
    documents not found
    download not found
    images not found
    public_html not found
    public not found
    videos not found

    Code:
    zypper wp nfs-kernel-server
    zypper pa
    Both of them works fine, showing what was expected.


    Code:
    zypper in --from Local --name /src/nfs/Updates/opensuse/update/11.2/*
    Did this test out of curiosity, then this reported back:


    Code:
    audacity=0:1.0.0-2 not found
    nfs-kernel-server=0.1.1.0-8 not found
    smart=0:1.3-2.1 not found
    Those packages I downloaded for test purposes. They show with zypper wp and zypper pa, install with zypper in audacity, zypper in nfs-kernel-server and zypper in smart, respectivly.
    But if I try with with * or --name *, it gives me that bizarre answer.


    Thank you for still reading and posting on this thread.

  5. #25
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,588
    Blog Entries
    15

    Default Re: YOU: How to add aditional packages?

    Quote Originally Posted by Natsuiro
    @malcolmlewis:
    Even if it only have one repository, should I use --from?

    Thank you for still reading and posting on this thread.
    Hi
    You probably don't even need to add the repository, delete the
    repository you added, then try;
    Code:
    zypper in /usr/nfs/Updates/*.rpm
    I must admit I didn't check the command out myself so I'm not sure. Try
    the above one and see how that goes. Use the -D switch so it's just a
    dry run though.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
    up 1 day 2:01, 3 users, load average: 1.36, 0.83, 0.50
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15


  6. #26

    Default Re: YOU: How to add aditional packages?

    Looking at my 'initial project', I can't believe you people could help me so much that it could transform and join the KISS principle.

    @malcolmlewis:
    Yup, it worked! This make all the process even more simple!

    Thank you all, sincerely.


    Ah, and just to make this topic a big [SOLVED] one: why even if I set NFS Client as a open port at SuSEFirewall, it never opens?
    First tried with the NFS Client, normally. Then manually in Advanced option, opened TCP/UDP/RPC 111 and 2049 ports. Restarted Firewall and with a check [rpcinfo -p localhost], it was not there.

    Strangely, I tried a few times on another openSuse and it opened.

    It's a bug?

  7. #27
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,588
    Blog Entries
    15

    Default Re: YOU: How to add aditional packages?

    Quote Originally Posted by Natsuiro
    Looking at my 'initial project', I can't believe you people could help
    me so much that it could transform and join the KISS principle.

    @malcolmlewis:
    Yup, it worked! This make all the process even more simple!

    Thank you all, sincerely.


    Ah, and just to make this topic a big [SOLVED] one: why even if I set
    NFS Client as a open port at SuSEFirewall, it never opens?
    First tried with the NFS Client, normally. Then manually in Advanced
    option, opened TCP/UDP/RPC 111 and 2049 ports. Restarted Firewall and
    with a check [rpcinfo -p localhost], it was not there.

    Strangely, I tried a few times on another openSuse and it opened.

    It's a bug?
    Hi
    Glad you have it sorted Don't forget to add the necessary switches
    for accepting 'yes to licenses' (-l switch or
    --auto-agree-with-licenses)

    Are you sure you have the rpcbind service running?

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
    up 1 day 3:18, 3 users, load average: 1.08, 0.85, 0.55
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15


  8. #28

    Default Re: YOU: How to add aditional packages?

    Code:
    rpcbind
    rpcbind: another rpcbind is already running. Abortin
    This is what happens. Dunno if it's this way, through.
    For testing purposes, I ran this:

    Code:
    rcnfs stop
    killall rpcbind
    rpcbind
    rcnfs start
    And still the same port error.

    A rpcinfo -p localhost returns:
    Code:
       program vers proto   port  service
        100000    4   tcp    111  portmapper
        100000    3   tcp    111  portmapper
        100000    2   tcp    111  portmapper
        100000    4   udp    111  portmapper
        100000    3   udp    111  portmapper
        100000    2   udp    111  portmapper
        100024    1   udp  50663  status
        100024    1   tcp  59813  status
        100021    1   udp  59384  nlockmgr
        100021    3   udp  59384  nlockmgr
        100021    4   udp  59384  nlockmgr
        100021    1   tcp  47669  nlockmgr
        100021    3   tcp  47669  nlockmgr
        100021    4   tcp  47669  nlockmgr


    Don't know what is happening, srsly. It's the third time I reinstall/format the client for a couple of tests, but still have the same error with port.

    Thank you for your attention.

Page 3 of 3 FirstFirst 123

Tags for this Thread

Posting Permissions

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