Hello, I am trying to run sudo zypper update && sudo zypper dup but it doesnt seem to be doing anything.
sudo zypper update gives this output:
sudo zypper update
Loading repository data...
Reading installed packages...
The following 3 package updates will NOT be installed:
librist4 nodejs-electron tailscale
The following 26 packages are going to be upgraded:
bind-utils boost-license1_84_0 dracut eza eza-bash-completion eza-zsh-completion gdb ImageMagick kitty-terminfo
libboost_filesystem1_84_0 libboost_filesystem1_84_0-x86-64-v3 libboost_thread1_84_0 libboost_thread1_84_0-x86-64-v3
libffi8 libffi8-32bit libffi-devel libMagick++-7_Q16HDRI5 libMagickCore-7_Q16HDRI10 libMagickWand-7_Q16HDRI10
libnss_usrfiles2 man-pages ncdu openSUSE-release openSUSE-release-ftp opi strace
The following product is going to be upgraded:
openSUSE Tumbleweed 20240320-0 -> 20240321-0
Product 'openSUSE Tumbleweed' requires to be upgraded by calling 'zypper dup'!
26 packages to upgrade.
Overall download size: 17.1 MiB. Already cached: 0 B. After the operation, additional 114.9 KiB will be used.
Consider to cancel:
Product 'openSUSE Tumbleweed' requires to be upgraded by calling 'zypper dup'!
Continue? [y/n/v/...? shows all options] (y):
Whether I proceed or run sudo zypper dup instead, it always compain about old nodejs and that VS Code needs the new version and dependency cannot be satisfied. Here is the output from dup:
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
Problem: the installed code-1.86.2-1.3.x86_64 requires 'electron(x86-64)(abi) = 118', but this requirement cannot be provided
deleted providers: nodejs-electron-27.3.3-2.1.x86_64
Solution 1: deinstallation of code-1.86.2-1.3.x86_64
Solution 2: keep obsolete nodejs-electron-27.3.3-2.1.x86_64
Solution 3: break code-1.86.2-1.3.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c/d/?] (c):
I always choose 2 but then it just runs through and act like its been all done when in fact, if I run update & dup again, its again the same thing.
ANy idea why it would not update certain packages? Not sure about nodejs or the other package but at least Tailscale update should be available.
You DON’T use zypper up with Tumbleweed. ONLY zypper dup.
Did you actually read the output from your first command?
Your second problem:
The package code is not available in any official Tumbleweed repository, so it’s dependencies cannot be fullfilled. So the correct solution would be solution 1.
As you seem to have installed code from some arbitrary external repo, show your repo list via zypper lr -d
Thanks for reply. I didn’t know I don’t use zypper update with Tumbleweed. seemed like something I would naturally do. Here is the output of zypper lr -d:
The proprietary version from the official Microsoft repository work fine on my side even with the latest tumbleweed snapshot, it is actually at version 1.87.2 and was last updated the 12 March so it is a option if you don’t mind running proprietary software …
One other option is to install VsCodium and use it until the code repository you are using is fixed ( or in replacement of it ), it is available as flatpak too if you don’t want to add a new repository… if you really need extension from the microsoft marketplace in VsCodium you will have some configurations to do see vscodium/docs/index.md at master · VSCodium/vscodium · GitHub
You could also not update your system and wait for the code package to be fixed … but it is better to have an up to date system so not really recommended …
I think it is not the exact same version @madroots is using, the version on obs state
This is an open-source release of Code built from the official code-oss repository.
It includes additional patches from VSCodium for increased extensibility — remove-mangle.patch and merge-user-product.patch