Results 1 to 7 of 7

Thread: How to zypper in from specific repo?

  1. #1

    Default How to zypper in from specific repo?

    I don't know what I'm doing wrong here.
    "sudo zypper in kde4-k3b --repo Packman" returns "'-repo' is not a valid package or capability name."
    "sudo zypper in kde4-k3b -r 6" returns
    "'r' not found.
    '6' not found.
    Resolving package dependencies...

    The following NEW package is going to be installed:
    kde4-k3b"
    As far as I can understand from the man page, this is supposed to work.
    "zypper se kde4-k3b --repo Packman" works pretty much as I expected.
    Using the install software gui, I see on the versions tab that the ONLY version is the packman one.
    I realize I could use the gui or just "sudo zypper in kde4-k3b kde4-k3b-codecs", but I want to know what I'm doing wrong or if this simply doesn't work as it seems to say it will in the manpage.
    Yep, my packman repo is #6 aliased Packman.

  2. #2
    Join Date
    Jul 2009
    Location
    Rio de Janeiro - Brazil
    Posts
    51

    Default Re: How to zypper in from specific repo?

    I don't know if it helps, but I found these examples:

    zypper in amarok packman:libxine1 # install libxine1 from packman and amarok from any repo

    sudo zypper in education:bluefish
    openSUSE 11.2 | KDE 4.3.4
    flickr.com/photos/schaller
    flaviaschaller.carbonmade.com

  3. #3
    Join Date
    Mar 2008
    Location
    Bochum, Germany
    Posts
    3,587

    Default Re: How to zypper in from specific repo?

    Try
    zypper install -r 25 kde4-k3b
    instead. The command (install) and the command option (-r / --repo) must be placed in front of the argument (kde4-k3b)

    HTH
    Uwe

  4. #4

    Default Re: How to zypper in from specific repo?

    Thank you.
    I found sudo zypper in --repo Packman kde4-k3b kde4-k3b-codecs" worked with no error messages. I thought I had tried every permutation.
    I'll experiment with your suggestions, tho.
    I guess I should install something available from more than one repo to verify.

  5. #5
    Join Date
    Jul 2009
    Location
    Rio de Janeiro - Brazil
    Posts
    51

    Default Re: How to zypper in from specific repo?

    Yes, I think the repo name has to come first.
    openSUSE 11.2 | KDE 4.3.4
    flickr.com/photos/schaller
    flaviaschaller.carbonmade.com

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: How to zypper in from specific repo?

    Zypper/Usage/11.1 - openSUSE

    and of course

    Code:
    man zypper
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7

    Default Re: How to zypper in from specific repo?

    Yes. Looking at the man page again...what I overlooked is..
    install (in) [options] <name|capability|rpm_file_uri> ...
    while for list updates it's
    list-updates (lu) [options]
    and I use "zypper lu -r" alot. Trained my brain wrong.
    Thanks again, guys.

Posting Permissions

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