Results 1 to 4 of 4

Thread: zypper install package and break dependencies

  1. #1

    Default zypper install package and break dependencies

    Hi all,

    is ist possible to use zypper in interactive mode and install a package and break dependencies?

    # zypper -n install git-core

    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...

    Problem: git-core-1.8.4.5-3.4.1.i586 requires openssh, but this requirement cannot be provided
    uninstallable providers: openssh-6.2p2-3.1.2.i586[openSUSE-13.1-1.10]
    openssh-6.2p2-3.1.2.i586[repo-oss]
    openssh-6.2p2-3.4.1.i586[repo-update]
    Solution 1: do not forbid installation of openssh-6.2p2-3.4.1.i586[repo-update]
    Solution 2: do not forbid installation of openssh-6.2p2-3.1.2.i586[repo-oss]
    Solution 3: do not forbid installation of openssh-6.2p2-3.1.2.i586[openSUSE-13.1-1.10]
    Solution 4: do not install git-core-1.8.4.5-3.4.1.i586
    Solution 5: break git-core-1.8.4.5-3.4.1.i586 by ignoring some of its dependencies

    Choose from above solutions by number or cancel [1/2/3/4/5/c] (c): c

    In this case I dont want to install openssh, but install git-core. All that in interactive mode.

    Unfortunately zypper automatically selects 'cancel'

    Does anyone know a solution for that?

  2. #2

    Default Re: zypper install package and break dependencies

    On 12/10/2014 04:36 PM, taich wrote:
    >
    > Hi all,
    >
    > is ist possible to use zypper in interactive mode and install a package
    > and break dependencies?
    >
    > # zypper -n install git-core
    >
    > Loading repository data...
    > Reading installed packages...
    > Resolving package dependencies...
    >
    > Problem: git-core-1.8.4.5-3.4.1.i586 requires openssh, but this
    > requirement cannot be provided
    > uninstallable providers: openssh-6.2p2-3.1.2.i586[openSUSE-13.1-1.10]
    > openssh-6.2p2-3.1.2.i586[repo-oss]
    > openssh-6.2p2-3.4.1.i586[repo-update]
    > Solution 1: do not forbid installation of
    > openssh-6.2p2-3.4.1.i586[repo-update]
    > Solution 2: do not forbid installation of
    > openssh-6.2p2-3.1.2.i586[repo-oss]
    > Solution 3: do not forbid installation of
    > openssh-6.2p2-3.1.2.i586[openSUSE-13.1-1.10]
    > Solution 4: do not install git-core-1.8.4.5-3.4.1.i586
    > Solution 5: break git-core-1.8.4.5-3.4.1.i586 by ignoring some of its
    > dependencies
    >
    > Choose from above solutions by number or cancel [1/2/3/4/5/c] (c): c
    >
    > In this case I dont want to install openssh, but install git-core. All
    > that in interactive mode.
    >
    > Unfortunately zypper automatically selects 'cancel'
    >
    > Does anyone know a solution for that?
    >
    >


    Hit the backspace key and then select the option you want.

    Ken

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,461
    Blog Entries
    2

    Default Re: zypper install package and break dependencies

    You might want to make sure you have your main update repo enabled and then do a "zypper update" to sync all your packages. Your git-core package will then be able to find compatible dependencies.

    Typically a useful thing to do is always run the following before installing a new app
    Code:
    zypper update
    TSU

  4. #4

    Default Re: zypper install package and break dependencies

    Quote Originally Posted by taich View Post
    is ist possible to use zypper in interactive mode and install a package and break dependencies?

    # zypper -n install git-core
    You're actually running it in non-interactive mode...
    Omit the '-n' and you should be able to select an option.

    From "zypper --help":
    Code:
           --non-interactive, -n   Do not ask anything, use default answers
                                                    automatically.

Posting Permissions

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