<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: where to check yum installed logs and complete status in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161511#M53484</link>
    <description>&lt;P&gt;I tried to tail the log but it was not updating. &lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2017 02:01:12 GMT</pubDate>
    <dc:creator>SK1</dc:creator>
    <dc:date>2017-02-07T02:01:12Z</dc:date>
    <item>
      <title>where to check yum installed logs and complete status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161509#M53482</link>
      <description>&lt;P&gt;When we installed any components vi amabri then it run yum install command in the background and if components is big in size then it takes time. &lt;/P&gt;&lt;PRE&gt;2017-02-06 05:23:04,413 - Installing package ambari-metrics-hadoop-sink ('/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-hadoop-sink')&lt;/PRE&gt;&lt;P&gt;So i want to know that is there any way where we can check how much % it is completed and how much is remaining like we get this status in command line tool. &lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo}&lt;/P&gt;&lt;P&gt;[root@w1 ~]# yum install ambari-metrics-monitor&lt;/P&gt;&lt;P&gt;Loaded plugins: fastestmirror&lt;/P&gt;&lt;P&gt;Setting up Install Process&lt;/P&gt;&lt;P&gt;Loading mirror speeds from cached hostfile&lt;/P&gt;&lt;P&gt; * base: bay.uchicago.edu&lt;/P&gt;&lt;P&gt; * extras: mirrors.cmich.edu&lt;/P&gt;&lt;P&gt; * updates: mirrors.cmich.edu&lt;/P&gt;&lt;P&gt;Resolving Dependencies&lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; min-height: 15.0px}&lt;/P&gt;&lt;P&gt;Dependencies Resolved&lt;/P&gt;&lt;P&gt;================================================================================================================================================================================&lt;/P&gt;&lt;P&gt; Package                                         Arch                            Version                                  Repository                                       Size&lt;/P&gt;&lt;P&gt;================================================================================================================================================================================&lt;/P&gt;&lt;P&gt;Installing:&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;ambari-metrics-monitor                         &lt;/STRONG&gt; x86_64                          2.4.1.0-22                               Updates-ambari-2.4.1.0                          176 k&lt;/P&gt;&lt;P&gt;Installing for dependencies:&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;cloog-ppl                                      &lt;/STRONG&gt; x86_64                          0.15.7-1.2.el6                           base                                             93 k&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;cpp                                            &lt;/STRONG&gt; x86_64                          4.4.7-17.el6                             base                                            3.7 M&lt;/P&gt;&lt;P&gt; gcc                                             x86_64                          4.4.7-17.el6                             base                                             10 M&lt;/P&gt;&lt;P&gt; mpfr                                            x86_64                          2.4.1-6.el6                              base                                            157 k&lt;/P&gt;&lt;P&gt; ppl                                             x86_64                          0.10.2-11.el6                            base                                            1.3 M&lt;/P&gt;&lt;P&gt; python-devel                                    x86_64                          2.6.6-66.el6_8                           updates                                         173 k&lt;/P&gt;&lt;P&gt;Updating for dependencies:&lt;/P&gt;&lt;P&gt; libgcc                                          x86_64                          4.4.7-17.el6                             base                                            103 k&lt;/P&gt;&lt;P&gt; libgomp                                         x86_64                          4.4.7-17.el6                             base                                            134 k&lt;/P&gt;&lt;P&gt; python                                          x86_64                          2.6.6-66.el6_8                           updates                                          76 k&lt;/P&gt;&lt;P&gt; python-libs                                     x86_64                          2.6.6-66.el6_8                           updates                                         5.3 M&lt;/P&gt;&lt;P&gt;Transaction Summary&lt;/P&gt;&lt;P&gt;================================================================================================================================================================================&lt;/P&gt;&lt;P&gt;Install       7 Package(s)&lt;/P&gt;&lt;P&gt;Upgrade       4 Package(s)&lt;/P&gt;&lt;P&gt;Total size: 21 M&lt;/P&gt;&lt;P&gt;Total download size: 17 M&lt;/P&gt;&lt;P&gt;Is this ok [y/N]: y&lt;/P&gt;&lt;P&gt;Downloading Packages:&lt;/P&gt;&lt;P&gt;(1/8): gcc-4.4.7-17.el6.x86_64.rpm                                                                                                                       |  10 MB     00:05     &lt;/P&gt;&lt;P&gt;(2/8): libgcc-4.4.7-17.el6.x86_64.rpm                                                                                                                    | 103 kB     00:02     &lt;/P&gt;&lt;P&gt;(3/8): libgomp-4.4.7-17.el6.x86_64.rpm                                                                                                                   | 134 kB     00:03     &lt;/P&gt;&lt;P&gt;(4/8): mpfr-2.4.1-6.el6.x86_64.rpm                                                                                                                       | 157 kB     00:04     &lt;/P&gt;&lt;P&gt;&lt;A href="http://bay.uchicago.edu/centos/6.8/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm:" target="_blank"&gt;http://bay.uchicago.edu/centos/6.8/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm:&lt;/A&gt; [Errno 12] Timeout on &lt;A href="http://bay.uchicago.edu/centos/6.8/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm:" target="_blank"&gt;http://bay.uchicago.edu/centos/6.8/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm:&lt;/A&gt; (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')&lt;/P&gt;&lt;P&gt;Trying other mirror.&lt;/P&gt;&lt;P&gt;(5/8): ppl-0.10.2-11.el6.x86_64.rpm                                                                                                                      | 1.3 MB     00:02     &lt;/P&gt;&lt;P&gt;(6/8): python-2.6.6-66.el6_8.x86_64.rpm                                                                                                                  |  76 kB     00:03     &lt;/P&gt;&lt;P&gt;(7/8): python-devel-2.6.6-66.el6_8.x86_64.rpm                                                                                                            | 173 kB     00:02     &lt;/P&gt;&lt;P&gt;(8/8): python-libs-2.6.6-66.el6_8.x86_64.rpm                                                                                                             | 5.3 MB     00:36     &lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Total                                   &lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:01:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161509#M53482</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2022-09-16T11:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: where to check yum installed logs and complete status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161510#M53483</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"/var/log/yum.log"  file can be checked to know if a package is installed properly or not.  Although it won't show the percentage.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# cat /var/log/yum.log | grep ambari-metrics-monitor
Feb 06 10:38:35 Erased: ambari-metrics-monitor
Feb 06 10:39:36 Installed: ambari-metrics-monitor-2.4.2.0-136.x86_64

&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For little more DEBUG informations you might want to increase the "debuglevel" in the file "/etc/yum.conf".&lt;/P&gt;&lt;PRE&gt;debuglevel=value

Where value is an integer between 1 and 10. Setting a higher debuglevel value causes yum to display more detailed debugging output. debuglevel=0 disables debugging output, while debuglevel=2 is the default.&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://linux.die.net/man/5/yum.conf" target="_blank"&gt;https://linux.die.net/man/5/yum.conf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 18:34:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161510#M53483</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-02-06T18:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: where to check yum installed logs and complete status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161511#M53484</link>
      <description>&lt;P&gt;I tried to tail the log but it was not updating. &lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 02:01:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161511#M53484</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2017-02-07T02:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: where to check yum installed logs and complete status</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161512#M53485</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can check /var/log/messages to see if installation has started.&lt;/P&gt;&lt;P&gt;Also if you want to check how much data has been downloaded, yum keeps package in yum cache while downloading, you can run 'du -sh' in watch command to check the status.&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before downloading package&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[root@prodnode1 ~]# ls -lrt /var/cache/yum//x86_64/6/Updates-ambari-2.4.0.1/packages/
total 0&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Download started&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[root@prodnode1 ~]# /usr/bin/yum -d 0 -e 0 -y install ambari-metrics-hadoop-sink&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Status of cache directory&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[root@prodnode1 ~]# ls -lrt /var/cache/yum//x86_64/6/Updates-ambari-2.4.0.1/packages/
total 4552
-rw-r--r--. 1 root root 4660232 Aug 30 20:49 ambari-metrics-hadoop-sink-2.4.0.1-1.x86_64.rpm&lt;/PRE&gt;&lt;P&gt;After installation is complete, package gets removed from cached location. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You can run something like below to keep watch over download&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[root@prodnode1 ~]# watch du -sh /var/cache/yum//x86_64/6/Updates-ambari-2.4.0.1/packages/ambari-metrics-hadoop-sink-2.4.0.1-1.x86_64.rpm&lt;/PRE&gt;&lt;P&gt;Hope this what you were looking for. Please do let us know if you have any further questions! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 14:42:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-check-yum-installed-logs-and-complete-status/m-p/161512#M53485</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2017-02-07T14:42:09Z</dc:date>
    </item>
  </channel>
</rss>

