Ask Your Question

Package Install Progress

asked 2013-01-22 05:26:32 -0600

mrpmr gravatar image

updated 2013-02-10 17:56:42 -0600

Stefan gravatar image


I'm installing a large rpm using Puppet. Using puppet agent --test with --verbose --debug enabled I'm able to see the rpm its currently installing and the underlying yum command it's running.

Is there also a way to get the percentage completion of the install that running it through yum would show. Trying to figure out if the package is still installing or if it's just stuck!



edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-02-12 09:05:31 -0600

llowder gravatar image

Given Stefan's answer, if you need that output your best option may be to either extend the existing yum provider to take a switch that would enable verbose output (and perhaps a more easily determined file name for it) or create a new provider that has the additional features.

I'd also recommend that you file a redmine ticket with a feature request (and if you do your own, attach a pull request).

edit flag offensive delete link more

answered 2013-01-23 12:23:05 -0600

Stefan gravatar image

Puppet does not offer a way to get any live output. Puppet will however redirect the output of yum to a temporary file (with a random name and most likely inside /tmp) that will automatically be removed after the yum process terminates.

If you can locate that file you may be able to see the progress, but since the yum provider installs a package with yum -d 0 -e 0 -y <packagename> I bet you will just see an empty file.

So if yum itself does not create a logfile where you can monitor the installation progress I'm afraid ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-01-22 05:26:32 -0600

Seen: 1,640 times

Last updated: Feb 12 '13