Bug 22154 - update-alternatives needs verbose invalid message
Summary: update-alternatives needs verbose invalid message
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL: https://github.com/fedora-sysv/chkcon...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-09 03:01 CET by Bit Twister
Modified: 2017-12-18 16:18 CET (History)
2 users (show)

See Also:
Source RPM: chkconfig-1.10-1.mga7.src.rpm
CVE:
Status comment:


Attachments

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


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