[mythtv-users] recent conflict python3-mysqlclient vs python3-mysql
Eyal Lebedinsky
eyal at eyal.emu.id.au
Sun Dec 18 21:47:58 UTC 2022
On 19/12/2022 04.59, Patrick Mansfield via mythtv-users wrote:
> On Sun, Dec 18, 2022 at 04:31:25PM +1100, Eyal Lebedinsky wrote:
>>
>> On 18/12/2022 12.10, Patrick Mansfield via mythtv-users wrote:
>>> Hi -
>>>
>>> I'm hitting this issue too, but I'm trying to do a system upgrade from fc35 to fc37 via:
>>
>> Did you do the swap first? Did it work?
>> sudo dnf swap python3-mysql python3-mysqlclient
>>
>
> No, is that an alternate solution?
>
> But it failed when I tried it. Note this is on FC35:
>
> [root at umbrella ~]# dnf swap python3-mysql python3-mysqlclient
> Last metadata expiration check: 0:49:37 ago on Sun 18 Dec 2022 09:07:38 AM PST.
> Error:
> Problem: problem with installed package python3-MythTV-32.0-1.44.20220625git4cf469cbbf.fc35.noarch
> - package python3-MythTV-32.0-1.44.20220625git4cf469cbbf.fc35.noarch requires python3-mysql, but none of the providers can be installed
> - package python3-MythTV-31.0-20.158.20210711git0680b37c68.fc35.noarch requires python3-mysql, but none of the providers can be installed
> - conflicting requests
> (try to add '--skip-broken' to skip uninstallable packages)
The package is available in the fedora repository
https://fedora.pkgs.org/35/fedora-x86_64/python3-mysqlclient-2.0.3-3.fc35.x86_64.rpm.html
but maybe the package is (incorrectly?) not indicating that one replaces the other.
Worked for me on f36 after a very recent update.
WARNING: I did not try the following
I see earlier in this thread a suggestion to do
rpm --erase --nodeps python3-python
then try to follow with
dnf install python3-mysqlclient
before the upgrade.
HTH
> -- Patrick
>
>>> dnf system-upgrade -y download --refresh --releasever=37
>>>
>>> Any ideas on how to get around the problem as part of the system upgrade?
>>>
>>> This prevents me from even upgrading.
>>>
>>> -- Patrick
>>>
>>> On Thu, Dec 15, 2022 at 08:28:14AM -0500, Chris Candreva wrote:
>>>>
>>>> I performed the ugprade using these commands in "dnf shell":
>>>>
>>>>> remove python3-mysql
>>>>> install python3-mysqlclient
>>>>> upgrade
>>>>> run
>>>>
>>>>
>>>> On Thu, 15 Dec 2022, Eyal Lebedinsky wrote:
>>>>
>>>>> For the last few days dnf finds a conflict (see below) because it wants to
>>>>> install
>>>>>
>>>>> Installing dependencies:
>>>>> Package Architecture Version Repository
>>>>> python3-mysqlclient x86_64 2.0.3-4.fc36 fedora
>>>>>
>>>>> And this seems to be due to an update of a mythtv component from
>>>>> rpmfusion-free-updates.
>>>>> Or a problem with python3-mysql package?
>>>>>
>>>>> How does one proceed?
>>>>>
>>>>> TIA
>>>>>
>>>>> The failure:
>>>>> Running transaction test
>>>>> Error: Transaction test error:
>>>>> file /usr/lib64/python3.10/site-packages/MySQLdb/__init__.py from install of
>>>>> python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package
>>>>> python3-mysql-1.4.6-9.fc36.x86_64
>>>>> file
>>>
>>>> --
>>>> ---
>>>> ========================================================================
>>>> Chris Candreva -- chris at westnet.com -- http://www.westnet.com/~chris
>>
>> --
>> Eyal Lebedinsky (eyal at eyal.emu.id.au)
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
--
Eyal Lebedinsky (eyal at eyal.emu.id.au)
More information about the mythtv-users
mailing list