Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Maintaining a good repository

  1. #1
    Join Date
    Jan 2013
    Location
    Brazil
    Posts
    327

    Default Maintaining a good repository

    Hello,

    I installed restricted codecs on openSUSE 13.1 via this page, and then I noticed that the following message appears when I try to update my system:

    Code:
    junior@Junior:~> sudo zypper up
    root's password:
    Loading repository data...
    Reading installed packages...
    
    
    The following 84 package updates will NOT be installed:
      amarok audacity exiftool gd gegl-0_2 graphviz graphviz-gd graphviz-gnome gstreamer gstreamer-0_10 gstreamer-0_10-plugin-esd gstreamer-0_10-plugin-gnomevfs 
      gstreamer-0_10-plugins-base gstreamer-0_10-plugins-good gstreamer-plugins-bad gstreamer-plugins-base gstreamer-plugins-good hplip-hpijs hplip-sane hugin 
      icoutils ImageMagick k3b krdc lcms2 lensfun-data libbabl-0_1-0 libdjvulibre21 libgegl-0_2-0 libgstapp-0_10-0 libgstapp-1_0-0 libgstaudio-1_0-0 
      libgstbasecamerabinsrc-1_0-0 libgstcodecparsers-1_0-0 libgstfft-1_0-0 libgstinterfaces-0_10-0 libgstpbutils-1_0-0 libgstphotography-1_0-0 
      libgstreamer-0_10-0 libgstreamer-1_0-0 libgstriff-1_0-0 libgstrtp-1_0-0 libgstrtsp-1_0-0 libgstsdp-1_0-0 libgsttag-1_0-0 libgstvideo-1_0-0 libhdf5-8 
      libhdf5_hl8 libjbig2 libjbig2-32bit libjpeg62 libjpeg8 libjpeg8-32bit libjpeg-turbo liblcms2-2 liblensfun0 libmediastreamer_base3 libmediastreamer_voip3 
      libmjpegutils-2_0-0 libmtp9 libmygpo-qt1 libopenjpeg1 libopus0 libpano13-2 libpgf6 libquicktime0 libsox2 libsqlite3-0 libsqlite3-0-32bit libstrigi0 
      libxine2 libxine2-pulse mjpegtools perl-File-RandomAccess perl-Image-ExifTool python3 python3-base python-numpy rkhunter sox steam strigi 
      typelib-1_0-Gst-1_0 typelib-1_0-GstPbutils-1_0 
    
    
    Nothing to do.
    junior@Junior:~>
    Did I do something wrong? After installation of those codecs, I did nothing.

    I remember that an admin here posted a tutorial, and on that turorial after the installation he opened YaST and changed something in the repos. Is that still needed?

    My repos:

    Code:
    junior@Junior:~> zypper lr -d
    #  | Alias                     | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                               | Service
    ---+---------------------------+------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------+--------
     1 | Packman Repository        | Packman Repository                 | Yes     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.1/                          |        
     2 | games:tools               | games:tools                        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games:/tools/openSUSE_13.1/             |        
     3 | graphics                  | graphics                           | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/graphics/openSUSE_13.1/                 |        
     4 | home:lemmy04              | home:lemmy04                       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/lemmy04/openSUSE_13.1/            |        
     5 | libdvdcss repository      | libdvdcss repository               | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/13.1/                                              |        
     6 | nVidia Graphics Drivers   | nVidia Graphics Drivers            | Yes     | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/13.1/                                         |        
     7 | openSUSE-13.1-1.10        | openSUSE-13.1-1.10                 | No      | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-H10A_1E1A19D75083,/dev/sr0 |        
     8 | repo-debug                | openSUSE-13.1-Debug                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.1/repo/oss/                    |        
     9 | repo-debug-update         | openSUSE-13.1-Update-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1/                                   |        
    10 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1-non-oss/                           |        
    11 | repo-non-oss              | openSUSE-13.1-Non-Oss              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/                      |        
    12 | repo-oss                  | openSUSE-13.1-Oss                  | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                          |        
    13 | repo-source               | openSUSE-13.1-Source               | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.1/repo/oss/                   |        
    14 | repo-update               | openSUSE-13.1-Update               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1/                                         |        
    15 | repo-update-non-oss       | openSUSE-13.1-Update-Non-Oss       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1-non-oss/                                 |        
    junior@Junior:~>
    openSUSE 13.1

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,746

    Default Re: Maintaining a good repository

    No you did nothing that just reflect that some package are form different repos and maybe there are newer ones on a repo that is not the current vendor for that package.

    openSUSE now remember the repo (vendor) that a package is installed from and only take updates from that vendor

    If you look at one of those packages in yast and look at the version tab at bottom right you will that that the installed package came from openSUSE and that there is a newer version in packman.

  3. #3
    Join Date
    Jan 2013
    Location
    Brazil
    Posts
    327

    Default Re: Maintaining a good repository

    So is there a way to fix it, and get the newest version?

    Here's a screenshot. I can select newer versions for each program, but I don't know how to do so for everything.

    openSUSE 13.1

  4. #4

    Default Re: Maintaining a good repository

    Quote Originally Posted by gogalthorp View Post
    No you did nothing that just reflect that some package are form different repos and maybe there are newer ones on a repo that is not the current vendor for that package.

    openSUSE now remember the repo (vendor) that a package is installed from and only take updates from that vendor

    If you look at one of those packages in yast and look at the version tab at bottom right you will that that the installed package came from openSUSE and that there is a newer version in packman.
    Well, not necessarily _newer_, but with a higher version or revision number.
    But at least the revision number (which specifies in fact how often a package has been rebuilt) has no meaning whatsoever when comparing packages between different repos, so you should better just ignore it.

    Quote Originally Posted by amarildojr View Post
    So is there a way to fix it, and get the newest version?
    There is nothing to fix.
    That's just a informational message by zypper, that there would be a package with a higher version/revision in a different repo.
    Whether you want to switch to that version/revision you have to decide for yourself on a case-by-case basis.

    The only real way to prevent that message is to remove all additional repos...

    Most of the packages in your list seem to be part of Packman though, in those case you should make sure to have the Packman version installed, regardless of the version/revision (because of the additional codec support).
    So maybe do a full Vendor change upgrade to Packman, if you haven't done so already:
    http://en.opensuse.org/SDB:Vendor_ch..._Vendor_change
    Or check those packages on a one-by-one basis, as said already.

    For your k3b example you shouldn't do anything. You have the Packman version installed, which you need if you want to have k3b-codecs (i.e. support for encoding/decoding audio files).
    The standard OSS repo does contain k3b in the same version (2.0.2) but a higher revision (29.1.3 vs. 18.31), but this is _not_ newer obviously...

    And to stress it again: ignore the revision number when comparing packages from different repos. Only the version is meaningful, but may not be your only factor to decide which package you want.
    Last edited by wolfi323; 13-Mar-2014 at 02:51.

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,746

    Default Re: Maintaining a good repository

    You can do it in mass in Yast

    In menu Packages-All Packages-Update if newer version available

  6. #6
    Join Date
    Jan 2013
    Location
    Brazil
    Posts
    327

    Default Re: Maintaining a good repository

    Quote Originally Posted by wolfi323 View Post
    The only real way to prevent that message is to remove all additional repos...
    Won't that make updates to their respective software unavailable?
    For example, I installed the nvidia drivers and I was prompted to subscribe to that repository. If I remove that repo, I suppose I won't get any more updates to my drivers. Or I don't need to subscribe and yet I will receive updates to the software installed?

    Quote Originally Posted by gogalthorp View Post
    You can do it in mass in Yast

    In menu Packages-All Packages-Update if newer version available
    Thank you very much
    openSUSE 13.1

  7. #7
    Join Date
    Jan 2013
    Location
    Brazil
    Posts
    327

    Default Re: Maintaining a good repository

    Turns out wolfi323 was right. I
    I followed this guide and it has the same procedure to switch system packages. Now the output is way better:

    Code:
    junior@Junior:~> sudo zypper up
    Loading repository data...
    Reading installed packages...
    
    
    The following package update will NOT be installed:
      k3b 
    
    
    Nothing to do.
    junior@Junior:
    My switch to openSUSE is near
    Just have to figure out what to do with k3b.

    My repos:

    Code:
    junior@Junior:~> zypper lr -d
    #  | Alias                     | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                               | Service
    ---+---------------------------+------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------+--------
     1 | Packman Repository        | Packman Repository                 | Yes     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.1/                          |        
     2 | libdvdcss repository      | libdvdcss repository               | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/13.1/                                              |        
     3 | nVidia Graphics Drivers   | nVidia Graphics Drivers            | Yes     | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/13.1/                                         |        
     4 | openSUSE-13.1-1.10        | openSUSE-13.1-1.10                 | No      | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-H10A_1E1A19D75083,/dev/sr0 |        
     5 | repo-debug                | openSUSE-13.1-Debug                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.1/repo/oss/                    |        
     6 | repo-debug-update         | openSUSE-13.1-Update-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1/                                   |        
     7 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1-non-oss/                           |        
     8 | repo-non-oss              | openSUSE-13.1-Non-Oss              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/                      |        
     9 | repo-oss                  | openSUSE-13.1-Oss                  | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                          |        
    10 | repo-source               | openSUSE-13.1-Source               | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.1/repo/oss/                   |        
    11 | repo-update               | openSUSE-13.1-Update               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1/                                         |        
    12 | repo-update-non-oss       | openSUSE-13.1-Update-Non-Oss       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1-non-oss/                                 |        
    junior@Junior:~>
    Code:
    junior@Junior:~> sudo zypper dup
    Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
    Loading repository data...
    Reading installed packages...
    Computing distribution upgrade...
    
    
    Nothing to do.
    junior@Junior:~>
    openSUSE 13.1

  8. #8

    Default Re: Maintaining a good repository

    Quote Originally Posted by amarildojr View Post
    Won't that make updates to their respective software unavailable?
    For example, I installed the nvidia drivers and I was prompted to subscribe to that repository. If I remove that repo, I suppose I won't get any more updates to my drivers.
    Of course not.
    This was not meant as serious advise what to do (note the smiley ). But it would be the only way to really get rid of that message.

    Thank you very much
    But be aware that this ("Update if newer version is available") will have absolutely no effect on that zypper message, as it does the same as "zypper up" and WILL NOT install those updates just like zypper.

    Quote Originally Posted by amarildojr View Post
    My switch to openSUSE is near
    Just have to figure out what to do with k3b.

    I already told you: NOTHING!
    Ignore the message in this case.

    You may switch k3b to the openSUSE version to get rid of that message (and uninstall k3b-codecs as a consequence), but then you will not be able to encode/decode audio files from/to MP3 f.e. So you cannot create an AudioCD out of MP3 files
    (or similar restricted codecs).

    Code:
    junior@Junior:~> sudo zypper dup
    Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
    Loading repository data...
    Reading installed packages...
    Computing distribution upgrade...
    
    
    Nothing to do.
    junior@Junior:~>

    You should NEVER use "zypper dup", unless you want to upgrade to the next openSUSE version (or are using Factory or Tumbleweed).
    This _can_ break your system, and may hinder your multimedia experience as it might switch your Packman packages to the standard openSUSE versions without full codec support.
    Last edited by wolfi323; 14-Mar-2014 at 06:22.

  9. #9
    Join Date
    Jan 2013
    Location
    Brazil
    Posts
    327

    Default Re: Maintaining a good repository

    Hi wolfi323. I didn't follow the "update if newer version" advice because I knew there were something else to do, in this case the tutorial I linked explains what I forgot in this +1 year away from openSUSE.

    I will do nothing with that message. In fact, 11 minutes after my last post I tried to edit it and say that I actually have nothing to do/worry about. And I only did "zypper dup" because that was a test system install I either update from YaST or "zypper up".
    openSUSE 13.1

  10. #10
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,746

    Default Re: Maintaining a good repository

    Actually the "Update if newer version is available" will to the update across venders. I tried it recently and all those will not update messages are gone/ Except for KB3 but that is because I skipped it there are some package version mismatch at the moment in the 12.3 packman repo.

Page 1 of 2 12 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
  •