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

Thread: zypper up skip kernel

  1. #1

    Default zypper up skip kernel

    I am trying to figure out how or what I need to run from the command line to update/patch my system with everything except the Kernel or packages that require a system reboot? Is it possible or do you have to use Yast to accomplish this?

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: zypper up skip kernel

    Check "--skip-interactive" in the zypper man pages.

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,708
    Blog Entries
    1

    Default Re: zypper up skip kernel

    If you want to lock a package to prevent any changes occurring, you can use the 'zypper al' option

    For example, to loock the package 'kernel-desktop'

    Code:
    zypper al kernel-desktop
    or all packages starting with 'kernel'

    Code:
    zypper al 'kernel*'
    Then upgrade as normal.

    Use the 'zypper rl' option to remove a package lock.

    http://en.opensuse.org/images/3/30/Z...at-sheet-2.pdf

  4. #4
    Join Date
    Nov 2010
    Location
    Youngstown, OH
    Posts
    155

    Default Re: zypper up skip kernel

    Quote Originally Posted by deano_ferrari View Post
    If you want to lock a package to prevent any changes occurring, you can use the 'zypper al' option

    For example, to loock the package 'kernel-desktop'

    Code:
    zypper al kernel-desktop
    or all packages starting with 'kernel'

    Code:
    zypper al 'kernel*'
    Then upgrade as normal.

    Use the 'zypper rl' option to remove a package lock.

    http://en.opensuse.org/images/3/30/Z...at-sheet-2.pdf
    does the YAST gui interface honor these locks placed via c-li?

    Thanks!
    Lenovo: OpenSUSE 11.4/32 | Xfce 4.8.1 | Intel Core2 Duo T7200 | Intel 945GM/GMS | 4G RAM | Firefox 8.0 | Thunderbird 3.1.16

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: zypper up skip kernel

    On 2011-05-06 18:36, D8TA wrote:
    > Is it possible or do you have to
    > use Yast to accomplish this?


    Easier with YaST

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,708
    Blog Entries
    1

    Default Re: zypper up skip kernel

    does the YAST gui interface honor these locks placed via c-li?

    Thanks!
    Yes, it does. Check for yourself via the yast software manager. (You should see a padlock symbol on any locked packages).
    Last edited by deano_ferrari; 06-May-2011 at 19:02.

  7. #7
    Join Date
    Nov 2010
    Location
    Youngstown, OH
    Posts
    155

    Default Re: zypper up skip kernel

    Well, I locked firefox at 4.0 and Thunderbird at 3.1.8 using Yast > Lock and the last time I had updates, it wanted to "upgrade" them.
    So now, updates are disabled and I do them manually.
    I will try the c-li method and see what happens.

    Thanks!
    Lenovo: OpenSUSE 11.4/32 | Xfce 4.8.1 | Intel Core2 Duo T7200 | Intel 945GM/GMS | 4G RAM | Firefox 8.0 | Thunderbird 3.1.16

  8. #8
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: zypper up skip kernel

    On 05/07/2011 02:36 AM, Habitual wrote:
    >
    > does the YAST gui interface honor these locks placed via c-li?


    easy to learn (open YaST > Online Update and see if it is marked taboo)

    --
    CAVEAT: http://is.gd/bpoMD
    [openSUSE11.3 + KDE4.5.5 + Firefox3.6.17 + Thunderbird3.1.10 via NNTP]
    HACK Everything -> http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

  9. #9
    Join Date
    Nov 2010
    Location
    Youngstown, OH
    Posts
    155

    Default Re: zypper up skip kernel

    Code:
    sudo zypper al thunderbird
    Specified lock has been successfully added.
    
    sudo zypper al thunderbird
    
    sudo zypper al mozillathunderbird
    Specified lock has been successfully added.
    
    sudo zypper al mozillafirefox
    Specified lock has been successfully added.
    and Yast > Online Update has them marked and checked.
    Naturally, I declined.

    Inconclusive.
    Lenovo: OpenSUSE 11.4/32 | Xfce 4.8.1 | Intel Core2 Duo T7200 | Intel 945GM/GMS | 4G RAM | Firefox 8.0 | Thunderbird 3.1.16

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: zypper up skip kernel

    On 05/07/2011 02:06 PM, Habitual wrote:
    >
    > and Yast> Online Update has them marked and checked.
    > Naturally, I declined.


    next stop: http://tinyurl.com/nzhq7j

    --
    CAVEAT: http://is.gd/bpoMD
    [openSUSE11.3 + KDE4.5.5 + Firefox3.6.17 + Thunderbird3.1.10 via NNTP]
    HACK Everything -> http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

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
  •