"nothing provides X needed by Y" (dependency issue when installing package)

In trying to install RStudio, I ran into this message:


computername:~ # zypper in rstudio
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libboost_thread.so.1.74.0()(64bit) needed by rstudio-1.3.1073-3.1.x86_64
 Solution 1: do not install rstudio-1.3.1073-3.1.x86_64
 Solution 2: break rstudio-1.3.1073-3.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 1
Resolving dependencies...
Resolving package dependencies...
Nothing to do.
computername:~ # 

Here are my repos:


computername:~ # zypper lr -d
# | Alias                     | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                            | Service
--+---------------------------+-----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------+--------
1 | http-ftp.gwdg.de-b5c053ef | Packman Repository          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ | 
2 | libdvdcss                 | libdvdcss                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/            | 
3 | repo-debug                | openSUSE-Tumbleweed-Debug   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/        | 
4 | repo-non-oss              | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/          | 
5 | repo-oss                  | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/              | 
6 | repo-source               | openSUSE-Tumbleweed-Source  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/       | 
7 | repo-update               | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                | 
computername:~ # 

I’m not sure what to do about this… Does it mean I’m missing a repo? Any help would be appreciated.

Hi
A known issue, see https://forums.opensuse.org/showthread.php/548776-RStudio-Update-Broken-Dependency

You need these: openSUSE Software

Ah… I’m surprised that it’s not my fault. :wink:

Until the bug gets resolved, would it be okay to just install via the rpm? (Do packages installed by rpm get updates via zypper dup?)

@karlmistelberger Thank you, but the thread that malcolmlewis linked to advised against manually installing the libboost package, which is older than the one that Tumbleweed uses.

You can have all versions installed:

**erlangen:~ #** zypper se -is boost 
Loading repository data... 
Reading installed packages... 

S  | Name                           | Type    | Version          | Arch   | Repository 
---+--------------------------------+---------+------------------+--------+------------------------ 
i+ | boost-devel                    | package | 1.75.0-1.1       | noarch | openSUSE-Tumbleweed-Oss 
i+ | boost-jam                      | package | 1.75.0-1.1       | noarch | openSUSE-Tumbleweed-Oss 
i+ | boost-license1_66_0            | package | 1.66.0-lp151.4.5 | noarch | (System Packages) 
i  | boost-license1_75_0            | package | 1.75.0-3.1       | noarch | openSUSE-Tumbleweed-Oss 
i  | boost1_75_0-jam                | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i  | libboost_date_time1_75_0       | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i+ | libboost_filesystem1_66_0      | package | 1.66.0-lp151.4.5 | x86_64 | (System Packages) 
i  | libboost_filesystem1_75_0      | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i  | libboost_headers1_75_0-devel   | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i  | libboost_iostreams1_75_0       | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i  | libboost_locale1_75_0          | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i+ | libboost_program_options1_66_0 | package | 1.66.0-lp151.4.5 | x86_64 | (System Packages) 
i+ | libboost_system1_66_0          | package | 1.66.0-lp151.4.5 | x86_64 | (System Packages) 
i  | libboost_thread1_75_0          | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
**erlangen:~ #**


Do you mean that if I install an old version through an .rpm file, I could later still get newer versions through zypper dup?

A related question–if I install a package through an .rpm file, will it receive updates through zypper? Or is it standalone like installing through a tarball?

Thank you for your help.

Hi
I wouldn’t… :wink: Not sure why running Leap 15.1 rpms is a good idea either…

Better to add a comment in the bug report… and vote it up…

When I Installed R I made zypper happy by installing old boost packages as required.

A related question–if I install a package through an .rpm file, will it receive updates through zypper? Or is it standalone like installing through a tarball?
zypper will update boost packages (#75). It will leave alone the old packages (#66, System Packages).


**erlangen:~ #** zypper se -is boost               
Loading repository data... 
Reading installed packages... 

S  | Name                           | Type    | Version          | Arch   | Repository 
---+--------------------------------+---------+------------------+--------+------------------------ 
i+ | boost-devel                    | package | 1.75.0-1.1       | noarch | openSUSE-Tumbleweed-Oss 
i+ | boost-jam                      | package | 1.75.0-1.1       | noarch | openSUSE-Tumbleweed-Oss **
i+ | boost-license1_66_0            | package | 1.66.0-lp151.4.5 | noarch | (System Packages) **
i  | boost-license1_75_0            | package | 1.75.0-3.1       | noarch | openSUSE-Tumbleweed-Oss 
i  | boost1_75_0-jam                | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i  | libboost_date_time1_75_0       | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss **
i+ | libboost_filesystem1_66_0      | package | 1.66.0-lp151.4.5 | x86_64 | (System Packages) **
i  | libboost_filesystem1_75_0      | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i  | libboost_headers1_75_0-devel   | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i  | libboost_iostreams1_75_0       | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
i  | libboost_locale1_75_0          | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss **
i+ | libboost_program_options1_66_0 | package | 1.66.0-lp151.4.5 | x86_64 | (System Packages) ****
i+ | libboost_system1_66_0          | package | 1.66.0-lp151.4.5 | x86_64 | (System Packages) **
i  | libboost_thread1_75_0          | package | 1.75.0-3.1       | x86_64 | openSUSE-Tumbleweed-Oss 
**erlangen:~ #**


Hi
Your running Leap 15.1 (out of support!!) packages on a Tumbleweed system, please don’t advise users to install potentially insecure packages. Like I indicated a bug report it present, add voice, up vote etc IS the correct way to resolve the issue, not some hack.

I don’t advise. I tell what I did when encountering the same problem some time ago.

Like I indicated a bug report it present, add voice, up vote etc IS the correct way to resolve the issue, not some hack.
Yes. RStudio needs a fix. That may take some time.