Is there an existing issue for this?
OS/Web Information
- Web Browser: All
- Local OS: MacOS 12.4
- Remote OS: Rocky 8
- Remote Architecture: x86 64
code-server --version: 4.5.1 97d1703 with Code 1.68.1
The issue from #2347 has never been resolved. We should update our install script to include the -U option when doing upgrades otherwise every upgrade on an EL distro will require manually re-running the rpm command to apply the update
Steps to Reproduce
- Install code-server using
curl -fsSL https://code-server.dev/install.sh | sh
- Wait for an update to come out
- Try an install the upgrade using the same command
curl -fsSL https://code-server.dev/install.sh | sh
Expected
Upgrade should apply
Actual
Error messages like these
file /usr/lib/code-server/out/node/wsRouter.js from install of code-server-0:4.5.1-1.x86_64 conflicts with file from package code-server-0:4.4.0-1.x86_64
file /usr/lib/code-server/out/node/wsRouter.js.map from install of code-server-0:4.5.1-1.x86_64 conflicts with file from package code-server-0:4.4.0-1.x86_64
file /usr/lib/code-server/package.json from install of code-server-0:4.5.1-1.x86_64 conflicts with file from package code-server-0:4.4.0-1.x86_64
file /usr/lib/code-server/postinstall.sh from install of code-server-0:4.5.1-1.x86_64 conflicts with file from package code-server-0:4.4.0-1.x86_64
file /usr/lib/code-server/yarn.lock from install of code-server-0:4.5.1-1.x86_64 conflicts with file from package code-server-0:4.4.0-1.x86_64
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No response
Is there an existing issue for this?
OS/Web Information
code-server --version: 4.5.1 97d1703 with Code 1.68.1The issue from #2347 has never been resolved. We should update our install script to include the
-Uoption when doing upgrades otherwise every upgrade on an EL distro will require manually re-running the rpm command to apply the updateSteps to Reproduce
curl -fsSL https://code-server.dev/install.sh | shcurl -fsSL https://code-server.dev/install.sh | shExpected
Upgrade should apply
Actual
Error messages like these
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No response