Bug 27107 - install errors caused by packages still calling info-install in %post
Summary: install errors caused by packages still calling info-install in %post
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-14 05:42 CEST by Bit Twister
Modified: 2020-08-21 10:33 CEST (History)
2 users (show)

See Also:
Source RPM: source-highlight-3.1.9-4.mga8.x86_64
CVE:
Status comment:


Attachments

Description Bit Twister 2020-08-14 05:42:50 CEST
Description of problem: mga7 dev0

 p11-kit not installed, %post(source-highlight-3.1.9-4.mga8.x86_64) scriptlet failed, exit status 127




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. clean Mageia-Cauldron-netinstall-nonfree-x86_64.iso install
 64 bit only tainted and non-free media enabled.

all package groups installed, xfce DE only.
Disabled postgres db, samba packages.
Comment 1 Olav Vitters 2020-08-14 10:42:19 CEST
Source-highlight %post relies on install-info, without actually having a dependency on install-info. It isn't the only package, from my checkout there are loads of packages without that dependency. Something must've changed.

CC: (none) => olav

Comment 2 Jani Välimaa 2020-08-15 20:04:34 CEST
Info installs are handled by filetriggers nowadays. I removed post/postun as unneeded.

CC: (none) => jani.valimaa

Comment 3 Jani Välimaa 2020-08-15 20:18:43 CEST
(In reply to Olav Vitters from comment #1)
> Source-highlight %post relies on install-info, without actually having a
> dependency on install-info. It isn't the only package, from my checkout
> there are loads of packages without that dependency. Something must've
> changed.

We had a patch in rpm to generate info-install requires for pkgs having info files, but it was removed a while ago.
Comment 4 Lewis Smith 2020-08-17 20:58:30 CEST
Thank you BitTwister for the report; and Olav & Jani for the comments. These seem to beg the question what to do about it, so in the absence of a particular maintainer for the package, assigning to all packagers knowing that you two are already CC'd and involved.

Assignee: bugsquad => pkg-bugs

Comment 5 Olav Vitters 2020-08-19 16:26:49 CEST
With the file-trigger in place there's no need for scripltets (%post, etc) to refer to these. So basically it's a matter of removing this from every package.

I'm adjusting the summary to be a bit better. Difficult to summarize the problem without using too many words though.

Summary: source-highlight failed install => install errors caused by packages still calling info-install in %post

Comment 6 Olav Vitters 2020-08-19 16:56:15 CEST
I've cleaned about 25 packages. There's still something like 25 to go.
Comment 7 Olav Vitters 2020-08-20 20:43:39 CEST
I think I got all others. I'll grep again tomorrow.
Comment 8 Olav Vitters 2020-08-21 10:33:09 CEST
I overlooked one package, fixed that one as well. Not everything built, I'm going to ignore that.
Comment 9 Olav Vitters 2020-08-21 10:33:53 CEST
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

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


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