Failed retrieving file 'code.db' from packages.microsoft.com :

AFter this command: $ sudo pacman -Syu
I AM GETTING THIS ERROR:

:: Synchronizing package databases…
code.db failed to download
error: failed retrieving file ‘code.db’ from packages.microsoft.com : URL rejected: Malformed input to a URL function
error: failed to synchronize all databases (download library error)

THIS IS MY /ETC/PACMAN.CONF
GNU nano 7.2 /etc/pacman.conf

[code]
SigLevel = Optional TrustAll
Server = https://packages.microsoft.com/manjaro/stable main

Where did you get the instructions to add that repository to the /etc/pacman.conf ?

Also, If you want Visual Studio Code: https://wiki.archlinux.org/title/Visual_Studio_Code

2 Likes

This is not related to endeavouros. You should either talk to the Manjaro forum or call Microsoft support directly :rofl:

1 Like

Yeah.
It actually looks like the repos you would add to a deb/apt based distro and then manjaro in the mix. That’s why I asked the OP where they got the instructions to add that repo.

I bet they are also unaware of the existence of such a repo :sweat_smile:

On top of that that repo doesn’t even exist anymore, just go to https://packages.microsoft.com and you will see it isn’t even listed anymore. Best way to install it is to to read the wiki page @pebcak shared or go to their official Linux documentation, it also has an Arch Linux section,which is the same option as one of the options listed on the wiki page.
https://code.visualstudio.com/docs/setup/linux

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.