Bug 6730

Summary: telegram-desktop depends on a fixed version of qt
Product: Fedora Reporter: Egor <iamsupermouse>
Component: telegram-desktopAssignee: Vitaly <vitaly>
Status: RESOLVED FIXED    
Severity: enhancement CC: alexfails, geraldo.simiao.kutz, teohhanhui, vascom2
Priority: P1    
Version: f38   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Egor 2023-07-28 11:24:35 CEST
telegram-desktop appears to depend on qt6-qtbase=6.5.1, instead of >=6.5.1. Is there a reason it requires a fixed version, or is it a mistake? This causes warning during updates:

    $ sudo dnf upgrade
    Last metadata expiration check: 0:39:26 ago on Fri Jul 28 11:40:52 2023.
    Dependencies resolved.

     Problem 1: package telegram-desktop-4.8.4-2.fc38.x86_64 from @System requires qt6-qtbase(x86-64) = 6.5.1, but none of the providers can be installed
      - cannot install both qt6-qtbase-6.5.2-1.fc38.x86_64 from updates and qt6-qtbase-6.5.1-2.fc38.x86_64 from @System
      - cannot install the best update candidate for package telegram-desktop-4.8.4-2.fc38.x86_64
      - cannot install the best update candidate for package qt6-qtbase-6.5.1-2.fc38.x86_64
     Problem 2: problem with installed package telegram-desktop-4.8.4-2.fc38.x86_64
      - package telegram-desktop-4.8.4-2.fc38.x86_64 from @System requires qt6-qtbase(x86-64) = 6.5.1, but none of the providers can be installed
      - package telegram-desktop-4.8.4-2.fc38.x86_64 from rpmfusion-free-updates requires qt6-qtbase(x86-64) = 6.5.1, but none of the providers can be installed
      - package qt6-qtbase-6.5.1-2.fc38.x86_64 from @System requires qt6-qtbase-common = 6.5.1-2.fc38, but none of the providers can be installed
      - cannot install both qt6-qtbase-common-6.5.2-1.fc38.noarch from updates and qt6-qtbase-common-6.5.1-2.fc38.noarch from @System
      - cannot install the best update candidate for package qt6-qtbase-common-6.5.1-2.fc38.noarch
Comment 1 Vasiliy Glazov 2023-07-28 11:31:29 CEST
telegram-desktop use Qt6 private functions so must require fixed version of Qt.
Comment 2 Egor 2023-07-28 20:32:27 CEST
Ah, I see. This is unfortunate.

dnf-dragora updater (the gui for dnf used by default by the xfce fedora spin) outright tried to uninstall telegram-desktop because of this when performing an update.
Comment 3 Geraldo Simiao 2023-07-29 00:13:37 CEST
New qt6 already reached stable repo https://bodhi.fedoraproject.org/updates/FEDORA-2023-9d842fee85

Please rebuild telegram-desktop for f38
Comment 4 Vasiliy Glazov 2023-07-29 01:34:52 CEST
Built for F38
https://koji.rpmfusion.org/koji/taskinfo?taskID=603762
Comment 5 Geraldo Simiao 2023-07-29 04:30:08 CEST
Excellent, thanks :)