Results 1 to 4 of 4

Thread: zypper up hanging after Executing %posttrans scripts

  1. #1

    Question zypper up hanging after Executing %posttrans scripts

    I ran `zypper up` on a LEAP 15.1 VM. Updated proceeded as normal but is now hung at this stage. Any ideas ?

    Code:
        dracut: *** Resolving executable dependencies ***
        dracut: *** Resolving executable dependencies done***
        dracut: *** Hardlinking files ***
        dracut: *** Hardlinking files done ***
        dracut: *** Stripping files ***
        dracut: *** Stripping files done ***
        dracut: *** Generating early-microcode cpio image ***
        dracut: *** Constructing GenuineIntel.bin ****
        dracut: *** Store current command line parameters ***
        dracut: Stored kernel commandline:
        dracut:  resume=UUID=removed
        dracut:  root=UUID=removed rootfstype=xfs rootflags=rw,relatime,attr2,inode64,noquota                                               
        dracut: *** Creating image file '/boot/initrd-4.12.14-lp151.28.36-default' ***
        dracut: *** Creating initramfs image file '/boot/initrd-4.12.14-lp151.28.36-default' done ***                                                                    
    
    Executing %posttrans scripts ...................................................................................................................................[done]
    Looking at the last few lines of zypper.log

    Code:
    2020-01-18 16:55:30 <1> xyz(17521) [zypp++] ZYppImpl.cc(commit):178 unloading @System repo from pool
    2020-01-18 16:55:30 <1> xyz(17521) [zypp] Repository.cc(eraseFromPool):300 sat::repo(@System){prio -99.0, size 1050} removed from pool
    2020-01-18 16:55:30 <1> xyz(17521) [zypp::satpool] PoolImpl.cc(setDirty):237 _deleteRepo @System
    2020-01-18 16:55:30 <1> xyz(17521) [zypp] ZYppImpl.cc(commit):183 Commit (CommitPolicy( DownloadDefault )) returned: CommitResult  (total 45, done 45, error 0, skipped 0, updateMessages 0)
    2020-01-18 16:55:30 <1> xyz(17521) [zypper] solve-commit.cc(solve_and_commit):810 
    2020-01-18 16:55:30 <1> xyz(17521) [zypper] solve-commit.cc(solve_and_commit):810 DONE
    2020-01-18 16:55:30 <1> xyz(17521) [librpmDb++] librpmDb.cc(D):100 DBACCESS {NULL(/)/var/lib/rpm}
    2020-01-18 16:55:30 <1> xyz(17521) [librpmDb++] librpmDb.cc(dbRelease):311 dbRelease: release, outstanding 0
    2020-01-18 16:55:30 <1> xyz(17521) [zypp::exec++] ExternalProgram.cc(start_program):259 Executing 'lsof' '-n' '-FpcuLRftkn0' '-K' 'i'
    2020-01-18 16:55:30 <1> xyz(17521) [zypp::exec++] ExternalProgram.cc(start_program):424 pid 22763 launched

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    13,161
    Blog Entries
    3

    Default Re: zypper up hanging after Executing %posttrans scripts

    Sometimes, those scripts take a while to complete. So just let it run.

    If it is really stuck, I guess you can reboot, which aborts incomplete scripts. And then hope that your system is left in a usable state. I don't think I have ever run into a case where it was really stuck, but I have done updates where it took a while for the scripts to complete.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: zypper up hanging after Executing %posttrans scripts

    Quote Originally Posted by nrickert View Post
    Sometimes, those scripts take a while to complete. So just let it run.

    If it is really stuck, I guess you can reboot, which aborts incomplete scripts. And then hope that your system is left in a usable state. I don't think I have ever run into a case where it was really stuck, but I have done updates where it took a while for the scripts to complete.
    Its been running for two hours now, so frankly I don't hold up much hope.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    13,161
    Blog Entries
    3

    Default Re: zypper up hanging after Executing %posttrans scripts

    Fair enough. That does seem stuck.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

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
  •