How to filter out warning messages from yum?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
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
rhel yum error-handling
 |Â
show 2 more comments
up vote
0
down vote
favorite
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
rhel yum error-handling
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? Seeman yum
â cherdt
Feb 26 at 22:21
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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
rhel yum error-handling
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
rhel yum error-handling
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? Seeman yum
â cherdt
Feb 26 at 22:21
 |Â
show 2 more comments
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? Seeman 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
 |Â
show 2 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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? Seeman yum
â cherdt
Feb 26 at 22:21