Results 1 to 6 of 6

Thread: system update with terminal

  1. #1

    Default system update with terminal

    I'm having to use the terminal update. Yast and the system tray update aren't working right. I'm getting this same or similar info on every update(suse 11.4).

    Code:
    zypper up
    Loading repository data...
    Reading installed packages...
    
    The following package updates will NOT be installed:
      gstreamer-0_10-plugin-gnomevfs gstreamer-0_10-plugin-hal 
      gstreamer-0_10-plugins-base gstreamer-0_10-plugins-good k3b 
      libgstapp-0_10-0 libgstinterfaces-0_10-0 libquicktime libwavpack1 
      mjpegtools taglib 
    
    Nothing to do.
    Can someone explain what this means?

  2. #2

    Default Re: system update with terminal

    By default, zypper won't allow an update to change repositories with the update command. From the wiki:

    "zypper up" updates the packages if a newer version is available but will not change the vendor (Note: The whole build service currently has the same vendor). "zypper dup" will try to sync your currently installed packages with the ones available from (all) the repos you have enabled. This means it will also downgrade packages if your installed version is newer than the one available in the repo.

    This is helpful for when you want to retain packages from Packman, for instance.
    I'm confused...No, wait...Maybe I'm not...

  3. #3
    Join Date
    Jun 2008
    Location
    Norman, OK
    Posts
    209

    Default Re: system update with terminal

    as the above post said, 'zypper dup' will upgrade and install the files listed in the part of your message that says "the following package updates will NOT be installed".

    Be careful about blindly running 'zypper dup' though, as it might upgrade a lot more than just the packages listed, and pay attention to what packages zypper says are changing repositories, etc so that you don't get unintended upgrades / downgrades.
    Main Machine: Dell Precision M6600 running openSUSE Leap 16
    Server: Dell PowerEdge SC1430 running SLES 15

  4. #4

    Default Re: system update with terminal

    Quote Originally Posted by katanacb View Post
    as the above post said, 'zypper dup' will upgrade and install the files listed in the part of your message that says "the following package updates will NOT be installed".

    Be careful about blindly running 'zypper dup' though, as it might upgrade a lot more than just the packages listed, and pay attention to what packages zypper says are changing repositories, etc so that you don't get unintended upgrades / downgrades.
    Code:
    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...
    
    The following packages are going to be upgraded:
      gstreamer-0_10-plugin-gnomevfs gstreamer-0_10-plugin-hal k3b 
      libgstapp-0_10-0 libgstinterfaces-0_10-0 libquicktime libwavpack1 
      mjpegtools taglib 
    
    The following packages are going to be downgraded:
      libmad0 libopencore-amrnb0 libopencore-amrwb0 
    
    The following package is going to be reinstalled:
      w32codec-all 
    
    The following packages are going to change vendor:
      gstreamer-0_10-plugin-gnomevfs
        openSUSE -> http://packman.links2linux.de
      gstreamer-0_10-plugin-hal     
        openSUSE -> http://packman.links2linux.de
      k3b                           
        openSUSE -> http://packman.links2linux.de
      libgstapp-0_10-0              
        openSUSE -> http://packman.links2linux.de
      libgstinterfaces-0_10-0       
        openSUSE -> http://packman.links2linux.de
      libquicktime                  
        openSUSE -> http://packman.links2linux.de
      libwavpack1                   
        openSUSE -> http://packman.links2linux.de
      mjpegtools                    
        openSUSE -> http://packman.links2linux.de
      taglib                        
        openSUSE -> http://packman.links2linux.de
    
    
    9 packages to upgrade, 3 to downgrade, 1 to reinstall, 9  to change 
    vendor.
    Overall download size: 21.4 MiB. After the operation, additional 
    798.0 KiB will be used.
    Continue? [y/n/?] (y):
    Recommend this?

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,732

    Default Re: system update with terminal

    Recommend this?
    After the expalnations from the others you should be able to recommend to yourself what to do. One does normaly do only a dup when one changes openSUSE level. Not within the lifetime of one level (but I can imagine osther usage). The fact that it will change 9 packages to other vendors might bring you to the conclusion that you do not want this.. But it is you that decides.
    Henk van Velden

  6. #6

    Default Re: system update with terminal

    I generally prefer packages from Packman repository (personal preference), but I agree that one should use "dup" with caution. You can choose to manually install those packages using install (in) instead, or update strictly from a specific repository with (I think):

    sudo zypper up --repo repository alias

    I can't check this at the moment, unfortunately, since I'm not on my openSUSE box.
    Last edited by Wrath5000; 01-Apr-2011 at 09:59. Reason: clairity
    I'm confused...No, wait...Maybe I'm not...

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
  •