Bug 215502 - yum-changelog: timestamp out of range for platform time_t
Summary: yum-changelog: timestamp out of range for platform time_t
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 6
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-14 13:09 UTC by Miroslav Suchý
Modified: 2008-01-08 14:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-08 14:34:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miroslav Suchý 2006-11-14 13:09:30 UTC
Description of problem:
I installed yum-changelog on RHEL5Beta. Whent I try it I'll get:
# yum --changelog install irqbalance
Loading "installonlyn" plugin
Loading "changelog" plugin
Loading "rhnplugin" plugin
Setting up Install Process
Setting up repositories
rhel-i386-server-5-beta   100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package irqbalance.i386 1:1.13-6.el5 set to be updated
--> Running transaction check

Changes in packages about to be updated:

irqbalance - 1:1.13-6.el5.i386
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 143, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 442, in
buildTransaction
    self.plugins.run('postresolve', rescode=rescode, restring=restring)
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/changelog.py", line 99, in postresolve_hook
    show_changes(conduit, 'Changes in packages about to be updated:')
  File "/usr/lib/yum-plugins/changelog.py", line 61, in show_changes
    for line in changelog_delta(srpms[name][0], origpkgs[name]):
  File "/usr/lib/yum-plugins/changelog.py", line 35, in changelog_delta
    out.append("* %s %s\n%s\n" % (time.ctime(int(date)), author, message))
ValueError: timestamp out of range for platform time_t


Version-Release number of selected component (if applicable):
# rpm -q yum-changelog
yum-changelog-1.0-2.fc6
# rpm -q yum
yum-3.0-5.3


Additional info:
Variable time in /usr/lib/yum-plugins/changelog.py on line 35 has value: 11054988000

Comment 1 Panu Matilainen 2007-02-15 09:32:41 UTC
> Variable time in /usr/lib/yum-plugins/changelog.py on line 35 has value:
> 11054988000

You mean variable "date", right? In that case it would seem that RHN server is
giving out invalid dates. Not that I'm intimately aware how the RHN-yum marriage
is done.

Comment 2 Seth Vidal 2007-12-07 04:28:44 UTC
hey rhn guys? What's the word on this? Asking jbowes b/c he's the closest thing
I know of to an rhn-guy.

Comment 3 Miroslav Suchý 2008-01-08 14:34:48 UTC
Year passed so I retested this and it now work. Although another bug appear (see
BZ 427987).


Note You need to log in before you can comment on or make changes to this bug.