Cant update tor on fedora 43, missing dependencies

Helo all!

Ran into a bit of an issue after upgrading fedora 1st from 40→42, then 42→43 (its a long story why i didnt do it sooner before 40 eol). Everything went fine, except for updating tor. When i try to update it with dnf i get this:

root@fedora-s-1vcpu-1gb-fra1-01 ~]# dnf update -y
Updating and loading repositories:
 Fedora 43 - x86_64 - Updates                                                                           100% |  13.7 KiB/s |   5.1 KiB |  00m00s
 DigitalOcean Droplet Agent                                                                             100% | 111.4 KiB/s |   3.5 KiB |  00m00s
Repositories loaded.
Problem: package tor-0.4.8.21-1.fc43.x86_64 from tor requires group(toranon), but none of the providers can be installed
  - package tor-0.4.8.21-1.fc43.x86_64 from tor requires user(toranon), but none of the providers can be installed
  - cannot install both tor-0.4.8.21-1.fc43.x86_64 from tor and tor-0.4.8.17-3.fc43.x86_64 from @System
  - cannot install both tor-0.4.8.17-3.fc43.x86_64 from fedora and tor-0.4.8.21-1.fc43.x86_64 from tor
  - cannot install the best update candidate for package tor-0.4.8.17-3.fc43.x86_64

Tried google but i havent found anything that is similar to my case….

3 Likes

There seems to be something wrong with your Fedora repository configuration. Usually on a standard Fedora 43 installation, at least two repositories are enabled, one “Fedora 43” (Fedora repository) and one “Fedora 43 - Updates” (Fedora updates repository). But “Fedora 43” didn’t seem to be fetch when you run dnf update on your VPS.
Can you show me the file content of /etc/yum.repos.d/fedora.repo?

Fedora repository
Fedora updates repository

Here you go:

[root@fedora-s-1vcpu-1gb-fra1-01 ~]# cat /etc/yum.repos.d/fedora.repo
[fedora]
name=Fedora $releasever - $basearch
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
countme=1
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

[fedora-source]
name=Fedora $releasever - Source
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

Now to think of it i shouldve tacked “–refresh” at the end to force dnf to not use the cache:

[root@fedora-s-1vcpu-1gb-fra1-01 ~]# dnf update -y --refresh
Updating and loading repositories:
 Fedora 43 - x86_64 - Updates                                                                                         100% |   4.1 KiB/s |   6.6 KiB |  00m02s
 Fedora 43 - x86_64                                                                                                   100% |  18.0 KiB/s |  23.3 KiB |  00m01s
 Tor for Fedora 43 - x86_64                                                                                           100% |  44.9 KiB/s |   3.0 KiB |  00m00s
 DigitalOcean Droplet Agent                                                                                           100% |  51.6 KiB/s |   3.5 KiB |  00m00s
 Fedora 43 openh264 (From Cisco) - x86_64                                                                             100% |   1.8 KiB/s | 986.0   B |  00m01s
Repositories loaded.
Problem: package tor-0.4.8.21-1.fc43.x86_64 from tor requires group(toranon), but none of the providers can be installed
  - package tor-0.4.8.21-1.fc43.x86_64 from tor requires user(toranon), but none of the providers can be installed
  - cannot install both tor-0.4.8.21-1.fc43.x86_64 from tor and tor-0.4.8.17-3.fc43.x86_64 from @System
  - cannot install both tor-0.4.8.21-1.fc43.x86_64 from tor and tor-0.4.8.17-3.fc43.x86_64 from fedora
  - cannot install the best update candidate for package tor-0.4.8.17-3.fc43.x86_64

Package                                              Arch         Version                                               Repository                        Size
Skipping packages with conflicts:
 tor                                                 x86_64       0.4.8.21-1.fc43                                       tor                           33.0 MiB
Skipping packages with broken dependencies:
 tor                                                 x86_64       0.4.8.21-1.fc43                                       tor                           33.0 MiB

Nothing to do.


1 Like

Same problem over here, same configuration. so something seems wrong in the repo

Hmm… The repository configuration seems correct. I’ll test some more to see what is going on.

sudo dnf install tor --repo=tor
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests

nothing provides group(toranon) needed by tor-0.4.8.19-1.fc43.x86_64 from tor

nothing provides torsocks needed by tor-0.4.8.19-1.fc43.x86_64 from tor

nothing provides user(toranon) needed by tor-0.4.8.19-1.fc43.x86_64 from tor

nothing provides group(toranon) needed by tor-0.4.8.20-1.fc43.x86_64 from tor

nothing provides torsocks needed by tor-0.4.8.20-1.fc43.x86_64 from tor

nothing provides user(toranon) needed by tor-0.4.8.20-1.fc43.x86_64 from tor

nothing provides group(toranon) needed by tor-0.4.8.21-1.fc43.x86_64 from tor

nothing provides torsocks needed by tor-0.4.8.21-1.fc43.x86_64 from tor

nothing provides user(toranon) needed by tor-0.4.8.21-1.fc43.x86_64 from tor
You can try to add to command line:
–skip-broken to skip uninstallable packages


it would be nice that after the gpg problem earlier this year, that we finally get a working repo for fedora.

Could you uninstall then reinstall tor? And don’t forget to backup the data. I also encountered Skipping packages with conflicts before.

Something’s wrong with this repo. Just installed f43 myself and I can’t update from this repo, either.

root@fedora:~# dnf install --best tor
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: package tor-0.4.8.21-1.fc43.x86_64 from tor requires group(toranon), but none of the providers can be installed
  - package tor-0.4.8.21-1.fc43.x86_64 from tor requires user(toranon), but none of the providers can be installed
  - cannot install both tor-0.4.8.21-1.fc43.x86_64 from tor and tor-0.4.8.17-3.fc43.x86_64 from fedora
  - cannot install the best candidate for the job
You can try to add to command line:
  --no-best to not limit the transaction to the best candidates
  --skip-broken to skip uninstallable packages
root@fedora:~# dnf install tor
Updating and loading repositories:
Repositories loaded.
Problem: package tor-0.4.8.21-1.fc43.x86_64 from tor requires group(toranon), but none of the providers can be installed
  - package tor-0.4.8.21-1.fc43.x86_64 from tor requires user(toranon), but none of the providers can be installed
  - cannot install both tor-0.4.8.21-1.fc43.x86_64 from tor and tor-0.4.8.17-3.fc43.x86_64 from fedora
  - cannot install the best candidate for the job

Package                                             Arch         Version                                              Repository                        Size
Installing:
 tor                                                x86_64       0.4.8.17-3.fc43                                      fedora                        28.7 MiB
Installing dependencies:
 torsocks                                           x86_64       2.4.0-10.fc43                                        fedora                       152.7 KiB
Skipping packages with conflicts:
 tor                                                x86_64       0.4.8.21-1.fc43                                      tor                           33.0 MiB
Skipping packages with broken dependencies:
 tor                                                x86_64       0.4.8.21-1.fc43                                      tor                           33.0 MiB

Transaction Summary:
 Installing:         2 packages
 Skipping:           2 packages

Total size of inbound packages is 4 MiB. Need to download 4 MiB.
After this operation, 29 MiB extra will be used (install 29 MiB, remove 0 B).
Is this ok [y/N]: 

Still doesn’t work. dnf skipped the conflicting version in Tor repository and installed Tor from Fedora’s repository.

Updating and loading repositories:
Repositories loaded.
Problem: package tor-0.4.8.21-1.fc43.x86_64 from tor requires group(toranon), but none of the providers can be installed
  - package tor-0.4.8.21-1.fc43.x86_64 from tor requires user(toranon), but none of the providers can be installed
  - cannot install both tor-0.4.8.21-1.fc43.x86_64 from tor and tor-0.4.8.17-3.fc43.x86_64 from fedora
  - cannot install the best candidate for the job

Package                                             Arch         Version                                              Repository                        Size
Installing:
 tor                                                x86_64       0.4.8.17-3.fc43                                      fedora                        28.7 MiB
Installing dependencies:
 torsocks                                           x86_64       2.4.0-10.fc43                                        fedora                       152.7 KiB
Skipping packages with conflicts:
 tor                                                x86_64       0.4.8.21-1.fc43                                      tor                           33.0 MiB
Skipping packages with broken dependencies:
 tor                                                x86_64       0.4.8.21-1.fc43                                      tor                           33.0 MiB

this is exactly what I showed in my code. So we are already 3 people having the same problem with the same official repo