Bug 35046 - Scripts fail at installation of lxc
Summary: Scripts fail at installation of lxc
Status: RESOLVED DUPLICATE of bug 32687
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA9
Depends on:
Blocks:
 
Reported: 2026-01-21 10:41 CET by papoteur
Modified: 2026-01-27 21:22 CET (History)
1 user (show)

See Also:
Source RPM: lxc
CVE:
Status comment:


Attachments

Description papoteur 2026-01-21 10:41:14 CET
I have done update today.
I get:
/var/tmp/rpm-tmp.xvhKdS: ligne 1 : fg: pas de contrôle de tâche
/var/tmp/rpm-tmp.xvhKdS: ligne 2 : fg: pas de contrôle de tâche
/var/tmp/rpm-tmp.xvhKdS: ligne 3 : fg: pas de contrôle de tâche
error: %preun(lxc-1:5.0.2-1.mga9.x86_64) scriptlet failed, exit status 1
error: lxc-1:5.0.2-1.mga9.x86_64: erase failed

rpm -qa --last| grep lxc
lxc-5.0.3-1.mga9.x86_64                       ven. 23 févr. 2024 19:13:37
lib64lxc1-5.0.3-1.mga9.x86_64                 ven. 23 févr. 2024 19:13:37

fg: pas de contrôle de tâche is error when a macro is used in a spec file but does not exist.
Comment 1 katnatek 2026-01-21 19:32:31 CET
Is documented in erratas https://bugs.mageia.org/show_bug.cgi?id=32687

FIXED BY UPDATE mga#32687 - lxc 5.0.2-1.mga9 is broken. Updates fixing the issues are available, but it is necessary to take manual actions before installing the packages (see comment 10).
Comment 2 katnatek 2026-01-21 19:34:51 CET
(In reply to katnatek from comment #1)
> Is documented in erratas https://bugs.mageia.org/show_bug.cgi?id=32687
> 
> FIXED BY UPDATE mga#32687 - lxc 5.0.2-1.mga9 is broken. Updates fixing the
> issues are available, but it is necessary to take manual actions before
installing the packages (see bug 32687 comment 10).

I make bugzilla did link to bad bug :P
Comment 3 papoteur 2026-01-22 09:50:39 CET
Ah, thanks, I didn't catch the bug report because searching only to open bugs.
I suggest to leave this one opened with the solution:
> The only way to uninstall the old version of lxc is to run
> "rpm -e --noscripts" lxc, and then install the new version.

> Once the old version has been uninstalled, the new version can be installed
> and uninstalled cleanly.
Comment 4 Lewis Smith 2026-01-22 21:53:59 CET
I will do the M9 ERRATA.

CC: (none) => lewyssmith
Keywords: (none) => FOR_ERRATA9

Comment 5 katnatek 2026-01-23 18:37:17 CET
(In reply to Lewis Smith from comment #4)
> I will do the M9 ERRATA.

The original bug is already in the erratas
Comment 6 Lewis Smith 2026-01-27 21:22:54 CET
I think it is fair to close this as a duplicate of 32687.
Yes, it is indeed mentioned in ERRATA 9.

*** This bug has been marked as a duplicate of bug 32687 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE
Keywords: FOR_ERRATA9 => IN_ERRATA9


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