How to filter out warning messages from yum?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












I have installed via yum some packages as follows:



$ yum install ambari-agent


During installation there are a lot of warnings (see below). Is it possible to block these warnings but see only the errors if one occurs?



Expected output should be an ordinary yum installation but without warning.



Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ambari-agent.x86_64 0:2.5.0.3-7 will be updated
---> Package ambari-agent.x86_64 0:2.6.1.0-143 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
ambari-agent x86_64 2.6.1.0-143 ambari-2.6.1.0 90 M

Transaction Summary
================================================================================
Upgrade 1 Package

Total download size: 90 M
Downloading packages:
No Presto metadata available for ambari-2.6.1.0
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : ambari-agent-2.6.1.0-143.x86_64 1/2
Upgrading configs in /etc/ambari-agent/conf/ambari-agent.ini
Values will be updated from /etc/ambari-agent/conf/ambari-agent.ini.old except the following list: [('heartbeat', 'dirs'), ('heartbeat', 'state_interval')], ['stack', 'puppet', 'command', 'python']
Cleanup : ambari-agent-2.5.0.3-7.x86_64 2/2
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.5/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.2/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files/view/smartsense-ambari-view-1.4.0.2.5.0.3-7.jar: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/configuration: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/quicklinks: remove failed: No such file or directory






share|improve this question






















  • Then the package should be fixed.
    – Ignacio Vazquez-Abrams
    Feb 26 at 19:26










  • we install formal packages from hortonworks , we not manage this at all
    – yael
    Feb 26 at 19:26










  • So then tell them to fix their package.
    – Ignacio Vazquez-Abrams
    Feb 26 at 19:27










  • com-on Be serious ... for now this is the fact , so what we can do regarding that ?
    – yael
    Feb 26 at 19:28










  • Have you tried changing the --debuglevel and/or --errorlevel options? See man yum
    – cherdt
    Feb 26 at 22:21














up vote
0
down vote

favorite
1












I have installed via yum some packages as follows:



$ yum install ambari-agent


During installation there are a lot of warnings (see below). Is it possible to block these warnings but see only the errors if one occurs?



Expected output should be an ordinary yum installation but without warning.



Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ambari-agent.x86_64 0:2.5.0.3-7 will be updated
---> Package ambari-agent.x86_64 0:2.6.1.0-143 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
ambari-agent x86_64 2.6.1.0-143 ambari-2.6.1.0 90 M

Transaction Summary
================================================================================
Upgrade 1 Package

Total download size: 90 M
Downloading packages:
No Presto metadata available for ambari-2.6.1.0
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : ambari-agent-2.6.1.0-143.x86_64 1/2
Upgrading configs in /etc/ambari-agent/conf/ambari-agent.ini
Values will be updated from /etc/ambari-agent/conf/ambari-agent.ini.old except the following list: [('heartbeat', 'dirs'), ('heartbeat', 'state_interval')], ['stack', 'puppet', 'command', 'python']
Cleanup : ambari-agent-2.5.0.3-7.x86_64 2/2
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.5/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.2/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files/view/smartsense-ambari-view-1.4.0.2.5.0.3-7.jar: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/configuration: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/quicklinks: remove failed: No such file or directory






share|improve this question






















  • Then the package should be fixed.
    – Ignacio Vazquez-Abrams
    Feb 26 at 19:26










  • we install formal packages from hortonworks , we not manage this at all
    – yael
    Feb 26 at 19:26










  • So then tell them to fix their package.
    – Ignacio Vazquez-Abrams
    Feb 26 at 19:27










  • com-on Be serious ... for now this is the fact , so what we can do regarding that ?
    – yael
    Feb 26 at 19:28










  • Have you tried changing the --debuglevel and/or --errorlevel options? See man yum
    – cherdt
    Feb 26 at 22:21












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I have installed via yum some packages as follows:



$ yum install ambari-agent


During installation there are a lot of warnings (see below). Is it possible to block these warnings but see only the errors if one occurs?



Expected output should be an ordinary yum installation but without warning.



Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ambari-agent.x86_64 0:2.5.0.3-7 will be updated
---> Package ambari-agent.x86_64 0:2.6.1.0-143 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
ambari-agent x86_64 2.6.1.0-143 ambari-2.6.1.0 90 M

Transaction Summary
================================================================================
Upgrade 1 Package

Total download size: 90 M
Downloading packages:
No Presto metadata available for ambari-2.6.1.0
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : ambari-agent-2.6.1.0-143.x86_64 1/2
Upgrading configs in /etc/ambari-agent/conf/ambari-agent.ini
Values will be updated from /etc/ambari-agent/conf/ambari-agent.ini.old except the following list: [('heartbeat', 'dirs'), ('heartbeat', 'state_interval')], ['stack', 'puppet', 'command', 'python']
Cleanup : ambari-agent-2.5.0.3-7.x86_64 2/2
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.5/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.2/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files/view/smartsense-ambari-view-1.4.0.2.5.0.3-7.jar: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/configuration: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/quicklinks: remove failed: No such file or directory






share|improve this question














I have installed via yum some packages as follows:



$ yum install ambari-agent


During installation there are a lot of warnings (see below). Is it possible to block these warnings but see only the errors if one occurs?



Expected output should be an ordinary yum installation but without warning.



Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ambari-agent.x86_64 0:2.5.0.3-7 will be updated
---> Package ambari-agent.x86_64 0:2.6.1.0-143 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
ambari-agent x86_64 2.6.1.0-143 ambari-2.6.1.0 90 M

Transaction Summary
================================================================================
Upgrade 1 Package

Total download size: 90 M
Downloading packages:
No Presto metadata available for ambari-2.6.1.0
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : ambari-agent-2.6.1.0-143.x86_64 1/2
Upgrading configs in /etc/ambari-agent/conf/ambari-agent.ini
Values will be updated from /etc/ambari-agent/conf/ambari-agent.ini.old except the following list: [('heartbeat', 'dirs'), ('heartbeat', 'state_interval')], ['stack', 'puppet', 'command', 'python']
Cleanup : ambari-agent-2.5.0.3-7.x86_64 2/2
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.5/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.2/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files/view/smartsense-ambari-view-1.4.0.2.5.0.3-7.jar: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/configuration/oozie-site.xml: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/FALCON/configuration: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/quicklinks/quicklinks.json: remove failed: No such file or directory
warning: file /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/quicklinks: remove failed: No such file or directory








share|improve this question













share|improve this question




share|improve this question








edited Feb 26 at 21:59









aliceinpalth

760116




760116










asked Feb 26 at 19:20









yael

1,9551145




1,9551145











  • Then the package should be fixed.
    – Ignacio Vazquez-Abrams
    Feb 26 at 19:26










  • we install formal packages from hortonworks , we not manage this at all
    – yael
    Feb 26 at 19:26










  • So then tell them to fix their package.
    – Ignacio Vazquez-Abrams
    Feb 26 at 19:27










  • com-on Be serious ... for now this is the fact , so what we can do regarding that ?
    – yael
    Feb 26 at 19:28










  • Have you tried changing the --debuglevel and/or --errorlevel options? See man yum
    – cherdt
    Feb 26 at 22:21
















  • Then the package should be fixed.
    – Ignacio Vazquez-Abrams
    Feb 26 at 19:26










  • we install formal packages from hortonworks , we not manage this at all
    – yael
    Feb 26 at 19:26










  • So then tell them to fix their package.
    – Ignacio Vazquez-Abrams
    Feb 26 at 19:27










  • com-on Be serious ... for now this is the fact , so what we can do regarding that ?
    – yael
    Feb 26 at 19:28










  • Have you tried changing the --debuglevel and/or --errorlevel options? See man yum
    – cherdt
    Feb 26 at 22:21















Then the package should be fixed.
– Ignacio Vazquez-Abrams
Feb 26 at 19:26




Then the package should be fixed.
– Ignacio Vazquez-Abrams
Feb 26 at 19:26












we install formal packages from hortonworks , we not manage this at all
– yael
Feb 26 at 19:26




we install formal packages from hortonworks , we not manage this at all
– yael
Feb 26 at 19:26












So then tell them to fix their package.
– Ignacio Vazquez-Abrams
Feb 26 at 19:27




So then tell them to fix their package.
– Ignacio Vazquez-Abrams
Feb 26 at 19:27












com-on Be serious ... for now this is the fact , so what we can do regarding that ?
– yael
Feb 26 at 19:28




com-on Be serious ... for now this is the fact , so what we can do regarding that ?
– yael
Feb 26 at 19:28












Have you tried changing the --debuglevel and/or --errorlevel options? See man yum
– cherdt
Feb 26 at 22:21




Have you tried changing the --debuglevel and/or --errorlevel options? See man yum
– cherdt
Feb 26 at 22:21















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426777%2fhow-to-filter-out-warning-messages-from-yum%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426777%2fhow-to-filter-out-warning-messages-from-yum%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?