ClearFoundation Tracker - ClearOS
View Issue Details
0021081ClearOSapp-base - Base Systempublic2018-08-14 11:292018-08-23 10:25
user2 
user2 
normaltweakhave not tried
closedfixed 
 
7.5.0 Updates7.5.0 Updates 
0021081: Add option to use yum instead of wc-yum
The "wc-yum" utility is used to provide progress data in JSON format - handy for presenting this information to web-based widgets. However, it does not behave exactly the same as "yum". In particular, trying to install an already existing package returns success in yum:

# yum install glibc
Package glibc-2.17-222.el7.x86_64 already installed and latest version
Nothing to do
# echo $?
0

But returns an error in wc-yum:

# wc-yum -i glibc
... "Error, no packages selected for install."}
# echo $?
255

This is a "Good Thing" in most use cases, but it can pollute the system log with unwanted backtraces for unattended upgrades e.g. see 0021021

Provide an option to use "yum" instead of "wc-yum" when installing packages.





No tags attached.
related to 0021121closed user2 Add option to use yum instead of wc-yum 
Issue History
2018-08-14 11:29user2New Issue
2018-08-14 12:09user2Statusnew => resolved
2018-08-14 12:09user2Fixed in Version => 7.5.0 Updates
2018-08-14 12:09user2Resolutionopen => fixed
2018-08-14 12:09user2Assigned To => user2
2018-08-14 12:44user2Issue cloned: 0021121
2018-08-14 12:44user2Relationship addedrelated to 0021121
2018-08-23 10:25user2Statusresolved => closed

There are no notes attached to this issue.