Bug 20853

Summary: After 5-6 upgrade, claws-mail-fancy-plugin is a lower version than all other claws-mail pkgs, so does not work.
Product: Mageia Reporter: Lewis Smith <lewyssmith>
Component: RPM PackagesAssignee: Jani Välimaa <jani.valimaa>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: cae, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: claws-mail CVE:
Status comment:
Attachments: All log files from 5-6 Upgrade which left claws-mail-fancy-plugin outdated

Description Lewis Smith 2017-05-13 21:40:05 CEST
Description of problem:
claws-mail-fancy-plugin (HTML viewer) does not work.

All claws-mail... pkgs are at version 3.15.0-3 *except* the fancy HTML viewer plugin, which alone is at version 3.11.1-3.1 . This stops it working: claws-mail complains that it is more recent than the plugin. So HTML messages are not viewable as such, just the raw HTML.

Version-Release number of selected component (if applicable):
M5 -> M6 Upgrade from RC Classic ISO dated 8 May.
To confirm on a directly installed M6 RC system.
Comment 1 Marja Van Waes 2017-05-13 21:55:39 CEST
claws-mail-fancy-plugin is version 3.15.0-3, on the mirrors, too
ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/claws-mail-fancy-plugin-3.15.0-3.mga6.i586.rpm
Or are you talking about what's on the isos?

The May 8 isos only contain:

claws-mail-3.15.0
claws-mail-bogofilter-plugin-3.15.0
claws-mail-pgpcore-plugin-3.15.0
claws-mail-pgpmime-plugin-3.15.0

But the screen to add online media should be available in installer.
And else the first updates after install should pull in claws-mail-fancy-plugin-3.15.0-3.mga6
(Assigning to the claws-mail maintainer, anyway, in case I misunderstand something)

Assignee: bugsquad => jani.valimaa
CC: (none) => marja11
Source RPM: (none) => claws-mail

Comment 2 Lewis Smith 2017-05-14 09:48:29 CEST
This problem arose after an UPGRADE 5->6, the system already having
claws-mail-fancy-plugin installed, which somehow did not get upgraded with everything else. During the upgrade, I *did* add on-line media; but declined the system update.

In the upgraded system (not updated), I checked claws-mail with Add/Remove software since it shows all available packages and their versions. It is that which showed versions as described, suggesting that updating the system would not have made any difference for this thing. Perhaps it would have; if so, sorry.

OTOH I have just checked from a directly installed Classic M6, and here (but not installed) claws-mail-fancy-plugin *is* shown at version 3.15.0-3.

I will re-try this upgrade after next Classic ISO release, and check it again. I no longer have the upgraded system. Until then @maintainer, do nothing!
I have modified the bug title appropriately.

Summary: Mageia 6 claws-mail-fancy-plugin is a lower version than all other claws-mail pkgs, so does not work. => After 5-6 upgrade, claws-mail-fancy-plugin is a lower version than all other claws-mail pkgs, so does not work.

Comment 3 Lewis Smith 2017-05-15 21:27:34 CEST
Have re-run the upgrade from up-to-date Mageia 5 to Mageia 6 using the Classic ISO dated 14 May. This time I had emptied /root/drakx beforehand, so all log files are for the upgrade. As before, added on-line media during installation. This time I also updated the system during the installation. Same problem after re-boot.
I have all the upgrade log files which I will upload as an attachment, 3/4Mb zip file.

 $ rpm -qa | grep claws-mail
 claws-mail-bogofilter-plugin-3.15.0-3.mga6
 claws-mail-fancy-plugin-3.11.1-3.1.mga5
 claws-mail-pgpmime-plugin-3.15.0-3.mga6
 claws-mail-pgpcore-plugin-3.15.0-3.mga6
 claws-mail-3.15.0-3.mga6
Equally, add/remove software shows *all* claws-mail pkgs as 3.15.0-3.mga6
*except* claws-mail-fancy-plugin as 3.11.1-3.1.mga5
but note Comment 2 re a pure installed Mageia 6 system.
I had not noticed the *mga5* suffix before. I do not expect this pkg to be on the ISO (Comment 1), but neither is much of my system. I guess the updates are done from on-line repos.

To see what would happen, and hoping it will aid an explanation:
 # urpme claws-mail-fancy-plugin
wrthi'n tynnu claws-mail-fancy-plugin-3.11.1-3.1.mga5.x86_64
 # urpmi claws-mail-fancy-plugin
    $MIRRORLIST: media/core/release/claws-mail-fancy-plugin-3.15.0-3.mga6.x86_64.rpm
wrthi'n gosod claws-mail-fancy-plugin-3.15.0-3.mga6.x86_64.rpm o /var/cache/urpmi/rpms

Problem solved! Add/remove software now shows claws-mail-fancy-plugin as 3.15.0-3 like everything else. And Claws-mail no longer complains, and the plugin works again.
Comment 4 Lewis Smith 2017-05-15 21:35:46 CEST
Created attachment 9306 [details]
All log files from 5-6 Upgrade which left claws-mail-fancy-plugin outdated

See previous comments for details. This file is a zip of all /root/drakx/ log files from the upgrade. To view, $ unzip -l bufile.zip
Comment 5 Charles Edwards 2017-05-15 22:31:41 CEST
You had claws-mail-fancy-plugin-3.11.1-3.1.mga5 installed in Mga5

You upgraded your system to Mga6 using the the May 8 x86_64 iso
which does not include the claws-mail-fancy-plugin.
For that plugin to be updated during the 5-6 system upgrade you Have to add
an FTP|HTTP mirror at the 'Supplemental media' stage of the installation.

If you added update media at the end of the 5-6 upgrade it will not help as it will only check in 'Update' media 'Core'.

The claws-mail.spec is also partly to blame:
Requires:       %{name} >= %{epoch}:%{version}
that is wrong, it should be:
Requires:       %{name} = %{epoch}:%{version}

CC: (none) => cae

Comment 6 Charles Edwards 2017-05-15 22:36:07 CEST
(In reply to Charles Edwards from comment #5)
 
> 
> If you added update media at the end of the 5-6 upgrade it will not help as
> it will only check in 'Update' media 'Core'.

I left the not out.

it will only check in 'Update' media not 'Core'.
Comment 7 Lewis Smith 2017-05-16 08:20:48 CEST
(In reply to Charles Edwards from comment #5)
> You had claws-mail-fancy-plugin-3.11.1-3.1.mga5 installed in Mga5
> You upgraded your system to Mga6 using the the May 8 x86_64 iso
> which does not include the claws-mail-fancy-plugin.
> For that plugin to be updated during the 5-6 system upgrade you Have to add
> an FTP|HTTP mirror at the 'Supplemental media' stage of the installation.
> 
Thank you for this explanation. I have never added a supplmentary remote medium during installation or upgrade simply because I do not know the implications. It looks like it should be (maybe already is) recommended procedure.
So, when I next run the upgrade, I will do that; and if the result is good, close this bug. Give me a day or two.
Comment 8 Lewis Smith 2017-05-17 09:38:04 CEST
Closing this. Re-running the upgrade with on-line medium added yielded a can of worms, but this reported problem was irrelevant. Sorry for the trouble.

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