Dependency is required, but cannot be provided. I don't know how to proceed.

I attempted to update my Tumbleweed system this evening and was presented with the following message after issuing the command ‘sudo zypper dup --no-allow-vendor-change’:

Problem: rednotebook-1.14-1.2.noarch requires python-yaml, but this requirement cannot be provided 
 deleted providers: python-PyYAML-3.12-1.1.x86_64 
Solution 1: Following actions will be done: 
 deinstallation of rednotebook-1.14-1.1.noarch 
 deinstallation of rednotebook-lang-1.14-1.1.noarch 
Solution 2: keep obsolete python-PyYAML-3.12-1.1.x86_64 
Solution 3: break rednotebook-1.14-1.2.noarch by ignoring some of its dependencies

I know I will be asked (and that’s fine!), so here’s the results of my ‘zypper lr’:


# | Alias        | Name                        | Enabled | GPG Check | Refresh
--+--------------+-----------------------------+---------+-----------+--------
1 | packman      | packman                     | Yes     | (r ) Yes  | Yes     
2 | repo-debug   | openSUSE-Tumbleweed-Debug   | No      | ----      | ----
3 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     
4 | repo-oss     | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes     
5 | repo-source  | openSUSE-Tumbleweed-Source  | No      | ----      | ----
6 | repo-update  | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes

And ‘uname -a’:

Linux localhost 4.10.0-1-default #1 SMP PREEMPT Mon Feb 20 16:47:26 UTC 2017 (81ace5a) x86_64 x86_64 x86_64 GNU/Linux

And, lastly, ‘cat /etc/os-release’:

NAME="openSUSE Tumbleweed"
# VERSION="20170226"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="20170226"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20170226"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

I regret to say I just don’t know what to do. I don’t want to break RedNotebook, as you could guess.

There’s a full restructuring of the python packages going on currently, and this can lead to (temporary) problems.

In this particular case: python-PyYAML has been renamed to python2-PyYAML AFACIT.
But apparently rednotebook’s dependencies have not been adjusted.

The python2-PyYAML package does provide python-PyYAML too, but not python-yaml (only python2-yaml).

I think “breaking” rednotebook should work, as only the package name has changed I think.
But if you want to play safe, you may choose “keep old” for now until this is fixed (unless that would cause other conflicts).

And I would recommend to file a bug report about this on http://bugzilla.opensuse.org/.
Either rednotebook’s dependency needs to be corrected, or python2-PyYAML should provide python-yaml too (either instead of or in addition to python2-yaml).

Oof! Sorry about the font of the text in my original post. It looks awful! I don’t know what happened.

Thank you very much for the reply and explanation. I’ll just hold off on updating Tumbleweed for now. I’ve never submitted a bug report before, so it’ll be a new experience for me. I’ll do it.

Well, I just noticed that this has been fixed already:

So no need for a bug report any more, should be fine when the next snapshot is published…

Right on, thanks!