You are not logged in.

#1 2021-03-09 10:08:32

PhillTheDev
Member
From: Birmingham UK
Registered: 2021-02-23
Posts: 4
Website

Downgrading VSCode

Hi All,

I am a freelance web developer and my ide of choice is of course VS Code.  I also like to work live on the server so that my clients can watch progress of their websites.
I use an extension called ftp-simple and after the latest update of vscode it stopped working as it should. Remote files downloaded opened up with content then when going back to it all of that content mysteriously disappeared. Frustrating ain't the word. I of course found a solution for it and that is to roll back vscode to a previous version and turn off the updates to it. Simples or so I though.

Fired up terminal and then:
sudo downgrade code > Select the package number and Proceed with installation with a bit fat Y

I then got this..

        error: failed to commit transaction (conflicting files)
        code: /usr/bin/code exists in filesystem (owned by visual-studio-code-bin)

I then entered pacman -Qo code and got this result...

        /usr/bin/code is owned by visual-studio-code-bin 1.54.1-1

Incidentally I am trying to downgrade to 1.53.2 as this solution recommends.
Not sure how to progress now. Thanks for any suggestions.

Phillip Dews.

Offline

#2 2021-03-09 10:23:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,343

Re: Downgrading VSCode

The code you are trying to downgrade is not the same package as the visual-studio-code-bin you have installed.

Either remove the existing package and install the relevant code version from the repos with downgrade or get the original packagebuild you've used: https://aur.archlinux.org/packages/visu … -code-bin/ and adjust the pkgver and rebuild that.

Offline

Board footer

Powered by FluxBB