Unable to install ninja build

Hello I am trying to install ninja build, but I am getting this error

How I can fix this?
Thanks

@Preschool3886 Hi and welcome to the Forum :smile:

Any reason your wanting to install from a home repository instead of the default 1.11 version available in Tumbleweed?

That version is from openSUSE 13.1 and was created ten years ago… Don’t use it… :wink:
https://build.opensuse.org/package/show/home:danci1973/ninja

I’m sorry but I just I just execute the command, I just got started using opensuse for more than a month.
should I disable home_danci1973 repository?

When I list installed package zypper pa -i home_danci1973 I got this

❯ zypper pa -i home_danci1973
Loading repository data...
Reading installed packages...
S  | Repository                                     | Name     | Version      | Arch
---+------------------------------------------------+----------+--------------+-------
v  | danci1973's Home Project (openSUSE_Tumbleweed) | fdupes   | 2.2.1-3.10   | x86_64
v  | danci1973's Home Project (openSUSE_Tumbleweed) | libjpeg8 | 8.2.2-209.1  | x86_64
v  | danci1973's Home Project (openSUSE_Tumbleweed) | libjpeg8 | 8.2.2-153.10 | i586
i+ | danci1973's Home Project (openSUSE_Tumbleweed) | stress   | 1.0.4-6.99   | x86_64
v  | danci1973's Home Project (openSUSE_Tumbleweed) | stress   | 1.0.4-6.43   | i586

@Preschool3886 why do you have 32bit packages installed?

I would suggest removal, was this added because you wanted stress? I would also suggest disabling the repo for sure.

How many other repositories have you added?

zypper lr -dE

I cant remember, but I think maybe

❯ zypper lr -dE
#  | Alias                      | Name                            | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                               | Service
---+----------------------------+---------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------------+--------
 1 | devel_tools_scm            | Software configuration manage-> | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_Tumbleweed/ |
 2 | gh-cli                     | packages for the GitHub CLI     | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://cli.github.com/packages/rpm                                               |
 3 | home_danci1973             | danci1973's Home Project (ope-> | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/repositories/home:/danci1973/openSUSE_Tumbleweed/   |
 7 | mysql-connectors-community | MySQL Connectors Community      | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://repo.mysql.com/yum/mysql-connectors-community/suse/15/x86_64/              |
10 | mysql-tools-community      | MySQL Tools Community           | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://repo.mysql.com/yum/mysql-tools-community/suse/15/x86_64/                   |
15 | mysql80-community          | MySQL 8.0 Community Server      | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://repo.mysql.com/yum/mysql-8.0-community/suse/15/x86_64/                     |
19 | repo-non-oss               | openSUSE-Tumbleweed-Non-Oss     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                             |
20 | repo-oss                   | openSUSE-Tumbleweed-Oss         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                 |
22 | repo-update                | openSUSE-Tumbleweed-Update      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                   |

@Preschool3886 then I would suggest disable that repo and do a zypper -vvv dup --allow-vendor-change and get rid of those i586 packages.

How are you updating the system?

I’m using zypper dup and followed by zypper up.

After I execute this zypper -vvv dup --allow-vendor-change I think it want to change from tumbleweed.
I am on tumbleweed right now, is this right?

sudo zypper -vvv dup --allow-vendor-change
[sudo] password for root:
Verbosity: 3
Initializing Target
Checking whether to refresh metadata for openSUSE-Tumbleweed-Non-Oss
Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml ..............................................................................................................[done (879 B/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/media.1/media ....................................................................................................................[done (119 B/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.asc ..........................................................................................................[done (827 B/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key ........................................................................................................[done (1.6 KiB/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml ...........................................................................................................[done (10.0 KiB/s)]
  Repository:       openSUSE-Tumbleweed-Non-Oss
  Key Fingerprint:  AD48 5664 E901 B867 051A B15F 35A2 F86E 29B7 00A4
  Key Name:         openSUSE Project Signing Key <opensuse@opensuse.org>
  Key Algorithm:    RSA 4096
  Key Created:      Mon 20 Jun 2022 10:03:14 PM PST
  Key Expires:      Fri 19 Jun 2026 10:03:14 PM PST
  Rpm Name:         gpg-pubkey-29b700a4-62b07e22
Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/b9db135bb13d8814bb4c772d7c9c391970de58ce57c0502d62487cecd1ae8b8f300fd74ac5cfcf4b22edfbebfc157b6e2cdade49a826e79b6bf837[done (86.4 KiB/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/6cafad857051aff8f5237ee0174607a9696402ff75c14aad2b270bd5bc52f965-susedata.xml.gz ......................................[done (4.4 KiB/s)]
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata ................................................................................................................................................[done]
Building repository 'openSUSE-Tumbleweed-Non-Oss' cache .....................................................................................................................................................[done]
Checking whether to refresh metadata for openSUSE-Tumbleweed-Oss
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml ...............................................................................................................[done (10.7 KiB/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/media.1/media ........................................................................................................................[done (103 B/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.asc ..............................................................................................................[done (827 B/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key ............................................................................................................[done (1.6 KiB/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml ...............................................................................................................[done (10.7 KiB/s)]
  Repository:       openSUSE-Tumbleweed-Oss
  Key Fingerprint:  AD48 5664 E901 B867 051A B15F 35A2 F86E 29B7 00A4
  Key Name:         openSUSE Project Signing Key <opensuse@opensuse.org>
  Key Algorithm:    RSA 4096
  Key Created:      Mon 20 Jun 2022 10:03:14 PM PST
  Key Expires:      Fri 19 Jun 2026 10:03:14 PM PST
  Rpm Name:         gpg-pubkey-29b700a4-62b07e22
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/repodata/20af42ddb78c1007237c4a369057b4bbc10d8e54ed6c717045112860eb6db37a-appdata.xml.gz ...........................................[done (2.8 MiB/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/repodata/2051941364fe62f7d03a777ea5154d07606c9697b96a1de379a48506ab927abf-appdata-icons.tar.gz .....................................[done (3.4 MiB/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/repodata/68576e9f7164e77007c8fd698eb41c0f9e727c44b4c96bdf9dadac03ee8a8d1bfba6cca5799222b012f39e3899342306323e5da4541340896c5ffab6fcf[done (7.2 MiB/s)]
Retrieving: http://download.opensuse.org/tumbleweed/repo/oss/repodata/322283f1bf4bec6c9e209da770b7b0d9c018a53971a2bc17aa44222d0dfbecee-susedata.xml.gz ..........................................[done (7.6 MiB/s)]
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata ....................................................................................................................................................[done]
Building repository 'openSUSE-Tumbleweed-Oss' cache .........................................................................................................................................................[done]
Checking whether to refresh metadata for openSUSE-Tumbleweed-Update
Retrieving: http://download.opensuse.org/update/tumbleweed/repodata/repomd.xml ..................................................................................................................[done (2.9 KiB/s)]
Loading repository data...
Reading installed packages...
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...
Force resolution: No
Computing upgrade...

The following 39 packages are going to be upgraded:
  bzip2                           1.0.8-5.3 -> 1.0.8-5.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  gh                              2.23.0-1 -> 2.25.1-1.1              x86_64  openSUSE-Tumbleweed-Oss   -> openSUSE
  hostname                        3.23-2.14 -> 3.23-3.1               x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libbz2-1                        1.0.8-5.3 -> 1.0.8-5.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libbz2-devel                    1.0.8-5.3 -> 1.0.8-5.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libdb-4_8                       4.8.30-40.3 -> 4.8.30-40.4          x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libgcrypt20                     1.10.1-2.3 -> 1.10.1-2.4            x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libhogweed6                     3.8.1-2.3 -> 3.8.1-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libjpeg62                       62.3.0-74.3 -> 62.3.0-74.4          x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libjpeg62-devel                 62.3.0-74.3 -> 62.3.0-74.4          x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libjpeg8                        8.2.2-74.3 -> 8.2.2-74.4            x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libjsoncpp25                    1.9.5-2.3 -> 1.9.5-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  liblua5_4-5                     5.4.4-8.2 -> 5.4.4-9.1              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  liblz4-1                        1.9.4-2.3 -> 1.9.4-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  liblzma5                        5.4.1-2.3 -> 5.4.2-1.1              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libnettle8                      3.8.1-2.3 -> 3.8.1-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libopenjp2-7                    2.5.0-3.3 -> 2.5.0-3.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libopenssl3                     3.0.8-2.3 -> 3.0.8-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libopenssl-3-devel              3.0.8-2.3 -> 3.0.8-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libsqlite3-0                    3.41.0-2.3 -> 3.41.0-2.4            x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libsystemd0                     253.1-2.2 -> 253.1-3.1              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libudev1                        253.1-2.2 -> 253.1-3.1              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libvorbis0                      1.3.7-3.3 -> 1.3.7-3.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libvorbisenc2                   1.3.7-3.3 -> 1.3.7-3.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libz1                           1.2.13-3.3 -> 1.2.13-3.4            x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libzstd1                        1.5.4-2.3 -> 1.5.4-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  libzstd-devel                   1.5.4-2.3 -> 1.5.4-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  net-tools                       2.10-1.13 -> 2.10-2.1               x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  openssl-3                       3.0.8-2.3 -> 3.0.8-2.4              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  openSUSE-release                20230321-2175.1 -> 20230322-2177.1  x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  openSUSE-release-appliance-wsl  20230321-2175.1 -> 20230322-2177.1  x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  pam                             1.5.2-13.2 -> 1.5.2-14.1            x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  pam-config                      1.9-1.2 -> 2.1-1.1                  x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  sqlite3-devel                   3.41.0-2.3 -> 3.41.0-2.4            x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  systemd                         253.1-2.2 -> 253.1-3.1              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  udev                            253.1-2.2 -> 253.1-3.1              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  xz                              5.4.1-2.3 -> 5.4.2-1.1              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  xz-devel                        5.4.1-2.3 -> 5.4.2-1.1              x86_64  openSUSE-Tumbleweed-Oss  openSUSE
  zlib-devel                      1.2.13-3.3 -> 1.2.13-3.4            x86_64  openSUSE-Tumbleweed-Oss  openSUSE

The following product is going to be upgraded:
  openSUSE Tumbleweed  20230321-0 -> 20230322-0  x86_64  openSUSE-Tumbleweed-Oss  openSUSE

The following package is going to change vendor:
  gh  2.23.0-1 -> 2.25.1-1.1  x86_64  openSUSE-Tumbleweed-Oss   -> openSUSE

39 packages to upgrade, 1 to change vendor.
Overall download size: 27.3 MiB. Already cached: 0 B. After the operation, additional 4.4 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): ^C

@Preschool3886 yes switch to ‘openSUSE’ which is the standard openSUSE Tumbleweed oss repo.

Thanks!

BTW I still have i586 packages and i386 from other repo

❯ zypper pa -r gh-cli
Loading repository data...
Reading installed packages...
S | Repository                  | Name | Version  | Arch
--+-----------------------------+------+----------+-------
v | packages for the GitHub CLI | gh   | 2.23.0-1 | x86_64
v | packages for the GitHub CLI | gh   | 2.23.0-1 | i386

~ took 2s
❯ zypper pa -r devel_tools_scm
Loading repository data...
Reading installed packages...
S  | Repository                                              | Name                                   | Version                              | Arch
---+---------------------------------------------------------+----------------------------------------+--------------------------------------+-------
   | Software configuration management (openSUSE_Tumbleweed) | act                                    | 0.2.34-13.15                         | x86_64
   | Software configuration management (openSUSE_Tumbleweed) | act                                    | 0.2.34-13.15                         | i586
   | Software configuration management (openSUSE_Tumbleweed) | arcanist                               | 0.0~git.20220517T162014~85c953e-23.8 | noarch
   | Software configuration management (openSUSE_Tumbleweed) | archzoom                               | 0.5.1-157.63                         | noarch
   | Software configuration management (openSUSE_Tumbleweed) | bash-git-prompt                        | 2.7.1-7.52                           | noarch
   | Software configuration management (openSUSE_Tumbleweed) | blame                                  | 1.3.1+t20221108-1.10                 | x86_64
   | Software configuration management (openSUSE_Tumbleweed) | blame                                  | 1.3.1+t20221108-1.10                 | i586
   | Software configuration management (openSUSE_Tumbleweed) | blame-debuginfo                        | 1.3.1+t20221108-1.10                 | x86_64
   | Software configuration management (openSUSE_Tumbleweed) | blame-debuginfo                        | 1.3.1+t20221108-1.10                 | i586
   | Software configuration management (openSUSE_Tumbleweed) | blame-debugsource                      | 1.3.1+t20221108-1.10                 | x86_64
   | Software configuration management (openSUSE_Tumbleweed) | blame-debugsource                      | 1.3.1+t20221108-1.10                 | i586
   | Software configuration management (openSUSE_Tumbleweed) | breezy                                 | 3.3.2-28.18                          | x86_64
   | Software configuration management (openSUSE_Tumbleweed) | breezy                                 | 3.3.2-28.10                          | i586

@Preschool3886 just manually delete them. Probably easier to search in YaST and select to remove.

1 Like

Got it, thanks for the help