Results 1 to 5 of 5

Thread: prevent an update from being installed (zypper package locks)

  1. #1
    Join Date
    Jun 2008
    Location
    Belgium
    Posts
    45

    Question prevent an update from being installed (zypper package locks)

    Hi,

    everytime I run "zypper up -t patch", I get the following:
    Code:
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    Problem: patch:kde-4.3.5-1974.noarch conflicts with libkdcraw7.i586 < 4.3.5-0.2.1 provided by libkdcraw7-4.3.4-1.3.i586
     Solution 1: Following actions will be done:
      install libkdcraw7-4.3.5-0.2.1.i586 (with vendor change)
        obs://build.opensuse.org/KDE  -->  openSUSE
      install libkexiv2-7-4.3.5-0.2.1.i586 (with vendor change)
        obs://build.opensuse.org/KDE  -->  openSUSE
      install libkipi6-4.3.5-0.2.1.i586 (with vendor change)
        obs://build.opensuse.org/KDE  -->  openSUSE
      install libknotificationitem-1-1-4.3.5-0.1.1.i586 (with vendor change)
        obs://build.opensuse.org/KDE  -->  openSUSE
     Solution 2: do not install patch:kde-4.3.5-1974.noarch
    
    Choose from above solutions by number or cancel [1/2/c] (c):
    This patch is coming from the update repo but since I run the latest kde I don't need this patch (also I don't understand why I get this patch offered when it does not match my current version).

    So I tried to disable this patch by adding a lock. No matter what lock(s) I try, it does not work with zypper yet Yast does honor my lock requests! However, most of the time I update using zypper, so it's quite annoying.

    Here is a yast screenshot proving it honors my lock request:


    Here are all the locks I tried:
    Code:
    type: patch
    match_type: exact
    case_sensitive: on
    solvable_name: kde-4.3.5
    
    
    type: package
    match_type: glob
    case_sensitive: on
    solvable_name: kde-4.3.5*
    
    
    type: package
    match_type: glob
    case_sensitive: on
    solvable_name: kde-4.3.5-1974.noarch
    
    type: package
    match_type: glob
    case_sensitive: off
    solvable_name: kde* < 4.4
    Here are my repo's:
    Code:
    #  | Alias                                                                    | Name                                                                     | Enabled | Refresh | Priority | Type   | URI                                                                                                | Service
    ---+--------------------------------------------------------------------------+--------------------------------------------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------------------------------------+--------
    1  | Education                                                                | Education                                                                | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_11.2/                                 |        
    2  | Emulators:Wine                                                           | Emulators:Wine                                                           | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.2/                           |        
    3  | Libdvdcss repository                                                     | Libdvdcss repository                                                     | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/11.2/                                                               |        
    4  | Packman Repository                                                       | Packman Repository                                                       | Yes     | Yes     |   99     | rpm-md | http://ftp.skynet.be/pub/packman/suse/11.2/                                                        |        
    5  | devel:languages:perl                                                     | devel:languages:perl                                                     | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.2/                    |        
    6  | download.nvidia.com-opensuse                                             | NVIDIA Repository                                                        | Yes     | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/11.2/                                                           |        
    7  | google-chrome                                                            | google-chrome                                                            | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/rpm/stable/i386                                                         |        
    8  | http-download.opensuse.org-4a096423                                      | Updates for openSUSE 11.2-0                                              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.2/                                                          |        
    9  | http://download.opensuse.org/repositories/home:/perosb/openSUSE_11.2     | http://download.opensuse.org/repositories/home:/perosb/openSUSE_11.2     | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/perosb/openSUSE_11.2                               |        
    10 | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_11.2 | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_11.2 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_11.2                           |        
    11 | multimedia:apps                                                          | multimedia:apps                                                          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_11.2/                          |        
    12 | multimedia:libs                                                          | multimedia:libs                                                          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.2/                          |        
    13 | openSUSE 11.2 KDE Factory Community                                      | openSUSE 11.2 KDE Factory Community                                      | Yes     | Yes     |   97     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2_KDE4_Factory_Desktop/ |        
    14 | openSUSE 11.2 KDE Factory Desktop                                        | openSUSE 11.2 KDE Factory Desktop                                        | Yes     | Yes     |   97     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.2/               |        
    15 | openSUSE 11.2-0                                                          | openSUSE 11.2-0                                                          | No      | No      |   99     | yast2  | cd:///                                                                                             |        
    16 | openSUSE:11.2:Contrib                                                    | openSUSE:11.2:Contrib                                                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.2:/Contrib/standard/                        |        
    17 | repo-debug                                                               | openSUSE-11.2-Debug                                                      | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/11.2/repo/oss/                                     |        
    18 | repo-non-oss                                                             | openSUSE-11.2-Non-Oss                                                    | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/non-oss/                                       |        
    19 | repo-oss                                                                 | openSUSE-11.2-Oss                                                        | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/oss/                                           |        
    20 | repo-source                                                              | openSUSE-11.2-Source                                                     | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.2/repo/oss/                                    |
    Am I missing something?

    thanks
    matthias

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

    Default Re: prevent an update from being installed (zypper package locks)

    You should do this on the kde repos
    ImageBam - Fast, Free Image Hosting and Photo Sharing
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    Belgium
    Posts
    45

    Default Re: prevent an update from being installed (zypper package locks)

    thanks for the tip, but it does not make any difference, the message stays

    I don't understand why the lock works in yast, but not in zypper..

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

    Default Re: prevent an update from being installed (zypper package locks)

    Which repo is actually offering this patch? Use the versions tab in software management to check.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    jkupec NNTP User

    Default Re: prevent an update from being installed (zypper package locks)

    There's nothing wrong with your approach. It's just that you have hit bug 420606

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
  •