Background
If you encountered an issue while fetching packages for updates:
08:59:13:~/xxx/eminutes-localdev/adminomb (staging)$ sudo apt update
[sudo] password for noah:
E: Conflicting values set for option Signed-By regarding source https://packages.microsoft.com/repos/code/ stable: /usr/share/keyrings/swif-packages_microsoft_com-archive-keyring.gpg != /usr/share/keyrings/microsoft.gpg
E: The list of sources could not be read.
Root Cause
The root cause is that VSCode is installed by Swif and the device user at the same time. When installed by Swif, a repo file is created. When installed by the device user, another repo file is created. Since swif-repo-file and user-repo-file share the same content, it’s confusing for apt to determine which repo file to use.
Routine Check Timing
If Swif's agent is started at 00:00, Swif's routine check will be triggered at the following intervals per 100 minutes:
00:00
01:40
03:20
05:00
Issue Resolved: Timing Gap
If a user attempts to install VS Code at 01:00, the installation issue will persist until the routine check is triggered at 01:40.
New: Run Repository Check Button (September 2025)
A new menu item, “Run repository check”, has been added to the device detail page. This allows users to immediately trigger the APPLICATION_REPOSITORY_CHECK
command, resolving the issue of fetching packages for updates without waiting for the next routine check.
How to use:
On the device detail page, click the menu and select “Run repository check”.
After running, you will be redirected to the “Commands” tab and see a confirmation toast.