Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    22.01rc - upgrade fails to copy kernel objects from .pkgtemp dir

    Plus 22.01 Development Snapshots (Retired)
    2
    3
    428
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • luckman212L
      luckman212 LAYER 8
      last edited by

      Today I was upgrading an SG-4860 from 21.05.2 to 22.01.r.20220123.0133 and at the end of the process, these errors were displayed:

      cp: /boot/kernel/.pkgtemp.if_tap.ko.JTiknUGkStpm: No such file or directory
      cp: /boot/kernel/.pkgtemp.if_tun.ko.osF0l25Yfnae: No such file or directory
      cp: /boot/kernel/.pkgtemp.fuse.ko.jJArAkukSKIs: No such file or directory
      cp: /boot/kernel/.pkgtemp.if_ixlv.ko.wRjWmvdEON96: No such file or directory
      cp: /boot/kernel/.pkgtemp.if_igb.ko.RyIPaXYOgygS: No such file or directory
      pkg-static: DEINSTALL script failed
      

      screenshot
      41627e28-6510-44ba-85b3-fc00f36d01a3-image.png

      Not sure if this is anything to be concerned about.
      The box came up after reboot and seems ok... ¯\_(ツ)_/¯

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That's expected when you come from an older version. The bug is in the kernel pkg deinstall script which is present on your old kernel there from 21.05.x. It's fixed on the 22.01/2.6.0 kernel package but the existing one can't be updated in-place.

        So once you're on 22.01/2.6.0 it won't happen on subsequent upgrades.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        luckman212L 1 Reply Last reply Reply Quote 1
        • luckman212L
          luckman212 LAYER 8 @jimp
          last edited by

          @jimp Thank you - yep seems to be running fine so far!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.