Bug 24674 - mtink script failure when upgrading from Mageia 6 XFCE to Mageia 7 from beta3 round 3 iso in VirtualBox
Summary: mtink script failure when upgrading from Mageia 6 XFCE to Mageia 7 from beta3...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-04-16 00:37 CEST by Thomas Andrews
Modified: 2019-06-10 21:18 CEST (History)
7 users (show)

See Also:
Source RPM: mtink-1.0.16-16.mga6,mtink-1.0.16-18.mga7
CVE:
Status comment:


Attachments

Description Thomas Andrews 2019-04-16 00:37:56 CEST
Description of problem:
When I do an upgrade install of a Mageia 6 64-bit Xfce guest in VirtualBox, using the M7 beta3 Round 3 Classical iso, near the end I encounter a script failure message for mtink-1.0.16-16.mga6.x86_64. I saw this with two separate upgrades.

The original guest was created from the 6.1 Xfce LIVE iso, and fully updated before proceeding with the upgrade.

I was able to complete the upgrade without further incident, and the result showed no ill effects. However, that is probably because mtink is a configuration tool for Epson printers, and I do not have one.
Comment 1 Marja Van Waes 2019-04-17 07:40:47 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.
Also CC'ing two committers.

Assignee: bugsquad => pkg-bugs
CC: (none) => loginov_alex, marja11, smelror

Comment 2 Thomas Andrews 2019-05-29 03:50:08 CEST
Still in effect in the RC round 4 isos.
Marcel Raad 2019-05-31 07:24:52 CEST

CC: (none) => marci_r

Comment 3 Martin Whitaker 2019-06-01 12:26:12 CEST
The bug is that the post-uninstall script for the mtink package attempts to restart the mtinkd service after the package has been updated. When using the classical installer ISO to upgrade, the target system is not running, so restarting the service fails. The fix is to ignore the error, as is already done in the post-install script.

The mga6 package needs to be updated to fix this bug. There are no functional changes to the package. If the mtinkd service was running before the update, it should still be running afterwards, and vice-versa. As I don't own an Epsom inkjet printer, I can't test much else.

Suggested Advisory
==================

Updated mtink package prevents 'script failed' error when using the classical installer ISO to upgrade to Mageia 7.

SRPMs
=====
mtink-1.0.16-17.mga6.src.rpm

i586
====
mtink-1.0.16-17.mga6.i586.rpm

x86_64
======
mtink-1.0.16-17.mga6.x86_64.rpm

Assignee: pkg-bugs => qa-bugs
Source RPM: (none) => mtink-1.0.16-16.mga6,mtink-1.0.16-18.mga7
Status: NEW => ASSIGNED
CC: (none) => mageia
Component: Installer => RPM Packages
Whiteboard: (none) => MGA6TOO

Comment 4 Thomas Andrews 2019-06-01 13:34:22 CEST
Martin, do you know if this package affects other Epson peripherals, like scanners? Or is it just printers?

I have neither, so I can't test it. But, I can put out a call to QA. If scanners are affected too, it would widen the possibility of finding a tester.
Comment 5 Thomas Andrews 2019-06-01 13:41:26 CEST
Never mind. I should have checked with DuckDuckGo before asking. It just affects printers. According to one Debian site, it affects mostly Epsons, though some HP and Canon models are also supported. (They didn't say which ones.)
Comment 6 Thomas Andrews 2019-06-02 23:08:29 CEST
Confirmed that updating the Mga6 package results in eliminating the script error message. I saw that mtink was installed from the RC iso, and then updated later from online. At the end of the very smooth upgrade, mtink-1.0.16-18.mga7 had been installed.

If no one steps forward in the next day or two to test the Epson functions, I will OK and verify on the basis of a clean install.
Comment 7 Thomas Backlund 2019-06-03 20:28:16 CEST
pushed in cauldron by akien on 01-06-2019

CC: (none) => tmb
Version: Cauldron => 6
Whiteboard: MGA6TOO => (none)

Comment 8 Thomas Andrews 2019-06-04 03:10:00 CEST
Validating for MGA6. Advisory in Comment 3.

Keywords: (none) => validated_update
Whiteboard: (none) => MGA6-64-OK
CC: (none) => sysadmin-bugs

Thomas Backlund 2019-06-10 20:37:18 CEST

Keywords: (none) => advisory

Comment 9 Mageia Robot 2019-06-10 21:18:04 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0041.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


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