Fail to install VSCode

Hello,

On a recent install of ClearLinux :

salon@clr-4341697a062046e7bdb49b3ad3214027~ $ swupd info
Distribution:      Clear Linux OS
Installed version: 35210
Version URL:       https://cdn.download.clearlinux.org/update
Content URL:       https://cdn.download.clearlinux.org/update

I tried to install VSCode but :

What i’m supposed to do ? Try with command line ? Something else ?
CLI output:

salon@clr-4341697a062046e7bdb49b3ad3214027~ $ flatpak install flathub com.visualstudio.code
Looking for matches…
Required runtime for com.visualstudio.code/x86_64/stable (runtime/org.freedesktop.Sdk/x86_64/21.08) found in remote flathub
Do you want to install it? [Y/n]: Y

com.visualstudio.code permissions:
    ipc                          network        pulseaudio       ssh-auth       x11       devices       devel       file access [1]      dbus access [2]
    system dbus access [3]       tags [4]

    [1] host, xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar, com.canonical.AppMenu.Registrar.*, org.freedesktop.Flatpak, org.freedesktop.Notifications, org.freedesktop.secrets
    [3] org.freedesktop.login1
    [4] proprietary


        ID                             Branch          Op          Remote          Download
 1. [✗] org.freedesktop.Sdk            21.08           i           flathub            1,0 kB / 473,0 MB
 2. [ ] com.visualstudio.code          stable          i           flathub         < 84,6 MB

Error: Failed to read commit 1fad7974d6fe02c6ac83e3e804e0317f4d8d3528dcd5087002e1b501ddadbb6b: No such metadata object 01dd0ddbe40f1d97bbf3b74e5497e1f8a81320b80de1b425af0fc06a9c5c838a.dirtree
error: Failed to install org.freedesktop.Sdk: Failed to read commit 1fad7974d6fe02c6ac83e3e804e0317f4d8d3528dcd5087002e1b501ddadbb6b: No such metadata object 01dd0ddbe40f1d97bbf3b74e5497e1f8a81320b80de1b425af0fc06a9c5c838a.dirtree

Thanks !

Hi, I have the same problem. Some clue?

Does running flatpak repair --user help?

1 Like

It worked ! What a magic command :smiley:

1 Like