Install DNF/DNF5 in Opensuse Slowroll? Possible?

I’ve watched a couple of YouTube videos now where person doing the video has claimed they installed dnf in Opensuse and it’s working 100% and they’re getting download speeds around six times compared to zypper.
However I’ve tried following guide posted on the Opensuse wiki. The first problem I run into is the first command:

zypper install dnf rpm-repos-openSUSE-Tumbleweed

What would rpm-repos-openSUSE-Tumbleweed be for Slowroll??. Since it’s not “rpm-repos-openSUSE-Slowroll”

Ok, so according to this page (Install package system:packagemanager:dnf / dnf5) you just do the following:

zypper addrepo https://download.opensuse.org/repositories/system:packagemanager:dnf/openSUSE_Slowroll/system:packagemanager:dnf.repo
zypper refresh
zypper install dnf5

However I get the following eror:

not installable providers: libdnf5-cli2-5.2.3.0-9.5.x86_64[system_packagemanager_dnf]

 Solution 1: Following actions will be done:
  install libdnf5-cli2-5.2.3.0-9.5.x86_64 from vendor obs://build.opensuse.org/system:packagemanager
    replacing libdnf5-cli2-5.2.3.0-1.1.x86_64 from vendor openSUSE
  install libdnf5_2-5.2.3.0-9.5.x86_64 from vendor obs://build.opensuse.org/system:packagemanager
    replacing libdnf5_2-5.2.3.0-1.1.x86_64 from vendor openSUSE
 Solution 2: do not install dnf5-5.2.3.0-9.5.x86_64
 Solution 3: break dnf5-5.2.3.0-9.5.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): ```

Also when I run dnf5 distro-sync i get the following:

      - cannot install both NetworkManager-1.48.8-1.1.x86_64 from openSUSE:update-slowroll and NetworkManager-1.48.6-1.1.x86_64 from u/System
      - cannot install both NetworkManager-1.48.8-1.1.x86_64 from openSUSE:update-slowroll and NetworkManager-1.48.6-1.1.x86_64 from openSUSE:repo-oss
      - cannot install the best update candidate for package NetworkManager-branding-openSUSE-42.1-7.8.noarch
      - cannot install the best update candidate for package NetworkManager-1.48.6-1.1.x86_64
     Problem 2: package openSUSE-release-20240803-3030.9.1.sr20240803.x86_64 from openSUSE:update-slowroll requires distribution-logos-openSUSE-Slowroll, but none of the providers can be installed
      - installed package distribution-logos-openSUSE-Tumbleweed-20240429-1.1.noarch conflicts with distribution-logos provided by distribution-logos-openSUSE-Slowroll-20240429-1.1.noarch from openSUSE:repo-oss
      - cannot install the best update candidate for package openSUSE-release-20240803-3030.8.1.sr20240803.x86_64
      - cannot install the best update candidate for package distribution-logos-openSUSE-Tumbleweed-20240429-1.1.noarch
     Problem 3: problem with installed package
      - installed package NetworkManager-branding-openSUSE-42.1-7.8.noarch requires NetworkManager = 1.48.6, but none of the providers can be installed
      - package NetworkManager-branding-openSUSE-42.1-7.8.noarch from openSUSE:repo-oss requires NetworkManager = 1.48.6, but none of the providers can be installed
      - cannot install both NetworkManager-1.48.8-1.1.x86_64 from openSUSE:update-slowroll and NetworkManager-1.48.6-1.1.x86_64 from @System
      - cannot install both NetworkManager-1.48.8-1.1.x86_64 from openSUSE:update-slowroll and NetworkManager-1.48.6-1.1.x86_64 from openSUSE:repo-oss
      - package NetworkManager-bluetooth-1.48.8-1.1.x86_64 from openSUSE:update-slowroll requires NetworkManager = 1.48.8, but none of the providers can be installed
      - cannot install the best update candidate for package NetworkManager-bluetooth-1.48.6-1.1.x86_64
      - nothing provides libndp.so.0 needed by NetworkManager-1.48.8-1.1.i586 from openSUSE:update-slowroll
    
    Package                                                    Arch         Version                                                    Repository                                Size
    Skipping packages with conflicts:
     distribution-logos-openSUSE-Slowroll                      noarch       20240429-1.1                                               openSUSE:repo-oss                     57.9 KiB
     NetworkManager                                            x86_64       1.48.8-1.1                                                 openSUSE:update-slowroll               6.1 MiB
    Skipping packages with broken dependencies:
     NetworkManager-branding-openSUSE                          noarch       42.1-7.8                                                   openSUSE:repo-oss                     17.9 KiB
     NetworkManager                                            i586         1.48.8-1.1                                                 openSUSE:update-slowroll               6.5 MiB
     NetworkManager-bluetooth                                  x86_64       1.48.8-1.1                                                 openSUSE:update-slowroll              94.1 KiB
     openSUSE-release                                          x86_64       20240803-3030.9.1.sr20240803                               openSUSE:update-slowroll             229.9 KiB````

I get no errors with dnf5 distro-sync --allowerasing  , zypper dup no errors either, just dnf5 distro-sync gives above errors**

I’ve looked/used the following also: SDB:DNF - openSUSE Wiki. Sudo dnf5 distro-sync gives:

      - cannot install both NetworkManager-1.48.8-1.1.x86_64 from openSUSE:update-slowroll and NetworkManager-1.48.6-1.1.x86_64 from u/System
      - cannot install both NetworkManager-1.48.8-1.1.x86_64 from openSUSE:update-slowroll and NetworkManager-1.48.6-1.1.x86_64 from openSUSE:repo-oss
      - cannot install the best update candidate for package NetworkManager-branding-openSUSE-42.1-7.8.noarch
      - cannot install the best update candidate for package NetworkManager-1.48.6-1.1.x86_64
     Problem 2: package openSUSE-release-20240803-3030.9.1.sr20240803.x86_64 from openSUSE:update-slowroll requires distribution-logos-openSUSE-Slowroll, but none of the providers can be installed
      - installed package distribution-logos-openSUSE-Tumbleweed-20240429-1.1.noarch conflicts with distribution-logos provided by distribution-logos-openSUSE-Slowroll-20240429-1.1.noarch from openSUSE:repo-oss
      - cannot install the best update candidate for package openSUSE-release-20240803-3030.8.1.sr20240803.x86_64
      - cannot install the best update candidate for package distribution-logos-openSUSE-Tumbleweed-20240429-1.1.noarch
     Problem 3: problem with installed package
      - installed package NetworkManager-branding-openSUSE-42.1-7.8.noarch requires NetworkManager = 1.48.6, but none of the providers can be installed
      - package NetworkManager-branding-openSUSE-42.1-7.8.noarch from openSUSE:repo-oss requires NetworkManager = 1.48.6, but none of the providers can be installed
      - cannot install both NetworkManager-1.48.8-1.1.x86_64 from openSUSE:update-slowroll and NetworkManager-1.48.6-1.1.x86_64 from @System
      - cannot install both NetworkManager-1.48.8-1.1.x86_64 from openSUSE:update-slowroll and NetworkManager-1.48.6-1.1.x86_64 from openSUSE:repo-oss
      - package NetworkManager-bluetooth-1.48.8-1.1.x86_64 from openSUSE:update-slowroll requires NetworkManager = 1.48.8, but none of the providers can be installed
      - cannot install the best update candidate for package NetworkManager-bluetooth-1.48.6-1.1.x86_64
      - nothing provides libndp.so.0 needed by NetworkManager-1.48.8-1.1.i586 from openSUSE:update-slowroll
    
    Package                                                    Arch         Version                                                    Repository                                Size
    Skipping packages with conflicts:
     distribution-logos-openSUSE-Slowroll                      noarch       20240429-1.1                                               openSUSE:repo-oss                     57.9 KiB
     NetworkManager                                            x86_64       1.48.8-1.1                                                 openSUSE:update-slowroll               6.1 MiB
    Skipping packages with broken dependencies:
     NetworkManager-branding-openSUSE                          noarch       42.1-7.8                                                   openSUSE:repo-oss                     17.9 KiB
     NetworkManager                                            i586         1.48.8-1.1                                                 openSUSE:update-slowroll               6.5 MiB
     NetworkManager-bluetooth                                  x86_64       1.48.8-1.1                                                 openSUSE:update-slowroll              94.1 KiB
     openSUSE-release                                          x86_64       20240803-3030.9.1.sr20240803                               openSUSE:update-slowroll             229.9 KiB

**dnf5 distro-sync --allowerasing  (no errors), zypper dup no errors either, just dnf5 distro-sync gives above errors**

It is not an error. It is a question. You need to decide and inform zypper of your decision.

Start with

zypper lr -d
1 Like

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

–±--------------------------±----------------------------------------±--------±----------±--------±---------±-------±------------------------------------------------------------------------------------------±--------
1 | openSUSE:repo-non-oss | repo-non-oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/slowroll/repo/non-oss | openSUSE
2 | openSUSE:repo-openh264 | repo-openh264 | Yes | (r ) Yes | Yes | 99 | rpm-md | Index of /openh264/openSUSE_Tumbleweed | openSUSE
3 | openSUSE:repo-oss | repo-oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/slowroll/repo/oss | openSUSE
4 | openSUSE:repo-oss-debug | repo-oss-debug | No | ---- | ---- | 99 | N/A | http://download.opensuse.org/debug/slowroll/repo/oss | openSUSE
5 | openSUSE:repo-oss-source | repo-oss-source | No | ---- | ---- | 99 | N/A | http://download.opensuse.org/source/slowroll/repo/oss | openSUSE
6 | openSUSE:update-slowroll | update-slowroll | Yes | (r ) Yes | Yes | 80 | rpm-md | http://download.opensuse.org/update/slowroll/repo/oss | openSUSE
7 | system_packagemanager_dnf | DNF Package Manager (openSUSE_Slowroll) | Yes | (r ) Yes | No | 79 | rpm-md | https://download.opensuse.org/repositories/system:/packagemanager:/dnf/openSUSE_Slowroll/ |

For btter communication between you and the other mebers of the forum: Posting code or preformatted text - Using Discourse - Discourse Meta

1 Like

Perhaps try removing this repo. In the wiki, it says for TW (which implies Slowroll) additional repos are not required for dnf installation.

The packages dnf & rpm-repos-openSUSE-Tumbleweed are available in the standard repos on my Slowroll machine.

ok

That’s whats recommended here ( [ Add repository and install manually
]):

https://software.opensuse.org/download/package?package=dnf5&project=system%3Apackagemanager%3Adnf

You have repositories for Slowroll but installed package(s) from Tumbleweed. You need to decide what you want to use and align your installed packages with your repositories.

th

only one is OPI.

That’s the “easy” install method, it’s convenient but using that regularly you’ll end up with a repo for every software you install and the system will be messy! :warning:

@Spaceboy You would want to verify if the switch to Slowroll from TW was done correctly. Otherwise you might be running into issues related to that.

From my personal notes:

Steps overview:
1. Change repos to Slowroll
2. Logout of DE and switch to console tty1
3. nmtui > activate wireless connection
4. Refresh repos
5. Try to async ref/dup-download, may fail on conflicts that have to be manually resolved
6. zypper dup with allow downgrade/name/vendor/arch change
7. Do systemctl poweroff and then a cold boot
8. If stuck to older kernel version (pbl --default-settings), force reinstall kernel-default package
9. Do zypper dup with allow downgrade/name/vendor/arch change again and do zypper inr

I installed Fresh from SlowRoll ISO file.

In that case, you can go ahead with removing that new dnf repo you added, fixing existing package conflicts if any using zypper and then installing dnf again, this time using default repos only.

You might also want to look into non-interactive updates, I thought zypper downloads were slow as well when I first migrated to openSUSE earlier this year and even spent quite a lot of time writing an async download program, but I rarely install new packages now that I have the system set up and with non-interactive updates I don’t sit around and manage the updates either. What I’m trying to say is the download speed or lack thereof is not a concern once you have the system set up the way you like it.

Ok, done that. Only issue with dnf5 I’ve noticed is when I do dnf5 dsync it wants to download stuff from packman that zypper doesn’t download. Maybe a priority issue I guess.

did that, all good except when i try to run “sudo dnf up-min”. Spits out the following :

Repository ‘packman’ is missing name in configuration, using id.
Last metadata expiration check: 5:28:57 ago on Thu 22 Aug 2024 01:48:48 BST.
allow_vendor_change is disabled. This option is currently not supported for downgrade and distro-sync commands
No security updates needed, but 28 updates available
History database is not writable: SQLite error on “/usr/lib/sysimage/dnf/history.sqlite”: Executing an SQL statement failed: no such table: config
History database is not writable: SQLite error on “/usr/lib/sysimage/dnf/history.sqlite”: Executing an SQL statement failed: no such table: config
Error: SQLite error on “/usr/lib/sysimage/dnf/history.sqlite”: Executing an SQL statement failed: no such table: config

Any suggestions?? Is this a dnf issue or a dnf running in opensuse issue? Or is there likely a simple fix?

All TW/Slowroll updates are to be made using dup in zypper, so the corresponding command in dnf would be distro-sync.

1 Like

Yes, correct. But a couple of comments on YouTube suggested dnf min-up (which gets only essential application updates, security updates etc) works fine in Opensuse too once dnf is installed.

That runs the risk of issues with a mix of untested major and minor components. openQA, openSUSE’s automated testing system tests a snapshot together with all its components to make sure they all work together. There are test recipes for certain scenarios to ensure basic system functionality is not broken with a new snapshot release. Deviating from this may lead to weird issues :person_shrugging:

There is no such distribution. There is openSUSE community that makes available several very different distributions - Leap, Tumbleweed, Slowroll, etc. Handling of which is very different.

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