You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest VS Code Insiders Debian package contains a debconf configuration in order for users to configure whether the package adds a reference to the packages.microsoft.com repository after being installed. As a result, users who prefer to have or already have a custom apt setup have the ability to stop VS Code from automatically adding the reference, which could otherwise interfere with their setup.
In a terminal, run sudo dpkg -i <nameOfDeb>.deb to install the Debian file.
If there is an alert about missing dependencies, run sudo apt-get -f install.
A dialog should pop up asking whether you want to add the Microsoft repository and signing key. Previously, the post-install script would automatically set those up for you.
Select Yes.
Confirm that cat /etc/apt/sources.list.d/vscode.list mentions https://packages.microsoft.com/repos/code and that file /etc/apt/trusted.gpg.d/microsoft.gpg runs sucessfully.
Run sudo dpkg -i <nameOfDeb>.deb again.
Confirm that the dialog does not show up again.
Run sudo dpkg -r code-insiders to remove the package.
Confirm that /etc/apt/sources.list.d/vscode.list and /etc/apt/trusted.gpg.d/microsoft.gpg don't exist.
Run sudo dpkg -i <nameOfDeb>.deb again.
Confirm that the dialog does not show up again.
Confirm that cat /etc/apt/sources.list.d/vscode.list mentions https://packages.microsoft.com/repos/code and file /etc/apt/trusted.gpg.d/microsoft.gpg runs sucessfully.
Run sudo dpkg -P code-insiders to purge the package.
Confirm that /etc/apt/sources.list.d/vscode.list and /etc/apt/trusted.gpg.d/microsoft.gpg don't exist.
Run sudo dpkg -i <nameOfDeb>.deb to install the Debian package again.
A dialog should pop up asking whether you want to add the Microsoft repository and signing key.
Select No.
Confirm that /etc/apt/sources.list.d/vscode.list and /etc/apt/trusted.gpg.d/microsoft.gpg don't exist.
Run sudo dpkg -i <nameOfDeb>.deb again.
Confirm that the dialog does not show up again.
Confirm that /etc/apt/sources.list.d/vscode.list and /etc/apt/trusted.gpg.d/microsoft.gpg don't exist.
The text was updated successfully, but these errors were encountered:
Refs: #22145
Complexity: 4
Create Issue
The latest VS Code Insiders Debian package contains a debconf configuration in order for users to configure whether the package adds a reference to the packages.microsoft.com repository after being installed. As a result, users who prefer to have or already have a custom apt setup have the ability to stop VS Code from automatically adding the reference, which could otherwise interfere with their setup.
You can use an Ubuntu WSL instance for this TPI.
sudo dpkg -i <nameOfDeb>.deb
to install the Debian file.sudo apt-get -f install
.cat /etc/apt/sources.list.d/vscode.list
mentionshttps://packages.microsoft.com/repos/code
and thatfile /etc/apt/trusted.gpg.d/microsoft.gpg
runs sucessfully.sudo dpkg -i <nameOfDeb>.deb
again.sudo dpkg -r code-insiders
to remove the package./etc/apt/sources.list.d/vscode.list
and/etc/apt/trusted.gpg.d/microsoft.gpg
don't exist.sudo dpkg -i <nameOfDeb>.deb
again.cat /etc/apt/sources.list.d/vscode.list
mentionshttps://packages.microsoft.com/repos/code
andfile /etc/apt/trusted.gpg.d/microsoft.gpg
runs sucessfully.sudo dpkg -P code-insiders
to purge the package./etc/apt/sources.list.d/vscode.list
and/etc/apt/trusted.gpg.d/microsoft.gpg
don't exist.sudo dpkg -i <nameOfDeb>.deb
to install the Debian package again./etc/apt/sources.list.d/vscode.list
and/etc/apt/trusted.gpg.d/microsoft.gpg
don't exist.sudo dpkg -i <nameOfDeb>.deb
again./etc/apt/sources.list.d/vscode.list
and/etc/apt/trusted.gpg.d/microsoft.gpg
don't exist.The text was updated successfully, but these errors were encountered: