Strange output of yum history info X

JD jd1008 at gmail.com
Thu Jul 3 03:51:30 UTC 2014


On Wed, Jul 2, 2014 at 9:38 PM, 王超 <comphuse7 at gmail.com> wrote:

​​
> ​On Thu, Jul 3, 2014 at 11:09 AM, JD <jd1008 at gmail.com> wrote:
>
>> On Wed, Jul 2, 2014 at 8:54 PM, 王超 <comphuse7 at gmail.com> wrote:
>>
>>> Hi everyone,
>>>
>>> After installing Fedora 20, I switched to tty2 and did a yum update
>>> there. The charging splash screen took over the screen at some point and I
>>> cannot switch to any other tty. So I waited until I believe the
>>> transcaction is done and did a forced shutdown.
>>>
>>> I rebooted and everything seems fine except that the  output of yum
>>> history info X (X is the update transcaction) is a bit strange:
>>>
>>> ......
>>> Scriptlet output:
>>> 1 warning: /etc/cups/cups-browsed.conf created as
>>> /etc/cups/cups-browsed.conf.rpmnew
>>> 2
>>> 3 1k
>>> 4 2k
>>> 5 3k
>>> 6 4k
>>> 7 5k
>>> 8 6k
>>> ......
>>>  93 91k
>>> 94 92k
>>> 95 93k
>>> 96 94k
>>> 97 95k
>>> 98 96k
>>> history info
>>>
>>> What does that "1k 2k ... 96k" part mean? Do I need to fix something?
>>>
>>> Regards,
>>> Wang Chao
>>>>>>
>>
>> ​Well, if you could have observed the progress of yum update while
>> it was taking place, you would have seen the yum uses the
>> cursor package to display the progress of the download of a particular
>> component of the update.
>> Yum is usually downloading 4 components (packages) at a time, and
>> shows the progress in amount of bytes (or K bytes or M bytes) transferred
>> once every second or so.
>> So, in the output, you are seeing that progress of a package, which is
>> yum history displays as the number of the package in the download
>> sequence,
>> followed by how many bytes were transferred.
>> ​For example packages 93 to 98 were being downloaded simultaneously
>> (separate threads???) and the progress of the TOTAL transfer for these
>> packages gets displayed in the form you see.
>>
>> Hope this helps!
>>
>>
> ​​Actually, I unplugged the ethernet when yum started to rebuild delta. I
> don't think it could be the downloading progress since the first warning
> message shows that the update/installation had already begun.
>
> Regards,
> Wang Chao
>
>
You stated you looked at the output of yum history.
Yum history shows the download progress. That is
what you are seeing.

Why don;t wait a week or 3 before you run yum update.
When you do run update, you will see many packages that
need updates.
Do that in a gnome-terminal. You do not have to go to the
console tty's.

You will see the download progress as I described it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20140702/908662f0/attachment.html>


More information about the users mailing list