Results 1 to 10 of 10

Thread: Zypper dup freezes when installing kernel

  1. #1

    Default Zypper dup freezes when installing kernel

    Hi,

    When I try to upgrade my system with zypper dup, everything goes smoothly until the system tries to install the kernel. Then the upgrade freezes just when the progress bar shows that the installation of the kernel is 100% complete.

    I use the following command when I upgrade Tumbleweed.

    Code:
    sudo zypper dup --no-allow-vendor-change
    I rebooted the system and tried to start all over in the hope that it would succeed the second time, but it froze at the exact same place.

    Any ideas what I can do?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,002
    Blog Entries
    3

    Default Re: Zypper dup freezes when installing kernel

    Are you sure it is frozen?

    My experience is that after the new kernel is installed (100% showing), there is a noticeable delay before anything else happens. That's because a kernel update requires other changes, such as generating a new "initrd". And those other changes can take a while.
    openSUSE Leap 15.1; KDE Plasma 5;

  3. #3
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,410

    Default Re: Zypper dup freezes when installing kernel

    Quote Originally Posted by Brahma-Vihara View Post
    Code:
    --no-allow-vendor-change
    No-allow-vendor-change was made default in /etc/zypp/zypp.conf somewhere between two & three years ago, so unless you are using a really old zypp.conf file, you don't need to type it out.

    I rebooted the system and tried to start all over in the hope that it would succeed the second time, but it froze at the exact same place.

    Any ideas what I can do?[/QUOTE]Wait longer? How long did you wait?

    I don't let dup upgrade my kernel. I keep it locked, using a wildcard, so a new one only gets installed if and when I choose. When I install it manually (zypper in kernel-default), after the dup has completed all its post scripts, zypper asks about removing the lock. I say yes, but it does not remove it due to the wildcard in the lock, and proceeds with new kernel installation.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  4. #4

    Default Re: Zypper dup freezes when installing kernel

    I waited approximately 20+ minutes, don't remember precisely. I know from previous upgrades that the installation of a new kernel takes time because of the additional changes as you guys point out. But it never took this long.

    Just now, I'm trying to upgrade a third time. This time it installed all the packages, strangely no kernel was installed. But the installation has yet again frozen. This time at the final stage with, where the prompt reads:

    Code:
    Executing %posttrans script 'e2fsprogs-1.45.1-1.1.x86_64.rpm' .......................<33%>====================================================================[-]
    I've waited for 35+ minutes, but it's still stuck at 33%.

  5. #5

    Default Re: Zypper dup freezes when installing kernel

    Quote Originally Posted by mrmazda View Post
    No-allow-vendor-change was made default in /etc/zypp/zypp.conf somewhere between two & three years ago, so unless you are using a really old zypp.conf file, you don't need to type it out.
    Good to know, thanks.


    I don't let dup upgrade my kernel. I keep it locked, using a wildcard, so a new one only gets installed if and when I choose. When I install it manually (zypper in kernel-default), after the dup has completed all its post scripts, zypper asks about removing the lock. I say yes, but it does not remove it due to the wildcard in the lock, and proceeds with new kernel installation.
    I assume you do this as a cautionary step. How do I lock it with a wildcard?

  6. #6

    Default Re: Zypper dup freezes when installing kernel

    Quote Originally Posted by Brahma-Vihara View Post
    I waited approximately 20+ minutes, don't remember precisely. I know from previous upgrades that the installation of a new kernel takes time because of the additional changes as you guys point out. But it never took this long.

    Just now, I'm trying to upgrade a third time. This time it installed all the packages, strangely no kernel was installed. But the installation has yet again frozen. This time at the final stage with, where the prompt reads:

    Code:
    Executing %posttrans script 'e2fsprogs-1.45.1-1.1.x86_64.rpm' .......................<33%>====================================================================[-]
    Exit the graphical session and update from there, show the Repository you have first
    Code:
    zypper ls -d
    ------------------------------------
    Correct me if I'm wrong .
    ------------------------------------

  7. #7

    Default Re: Zypper dup freezes when installing kernel

    I just rebooted the system and tried once more "zypper dup". This time the prompt replied "Computing distribution upgrade..." and then "Nothing to do"

    When I check KInfocenter, it says that my system is:

    openSUSE Tumbleweed 20190521
    Plasma: 5.15.5
    KDE frameworks: 5.58.0
    Qt: 5.12.3
    Kernel: 5.1.3-1

    I guess the upgrade finally went through... despite my mishandling of it, which in my mind speaks volumes of openSUSE's robustness.

    A happy camper!

  8. #8

    Default Re: Zypper dup freezes when installing kernel

    Quote Originally Posted by enziosavio View Post
    Exit the graphical session and update from there, show the Repository you have first
    Code:
    zypper ls -d
    I believe my problem is solved. But here's the output that shows my repositories. If you find my setup troublesome, I'd be glad to know what you think I ought to do.


    Code:
    brahmavihara@linux-0xse:~> zypper ls -d
    #  | Alias                               | Name                         | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                     
    ---+-------------------------------------+------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------------------
    1  | TW_Debug_repository                 | TW Debug Repository          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/tumbleweed/repo/debug                                     
    2  | TW_KDE_Extra                        | TW KDE Extra                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Tumbleweed/              
    3  | TW_Main_Repository_(NON-OSS)        | TW Main Repository (NON-OSS) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/tumbleweed/repo/non-oss                                   
    4  | TW_Main_Repository_(OSS)            | TW Main Repository (OSS)     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/tumbleweed/repo/oss                                       
    5  | TW_Source-non-oss_Repository        | TW Source-non-oss Repository | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/tumbleweed/repo/src-non-oss                               
    6  | TW_Source-oss_repository            | TW Source-oss Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/tumbleweed/repo/src-oss                                   
    7  | TW_Update_repository                | TW Update Repository         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                         
    8  | http-download.opensuse.org-bd29e9c1 | openSUSE:Tumbleweed          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                
    9  | http-download.opensuse.org-e589adab | home:psifidotos              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/psifidotos/openSUSE_Tumbleweed_standard/
    10 | http-download.opensuse.org-e8724ee4 | Kernel:stable                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/Kernel:/stable/standard/                     
    11 | http-ftp.gwdg.de-7938c81b           | Packman Repository           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/                         
    12 | http-opensuse-guide.org-4b7d5e29    | libdvdcss repository         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                     
    13 | iridium                             | iridium                      | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://downloads.iridiumbrowser.de/openSUSE_Tumbleweed/

  9. #9
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,410

    Default Re: Zypper dup freezes when installing kernel

    Quote Originally Posted by Brahma-Vihara View Post
    I assume you do this as a cautionary step.
    In part, but more an exercise of control. It's a big download and space consumer. Unless I'm waiting on a particular fix or know something is fubar, I like to not fix what ain't broke.

    How do I lock it with a wildcard?
    Examples:
    • zypper al kernel-defaul?
    • zypper al kerne?-de?ault
    • zypper al *rnel-de*
    Technically the latter two each have two wildcards. The last is a bit expansive, might catch something unintended.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  10. #10

    Default Re: Zypper dup freezes when installing kernel

    Quote Originally Posted by mrmazda View Post
    In part, but more an exercise of control. It's a big download and space consumer. Unless I'm waiting on a particular fix or know something is fubar, I like to not fix what ain't broke.

    Examples:
    • zypper al kernel-defaul?
    • zypper al kerne?-de?ault
    • zypper al *rnel-de*

    Technically the latter two each have two wildcards. The last is a bit expansive, might catch something unintended.
    I see. I have a fast broadband access with an unlimited download plan. Since I also use snapper, I figure that I can always revert back to a previous kernel in case the kernel introduces some bugs.

    Thanks for showing me how to lock it with wildcards!

Posting Permissions

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