View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011287 | Account Services | General | public | 2025-12-05 07:10 | 2026-03-02 01:08 |
| Reporter | Paul Newell | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Summary | 0011287: cannot update to 9.7 from 9.6 | ||||
| Description | I am trying to update from 9.6 to 9.7 and hitting an error which I want to run by you to see if you know it and what the best solution is. I don't understand enough to be able to know where your "try to add" suggestions of --allowerasing, --skip-broken, and/or --nobest is appropriate | ||||
| Steps To Reproduce | dnf update Error: Problem: cannot install both python3-websockets-14.2-1.el9_7.x86_64 from appstream and python3-websockets-11.0.3-6.el9.x86_64 from @System - package yt-dlp-2023.10.07-1.el9.noarch from @System requires python3.9dist(websockets), but none of the providers can be installed - cannot install the best update candidate for package python3-websockets-11.0.3-6.el9.x86_64 - problem with installed package yt-dlp-2023.10.07-1.el9.noarch (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) | ||||
| Additional Information | I looked around in both your bug tracker and online in general and didn't spot anything | ||||
| Tags | No tags attached. | ||||
| Checking in as I haven't heard back and I would really like to move up to 9.7 | |
|
Given that we are through the holidays (Christmas, New Year's, and Epiphany (Christmas for some denominations)) and more than a week after the last of the three, I though I would check in on this. Its been over a month and, as I mentioned earlier, I'd like to update to 9.7. The majority of times that I am unable to update are when something is out of sync with something else. I have searched online and cannot find a clue to what happened to cause the error given when I try to update. It looks like there are two "python3-websockets" floating around which are different versions. My skill set at pretending to be a sysAdmin is woefully insufficient to be able to sort what the right things to do is. Thanks in advance, Paul |
|
| Its been a bit over 2 months since I submitted this request for help. If you can't offer me help to figure out what the best way to deal with this is (as I am wary of breaking more things if I take the boiler-plate suggestion that is issued as an error message for "we have a problem"), can you at least offer me a reason why your can't offer a suggestion. If I am going to be stuck on the final release of 9.6 it would be nice to understand why. | |
|
Your problem is rooted in the yt-dlp package. yt-dlp is not a package from the Rocky Linux project. yt-dlp was previously in the EPEL 9 repository, but was replaced with youtube-dl. Remove the yt-dlp package. Install youtube-dl. |
|
|
[first note apparently had a problem and got lost, so retyping -- if you get two versions of this, that's what happened] Brian: Many thanks for reply. As I can see the package with dnf info youtube-dl in 9.6, I presume all I need to do (in this order) is: 1) dnf remove yt-dlp 2) dnf install youtube-dl 3) dnf update Searching online, it looks like yt-dlp is a newer fork of youtube-dl and that a yt-dlp was only introduced in Fedora in f42. So is this switch to youtube-dl "stepping back to an older version" until a yt-dlp shows up in RHEL/EPEL mainline? Once again, really appreciate your stepping in to answer this Paul |
|
|
I'm not sure what the logic is behind removing yt-dlp from EPEL 9. It's still in both EPEL 10 and EPEL 8, so it might be an oversight. I use yt-dlp myself, but I have it installed via pip (eg. pip3 install --upgrade --user "yt-dlp") because YouTube tries to break it fairly often and I wanted to update it without waiting for a package maintainer. I'll mention it in the EPEL Matrix chat and see what happens. |
|
|
Brian: Interesting. I want to draw some conclusions from what you've told me and what I've read online, but I'm certain I would get it wrong. If you can, let me know what you find out. I am assuming that since you didn't correct my three steps, that are correct Thanks, Paul |
|
|
Yes, either replace yt-dlp with youtube-dl using the steps you listed, or `dnf remove yt-dlp; pip3 install --upgrade --user "yt-dlp"` to install it from pip will work. Will update this issue after I find out why yt-dlp was removed in EPEL 9 |
|
|
Brian: This is not a question for you but I need to find someone to explain how this "dnf remove yt-dlp; pip3 install --upgrade --user "yt-dlp"` works as this looks like two updating systems successfully working together. That is new to me. To be honest, I've never used pip3 as I assume that its best to work with what the default (but updated) opSys has for python3. Will hold off on doing anything until I see your update of the issue to make sure I am understanding everything. As mentioned in earlier notes, "My skill set at pretending to be a sysAdmin is woefully insufficient" ... so waiting for the most understanding I can get is imperative. Thanks, Paul |
|
|
They're not really working together. ";" just separates shell commands: # this removes the yt-dlp system package sudo dnf remove yt-dlp # this installs yt-dlp as a pip package for your _user_ # it is not available for other users on your system # it does not clutter your system. it'll just be in your home folder somewhere (eg /home/youruser/.local/bin/yt-dlp) pip3 install --upgrade --user "yt-dlp" |
|
|
Brian: You didn't have to do the work of explaining but I thank you for it and, most importantly, I understand from your explanation what is happening. I still have other question about all this but its late where I am so I should wait until morning. You've gone over and above in offering help on my problem and knowledge to a better understanding of "bigger things". I owe you a beer, as they say Paul |
|
|
I waited until I had done my end-of-the-month archive in case something went wrong and then tried Brian's suggestion. Seemed to work, though the process took over an hour with a bunch of very slow mirrors that dnf had to stop and try a different one. Power cycled and logged in ... things seem to be good. The man page seemed to tell me that "dnf check" would tell me if the update had any issues and it didn't bark about anything. I confirmed a couple video as that change from yt-dlp to youtube-dl was the issue. So, I am just going to continue using and will deal with any issues if and when they come up (which I presume they won't) Thanks to Brian for getting me the workaround to the brickwall of upgrading from 9.6 to 9.7 I think you can close this issue ... though I wouldn't mind getting the answer to the questions Brian was going to look into (but obviously that is a low priority now that I am running on 9.7) |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-12-05 07:10 | Paul Newell | New Issue | |
| 2025-12-09 05:55 | Paul Newell | Note Added: 0012178 | |
| 2026-01-18 03:36 | Paul Newell | Note Added: 0012409 | |
| 2026-02-10 01:40 | Paul Newell | Note Added: 0012574 | |
| 2026-02-11 02:36 | Brian Clemens | Note Added: 0012607 | |
| 2026-02-11 04:45 | Paul Newell | Note Added: 0012640 | |
| 2026-02-11 04:55 | Brian Clemens | Note Added: 0012673 | |
| 2026-02-11 05:01 | Paul Newell | Note Added: 0012674 | |
| 2026-02-11 05:20 | Brian Clemens | Note Added: 0012706 | |
| 2026-02-11 06:36 | Paul Newell | Note Added: 0012739 | |
| 2026-02-11 06:43 | Brian Clemens | Note Added: 0012740 | |
| 2026-02-11 06:51 | Paul Newell | Note Added: 0012741 | |
| 2026-03-02 01:08 | Paul Newell | Note Added: 0012970 |