Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10419

visual studio code vscode-bin requires uninstall and reinstall for upgrade

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium (Ebuild) Medium (Ebuild)
    • None
    • None
    • Hide
      upgrade from any vscode verion (happening since at least 1.65)

      /opt/vscode-bin/ exists and installs cleanly if old version uninstalled first:

      walsh ~ # emerge -C vscode-bin
       * This action can remove important packages! In order to be safer, use
       * `emerge -pv --depclean <atom>` to check for reverse dependencies before
       * removing packages.

       app-editors/vscode-bin
          selected: 1.70.2
         protected: none
           omitted: none

      All selected packages: =app-editors/vscode-bin-1.70.2

      >>> 'Selected' packages are slated for removal.
      >>> 'Protected' and 'omitted' packages will not be removed.

      >>> Waiting 5 seconds before starting...
      >>> (Control-C to abort)...
      >>> Unmerging in: 5 4 3 2 1
      >>> Unmerging (1 of 1) app-editors/vscode-bin-1.70.2...

       * GNU info directory index is up-to-date.
      walsh ~ # emerge vscode-bin

      These are the packages that would be merged, in order:

      Calculating dependencies... done!
      [ebuild N ] app-editors/vscode-bin-1.71.0::editors-kit USE="hunspell -libsecret" 0 KiB

      Total: 1 package (1 new), Size of downloads: 0 KiB

      >>> Verifying ebuild manifests
      >>> Emerging (1 of 1) app-editors/vscode-bin-1.71.0::editors-kit
      >>> Installing (1 of 1) app-editors/vscode-bin-1.71.0::editors-kit
      >>> Recording app-editors/vscode-bin in "world" favorites file...
      >>> Jobs: 1 of 1 complete Load avg: 1.48, 1.69, 1.79
      drwxr-xr-x 2 root root 1376 Aug 26 12:22 locales
       * Messages for package app-editors/vscode-bin-1.71.0:

       * Failed to set XATTR_PAX markings -me /opt/vscode-bin/code.
       * You may install some additional utils, so check them in:
       * https://code.visualstudio.com/Docs/setup#_additional-tools
      >>> Auto-cleaning packages...

      >>> No outdated packages were found on your system.

       * GNU info directory index is up-to-date.
      walsh ~ #
      Show
      upgrade from any vscode verion (happening since at least 1.65) /opt/vscode-bin/ exists and installs cleanly if old version uninstalled first: walsh ~ # emerge -C vscode-bin  * This action can remove important packages! In order to be safer, use  * `emerge -pv --depclean <atom>` to check for reverse dependencies before  * removing packages.  app-editors/vscode-bin     selected: 1.70.2    protected: none      omitted: none All selected packages: =app-editors/vscode-bin-1.70.2 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging (1 of 1) app-editors/vscode-bin-1.70.2...  * GNU info directory index is up-to-date. walsh ~ # emerge vscode-bin These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-editors/vscode-bin-1.71.0::editors-kit USE="hunspell -libsecret" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-editors/vscode-bin-1.71.0::editors-kit >>> Installing (1 of 1) app-editors/vscode-bin-1.71.0::editors-kit >>> Recording app-editors/vscode-bin in "world" favorites file... >>> Jobs: 1 of 1 complete Load avg: 1.48, 1.69, 1.79 drwxr-xr-x 2 root root 1376 Aug 26 12:22 locales  * Messages for package app-editors/vscode-bin-1.71.0:  * Failed to set XATTR_PAX markings -me /opt/vscode-bin/code.  * You may install some additional utils, so check them in:  * https://code.visualstudio.com/Docs/setup#_additional-tools >>> Auto-cleaning packages... >>> No outdated packages were found on your system.  * GNU info directory index is up-to-date. walsh ~ #
    • this makes it difficult to upgrade vscode-bin.

      >>> Install app-editors/vscode-bin-1.71.0 into /var/tmp/portage/app-editors/vscode-bin-1.71.0/image

      • XATTR_PAX marking -m /opt/vscode-bin/code with paxctl-ng
      • ACCESS DENIED: open_wr: /opt/vscode-bin/code
        >>> Completed installing app-editors/vscode-bin-1.71.0 into /var/tmp/portage/app-editors/vscode-bin-1.71.0/image
      • Final size of build directory: 353937 KiB (345.6 MiB)
      • Final size of installed tree: 354329 KiB (346.0 MiB)
      • --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
      • LOG FILE: "/var/tmp/portage/app-editors/vscode-bin-1.71.0/temp/sandbox.log"
        *
        VERSION 1.0
        FORMAT: F - Function called
        FORMAT: S - Access Status
        FORMAT: P - Path as passed to function
        FORMAT: A - Absolute Path (not canonical)
        FORMAT: R - Canonical Path
        FORMAT: C - Command Line

      F: open_wr
      S: deny
      P: /opt/vscode-bin/code
      A: /opt/vscode-bin/code
      R: /opt/vscode-bin/code
      C: paxctl-ng -l -m /opt/vscode-bin/code

      • --------------------------------------------------------------------------------

            Unassigned Unassigned
            captfrito captfrito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: