Certain packages won't update

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. :confused: seemed like something I would naturally do. Here is the output of zypper lr -d:

1 | devel_tools_ide_vscode           | devel_tools_ide_vscode                 | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/repositories/devel:/tools:/ide:/vscode/openSUSE_Tumbleweed | 
 2 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                                    | 
 3 | download.opensuse.org-oss        | Main Repository (OSS)                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                        | 
 4 | download.opensuse.org-tumbleweed | Main Update Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                          | 
 5 | openSUSE-20231226-0              | openSUSE-20231226-0                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                        | 
 6 | packman                          | Packman                                | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                     | 
 7 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                  | 
 8 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                                  | 
 9 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/source/tumbleweed/repo/oss/                                 | 
10 | tailscale-stable                 | Tailscale stable                       | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://pkgs.tailscale.com/stable/opensuse/tumbleweed/x86_64

@madroots It’s (code) failing to build https://build.opensuse.org/package/show/devel:tools:ide:vscode/code

You don’t need repo #5 it’s a duplicate of #3.

Thanks, but what are my options? I was kinda happy to see stripped down VS Code without Microsoft branding. Do I have to switch to Microsoft version?

@madroots wait for it to be fixed, or branch and fix…? There is always the flatpak version?

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

Thank you all, I understand now. Have a great day.

1 Like