A clue to the old question about no package providing xdg-utils or which

I ran into a weird problem last year with busybox-which.

It can cause conflicts when installing certain applications, such as:

 env LANG=C sudo zypper install simple-scan
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: the to be installed simple-scan-44.0-1.1.x86_64 requires 'xdg-utils', but this requirement cannot be provided
  not installable providers: xdg-utils-1.1.3+20210805-2.2.noarch[repo-oss]
 Solution 1: deinstallation of busybox-which-1.36.0-26.2.noarch
 Solution 2: do not install simple-scan-44.0-1.1.x86_64
 Solution 3: break simple-scan-44.0-1.1.x86_64 by ignoring some of its dependencies

This package also appears to cause the YaST GUI component to fail to start properly.

I found a similar question on the forum at that time:

The problem seems to be solved, but it occasionally pops up again.


I reinstalled my tumbleweed VM today, which was corrupted due to insufficient RAM interrupting system updates.

Then I came across busybox-which, and when I was about to uninstall it, I noticed that zypper reminded me that it removes several other packages.

Among the packages that will be uninstalled appears git-core, a package that I purposely selected when I installed the system.

This made me realize that editing, deleting, or adding packages to be installed by openSUSE when installing a system using an ISO file interferes with the list of packages recommended by openSUSE, resulting in some critical packages being missing.

This can be fixed with zypper inr.

I’d like to reply to the original post about my findings, but it’s been locked.
I hope this helps anyone who has had similar problems.

(~ ̄▽ ̄)~

Do you know why you had busybox-which installed?

# zypper info busybox-which
...
Information for package busybox-which:
--------------------------------------
Repository     : UpdateSLE
Name           : busybox-which
Version        : 1.35.0-150400.4.5.1
Arch           : noarch
Vendor         : SUSE LLC <https://www.suse.com/>
Installed Size : 0 B
Installed      : No
Status         : not installed
Source package : busybox-links-1.35.0-150400.4.5.1.src
Summary        : Busybox applets replacing which
Description    :
    This package contains the symlinks to replace which with busybox.
 # zypper info which
...
Information for package which:
------------------------------
Repository     : OSS
Name           : which
Version        : 2.21-2.20
Arch           : x86_64
Vendor         : SUSE LLC <https://www.suse.com/>
Installed Size : 75.1 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : which-2.21-2.20.src
Upstream URL   : https://savannah.gnu.org/projects/which/
Summary        : Displays where a particular program in your path is located
Description    :
    The which command shows the full pathname of a specified program, if
    the specified program is in your PATH.

I think busybox-which was installed because I chose git-core when I configured the system I wanted to install.

When I try to remove busybox-which, zypper tells me that the dependency it’s trying to clean up contains git-core, a package that isn’t automatically installed by default when installing a new system using an ISO.·

Did you try installing the which rpm first?

I don’t have which installed initially. To reproduce the problem, I need to reinstall the system. I only discovered this “something requires ‘xdg-utils’, but this requirement cannot be provided” error message after installing the system and needing to start YaST.

So I titled this post as it is a clue to a problem that has come up before but not many people have encountered.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.