Bug 23652 - DNF broken after installing from DVD iso without updating system prior to use DNF
Summary: DNF broken after installing from DVD iso without updating system prior to use...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: 6
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2018-10-08 12:43 CEST by Mike Burgener
Modified: 2018-10-12 09:22 CEST (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
this shows what is being installed after adding the swisssign repo (59.73 KB, image/png)
2018-10-12 08:48 CEST, Mike Burgener
Details
this shows the resulting konsole error (or any kde/plasma program) (30.16 KB, image/png)
2018-10-12 08:49 CEST, Mike Burgener
Details

Description Mike Burgener 2018-10-08 12:43:39 CEST
If using DNF after installing Mageia 6 from latest .iso DVD for example installing https://update.swisssign.com/repo/ the system brakes (can't even open konsole or any KDE/Plasma Application) as qt seems to be broken.


If installation is done using netinstall or if installing updates prior to use of DNF everything seems to work as expected and packages of for example above repo are installed and usable.


How reproducible:


Steps to Reproduce:
1. install Mageia 6 from latest .iso DVD
2. follow https://update.swisssign.com/repo/manual.html (normal DNF setup to add repository)
3. try to open a konsole or any other plasma application
Mike Burgener 2018-10-08 12:44:07 CEST

Summary: DNF broken after installing from DVD iso without updating system prior to use DNS => DNF broken after installing from DVD iso without updating system prior to use DNF

Mike Burgener 2018-10-08 12:50:54 CEST

CC: (none) => sysadmin-bugs
Priority: Normal => High
Component: RPM Packages => Release (media or process)

Comment 1 Marja Van Waes 2018-10-09 09:39:08 CEST
(In reply to Mike Burgener from comment #0)
> If using DNF after installing Mageia 6 from latest .iso DVD 

Please be more specific. Which exact iso? 

e.g.:

  Mageia-6.1-LiveDVD-Plasma-x86_64-DVD.iso
or 
  Mageia-6-i586-DVD.iso

If not 6.1, then you may have hit an issue with the huge Plasma5 update (which DNF should have handled cleanly, though)

> for example
> installing https://update.swisssign.com/repo/ the system brakes (can't even
> open konsole or any KDE/Plasma Application) as qt seems to be broken.

Oh, I didn't know that tool, we don't mention it in our DNF wiki page https://wiki.mageia.org/en/Using_DNF

CC'ing Mageia's DNF maintainer and ignatenkobrain.

CC: sysadmin-bugs => ignatenko, isobuild, marja11, ngompa13
Keywords: (none) => NEEDINFO

Comment 2 Marja Van Waes 2018-10-12 06:37:59 CEST
Mike, I was going to ask you more questions after your reply, but since you didn't reply, yet, I'll add my next question:

Can you reoroduce this problem with a fresh install after using the instructions in https://wiki.mageia.org/en/Using_DNF instead of installing the swisssign.com tool?
Comment 3 Marja Van Waes 2018-10-12 06:39:06 CEST
s/reoroduce/reproduce/ of course ;-)
Comment 4 Mike Burgener 2018-10-12 08:35:06 CEST
it seems to happen when installing anything using DNF, however let me test first using 6.1 iso's i assume it is fixed with these.
Comment 5 Mike Burgener 2018-10-12 08:36:56 CEST
ok, this testing won't work, as there seem to be only the "Live" iso's around for 6.1?
Comment 6 Mike Burgener 2018-10-12 08:48:36 CEST
Created attachment 10398 [details]
this shows what is being installed after adding the swisssign repo

this shows what is being installed after adding the swisssign repo
Comment 7 Mike Burgener 2018-10-12 08:49:44 CEST
Created attachment 10399 [details]
this shows the resulting konsole error (or any kde/plasma program)
Comment 8 Thomas Backlund 2018-10-12 08:56:59 CEST
is lib64qt5gui5 installed ?

CC: (none) => tmb

Comment 9 Thomas Backlund 2018-10-12 09:00:07 CEST
And is your system fully updated ?

I see in comment 6 that it states "Upgrading…" on some QT packages which seems to point out that your system is not fully updated
Comment 10 Mike Burgener 2018-10-12 09:02:22 CEST
Thomas :D see "If installation is done using netinstall or if installing updates prior to use of DNF everything seems to work as expected and packages of for example above repo are installed and usable."

so yes it seems, the problem occurs when adding a repo in prior of updating mageia itself.

However if so, this should be documented somewhere.
Comment 11 Mike Burgener 2018-10-12 09:06:37 CEST
i am testing now what occurs if i do a dnf update prior to dnf install "foreignqtbasedpackage"
Comment 12 Thomas Backlund 2018-10-12 09:14:43 CEST
Sorry, I read the initial comment too fast... :/

Yeas, we only support fully updated systems, and that has been the case since Mandrake/Mandriva days :)

IIRC it should already be documented, but I dont remember right now ...

The reason you hit this is that we did the big QT update last spring, and the QT stack most definately dont like mixed packages..

Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 13 Mike Burgener 2018-10-12 09:18:57 CEST
perhaps a note on https://wiki.mageia.org/en/Using_DNF to update packages using dnf update before adding new repos and working with them is mandatory would make sense.
Comment 14 Mike Burgener 2018-10-12 09:22:50 CEST
my tests confirm, doing "dnf update" prior to installing a package fixes the issue.

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