Bug 32250 - auto-multiple-choice can't be uninstalled because unpost fails (texconfig-sys rehash)
Summary: auto-multiple-choice can't be uninstalled because unpost fails (texconfig-sys...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8TOO MGA8-64-OK MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-09-05 21:43 CEST by papoteur
Modified: 2023-09-15 23:33 CEST (History)
3 users (show)

See Also:
Source RPM: auto-multiple-choice-1.4.0-6.mga8.x86_64
CVE:
Status comment:


Attachments

Description papoteur 2023-09-05 21:43:57 CEST
Description of problem:
When migrating to Mageia 9, a script fails, thus the mga9 package can't be installed.

The spec file contains a unpost section with:
texconfig-sys rehash
Comment 1 papoteur 2023-09-05 22:13:57 CEST
Using dnf for uninstallation:
  Exécution du scriptlet: auto-multiple-choice-1.4.0-6.mga8.x86_64                                     1/85 
/var/tmp/rpm-tmp.STYibL: ligne 1: texconfig-sys : commande introuvable
attention : %postun(auto-multiple-choice-1.4.0-6.mga8.x86_64) scriptlet échoué, état de sortie 127

texconfig-sys doesn't exist, it is said.
Comment 2 papoteur 2023-09-06 10:34:21 CEST
The command should be:
/usr/share/texmf-dist/scripts/texlive/mktexlsr
from package texlive-collection-basic

Updated in cauldron.

Version: 8 => 9
Whiteboard: (none) => MGA8TOO

Comment 3 Lewis Smith 2023-09-06 20:55:45 CEST
Thank you for the report, of which I am unsure exactly what package is at fault. The one in SRPM (M8), M9, Cauldron.
Does this need to  be corrected in M8 for upgrade to M9?
In comment 2 - where is the command line you cite?

Since you know what this is about, and have done something about it already, can we assign this to you for M9 &/or M8?

Assignee: bugsquad => yvesbrungard

Comment 4 papoteur 2023-09-06 23:19:49 CEST
The command is line 89 and 92 :
https://svnweb.mageia.org/packages/cauldron/auto-multiple-choice/current/SPECS/auto-multiple-choice.spec?view=markup#l89

Package in Mageia 8 and 9 are affected in the same manner, and there is an error when upgrading: https://www.mageialinux-online.org/forum/topic-30835-1+mageai9-une-erreur-durant-la-mise-a-jour.php#m314889

I don't know if this can be updated.
Comment 5 Dave Hodgins 2023-09-07 00:19:02 CEST
Confirmed during install and uninstall of auto-multiple-choice on m8.

As the error during uninstall happens after the package is removed, it can
and should be updated in both m8 and m9. While the same error will show
during the normal updating for those installs, it's better to have it as
part of a normal update then during an upgrade.

CC: (none) => davidwhodgins

Comment 6 papoteur 2023-09-07 10:22:11 CEST
Submitting to QA:

auto-multiple-choice-1.4.0-6.1.mga8
Source: auto-multiple-choice-1.4.0-6.1.mga8.src.rpm

auto-multiple-choice-1.4.0-10.1.mga9
Source: auto-multiple-choice-1.4.0-10.1.mga9.src.rpm

Assignee: yvesbrungard => qa-bugs

Comment 7 papoteur 2023-09-07 10:23:18 CEST
Forgotten a detail.

Assignee: qa-bugs => yvesbrungard

Comment 8 papoteur 2023-09-07 13:27:37 CEST
Submitting to QA:

auto-multiple-choice-1.4.0-6.2.mga8
Source: auto-multiple-choice-1.4.0-6.2.mga8.src.rpm

auto-multiple-choice-1.4.0-10.2.mga9
Source: auto-multiple-choice-1.4.0-10.2.mga9.src.rpm

Assignee: yvesbrungard => qa-bugs

Comment 9 Herman Viaene 2023-09-08 12:13:57 CEST
MGA8-64 Xfce on Acer Aspire 5253
No installation issues
Installs without ptoblems, running it opens a seemingly correct window, closing and uninstalling without any hickup or difficulty.
So OK for M8

Whiteboard: MGA8TOO => MGA8TOO MGA8-64-OK
CC: (none) => herman.viaene

Comment 10 Dave Hodgins 2023-09-11 01:36:21 CEST
Is texlive-collection-basic-20200406-7.1.mga8.noarch.rpm part of this update?
Comment 11 Dave Hodgins 2023-09-11 01:43:52 CEST
Confirming the error is now generated when installing the update in m8,
and that once the update is installed the m9 version installs cleanly over
the m8 version.

Adding ok tags for m9, but waiting for feedback on comment 10.

Keywords: (none) => feedback
Whiteboard: MGA8TOO MGA8-64-OK => MGA8TOO MGA8-64-OK MGA9-64-OK

Comment 12 papoteur 2023-09-11 09:44:02 CEST
(In reply to Dave Hodgins from comment #10)
> Is texlive-collection-basic-20200406-7.1.mga8.noarch.rpm part of this update?

Hi Dave,
No, it isn't. It's a new requirement because it provides the script used in post installation.
Comment 13 Dave Hodgins 2023-09-11 20:12:41 CEST
Thanks. Redid the test using qarepo instead of enabling updates testing as an
updates repo.

Validating

Keywords: feedback => validated_update
CC: (none) => sysadmin-bugs

Dave Hodgins 2023-09-14 20:19:33 CEST

Keywords: (none) => advisory

Comment 14 Mageia Robot 2023-09-15 23:33:33 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0069.html

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


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