Bug 22154

Summary: update-alternatives needs verbose invalid message
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Shlomi Fish <shlomif>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: basesystem, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/fedora-sysv/chkconfig/issues/8
Whiteboard:
Source RPM: chkconfig-1.10-1.mga7.src.rpm CVE:
Status comment:

Description Bit Twister 2017-12-09 03:01:01 CET
Description of problem: mga7 d0

update-alternatives invalid message needs to provide command line arguments.
Currently message is
     7/13: gcc                   ##################################################################
admindir /var/lib/alternatives invalid
admindir /var/lib/alternatives invalid
admindir /var/lib/alternatives invalid
admindir /var/lib/alternatives invalid

when doing
/usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7.2.2 300700
/usr/sbin/update-alternatives --install /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-7.2.2 300700
/usr/sbin/update-alternatives --install /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-7.2.2 300700
/usr/sbin/update-alternatives --install /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-7.2.2 300700


Suggest adding :  command line arguments here. Example:
admindir /var/lib/alternatives invalid: --install /usr/bin/gcc gcc /usr/bin/gcc-7.2.2 300700



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


How reproducible: always


Steps to Reproduce:
1. run an update for gcc-cpp-7.2.2-20171130.1.mga7.x86_64.rpm
Comment 1 Marja Van Waes 2017-12-10 12:35:59 CET
Assigning to the registered chkconfig maintainer, CC'ing the base system maintainers, because I assume chkconfig counts as a base system package.

It would really be nice if all packages that belong to package groups for which maintainer groups have been created, would now have that maintainer group as registered maintainer.

It is often hard for me to know whether to assign to an individual packager or to a maintainer group

CC: (none) => basesystem, marja11
Assignee: bugsquad => shlomif

Comment 2 David Walser 2017-12-16 21:22:04 CET
You'll need to report this upstream if you want it to actually be fixed:
https://github.com/fedora-sysv/chkconfig
Comment 3 Bit Twister 2017-12-18 16:18:40 CET
(In reply to David Walser from comment #2)
> You'll need to report this upstream if you want it to actually be fixed:

Done:     https://github.com/fedora-sysv/chkconfig/issues/8

URL: (none) => https://github.com/fedora-sysv/chkconfig/issues/8