Bug 1319915 - liveusb-creator not backwards compatible with Fedora 22 or Fedora 23
Summary: liveusb-creator not backwards compatible with Fedora 22 or Fedora 23
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: liveusb-creator
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1310542
TreeView+ depends on / blocked
 
Reported: 2016-03-21 19:39 UTC by John Reiser
Modified: 2016-09-20 02:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-22 09:43:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1320082 0 unspecified CLOSED qrc:/liveusb.qml:5 module "QtGraphicalEffects" is not installed 2021-02-22 00:41:40 UTC

Internal Links: 1320082

Description John Reiser 2016-03-21 19:39:29 UTC
Description of problem: liveusb-creator-3.91.0-1.fc22.noarch.rpm does not install on Fedora 22; and Fedora 23 has the analogous problem.  The build assumes the environment of Fedora 24, which is not available.


Version-Release number of selected component (if applicable):
liveusb-creator-3.91.0-1.fc22.noarch.rpm

How reproducible: every time


Steps to Reproduce:
1. Using Fedora 22, download liveusb-creator-3.91.0-1.fc22 from https://kojipkgs.fedoraproject.org//packages/liveusb-creator/3.91.0/1.fc22/noarch/liveusb-creator-3.91.0-1.fc22.noarch.rpm
2. Attempt to install over existing liveusb-creator-3.14.2-1.fc22.noarch
3.

Actual results:
[root@f22]# rpm --freshen liveusb-creator-3.91.0-1.fc22.noarch.rpm
error: Failed dependencies:
	PyQt5 is needed by liveusb-creator-3.91.0-1.fc22.noarch
	python-pyquery is needed by liveusb-creator-3.91.0-1.fc22.noarch
	qt5-qtquickcontrols is needed by liveusb-creator-3.91.0-1.fc22.noarch

Fedora 22 has PyQt4-4.11.4-1.fc22.x86_64, but neither python-pyquery nor qt5-qtquickcontrols.

It is unreasonable to expect that anyone with Fedora 22 will install those dependencies.  Please make a backwards-compatible version.

Expected results: successful install without requiring other packages


Additional info: This separate report is derived from info first present in bug 1318494.

Comment 1 Kamil Páral 2016-03-22 09:43:39 UTC
John, I have no idea why you're trying to use rpm command, but you clearly don't know how it works. Please use dnf and everything will work just fine:

$ sudo dnf install https://kojipkgs.fedoraproject.org//packages/liveusb-creator/3.91.0/1.fc22/noarch/liveusb-creator-3.91.0-1.fc22.noarch.rpm
Fedora 22 - x86_64 - Updates                                                     60 MB/s |  22 MB     00:00    
Last metadata expiration check performed 0:00:07 ago on Tue Mar 22 10:39:51 2016.
Dependencies resolved.
================================================================================================================
 Package                              Arch              Version                   Repository               Size
================================================================================================================
Installing:
 geoclue                              x86_64            0.12.99-7.fc22            fedora                  105 k
 liveusb-creator                      noarch            3.91.0-1.fc22             @commandline            880 k
 lxpolkit                             x86_64            0.1.0-10.fc22             fedora                   48 k
 openal-soft                          x86_64            1.16.0-5.fc22             fedora                  292 k
 python-cssselect                     noarch            0.9.1-5.fc22              fedora                   62 k
 python-lxml                          x86_64            3.3.6-1.fc22              fedora                  884 k
 python-pyquery                       noarch            1.2.8-4.fc22              fedora                   42 k
 python-qt5                           x86_64            5.5.1-2.fc22              updates                 3.7 M
 qt5-qtconnectivity                   x86_64            5.5.1-2.fc22              updates                 383 k
 qt5-qtenginio                        x86_64            5.5.0-1.fc22              updates                 162 k
 qt5-qtlocation                       x86_64            5.5.1-2.fc22              updates                 660 k
 qt5-qtmultimedia                     x86_64            5.5.1-4.fc22              updates                 729 k
 qt5-qtquickcontrols                  x86_64            5.5.1-2.fc22              updates                 922 k
 qt5-qtsensors                        x86_64            5.5.1-2.fc22              updates                 192 k
 qt5-qtserialport                     x86_64            5.5.1-2.fc22              updates                  65 k
 qt5-qtsvg                            x86_64            5.5.1-2.fc22              updates                 155 k
 qt5-qttools-common                   noarch            5.5.1-2.fc22              updates                  23 k
 qt5-qttools-libs-clucene             x86_64            5.5.1-2.fc22              updates                  48 k
 qt5-qttools-libs-designer            x86_64            5.5.1-2.fc22              updates                 2.7 M
 qt5-qttools-libs-help                x86_64            5.5.1-2.fc22              updates                 206 k
 qt5-qtwebchannel                     x86_64            5.5.1-2.fc22              updates                  81 k
 qt5-qtwebkit                         x86_64            5.5.1-4.fc22              updates                  11 M
 qt5-qtwebsockets                     x86_64            5.5.1-2.fc22              updates                  74 k
 qt5-qtx11extras                      x86_64            5.5.1-2.fc22              updates                  27 k
 sip                                  x86_64            4.17-1.fc22               updates                 126 k

Transaction Summary
================================================================================================================
Install  25 Packages

Total size: 23 M
Total download size: 22 M
Installed size: 84 M
Is this ok [y/N]: y



Please note that the app actually crashes when run on F22, probably because of an unstated "QtGraphicalEffects" dependency, but that's a separate issue. It can be installed OK.

Comment 2 Kamil Páral 2016-03-22 09:48:13 UTC
(In reply to Kamil Páral from comment #1)
> Please note that the app actually crashes when run on F22, probably because
> of an unstated "QtGraphicalEffects" dependency, but that's a separate issue.

Reported as bug 1320082.

Comment 3 John Reiser 2016-03-22 20:56:30 UTC
(In reply to Kamil Páral from comment #1)
> John, I have no idea why you're trying to use rpm command, but you clearly
> don't know how it works. Please use dnf and everything will work just fine:

I used rpm to illustrate why that version of liveusb-creator is not an app that is designed and implemented for Fedora 22 or Fedora 23.  It is for Fedora 24; it happens to run on Fedora 22 and Fedora 23 only by installing the equivalent environment from Fedora 24, instead of using the environment already present in Fedora 22 and 23.  If it were designed and implemented as an app for Fedora 22 and 23, then the added dependencies would be an empty set, or perhaps one or two packages that grew out of ["extensive"] bug fixing.  Instead the added dependencies are 25 packages and 84MiB.

[BTW, please watch the language you use.  I do know how rpm works.]

Comment 4 Kamil Páral 2016-03-23 08:00:31 UTC
Yes, it has new dependencies because it is a complete app redesign. If you don't like the fact that you need to install some dependencies that you didn't have already, you're not required to use it. 'dd' will work the same, and I'm pretty sure it's already present even in a minimal install.


Note You need to log in before you can comment on or make changes to this bug.