RPMTransaction instance has no attribute '_ts_time'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear yum list,

We have a problem.We have a several number of home made rpms. However
we sometimes get the error "RPMTransaction instance has no attribute
'_ts_time'". I have thought it was about yum-tsflags package. However
even it is installed we get the error.

Do you have any remarks?




# rpm -qa |grep yum
yum-fastestmirror-1.1.16-13.el5.centos
yum-3.2.8-9.el5.centos.1
yum-tsflags-1.1.16-13.el5.centos
yum-downloadonly-1.1.16-13.el5.centos
yum-utils-1.1.10-9.el5.centos
yum-metadata-parser-1.1.2-2.el5
yum-updatesd-0.9-2.el5



# yum update lrms-* labris-web-* sun-glass* cas-war*
Loading "downloadonly" plugin
Loading "tsflags" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Excluding Packages from CentOS-5 - Base
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package lrms-reportviewer.i386 0:2.6.1-lbr.9 set to be updated
---> Package lrms-web.noarch 0:1.3-18 set to be updated
---> Package cas-war.noarch 0:3.3-9 set to be updated
---> Package sun-glassfish.i386 0:3.1-22.lbr set to be updated
---> Package labris-web-start.noarch 0:1.0-7 set to be updated
---> Package labris-web.i386 0:1.0.1-lbr5.11 set to be updated
---> Package labris-web-mrtg.i386 0:1.0.0-5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 cas-war                 noarch     3.3-9            labris-extras     8.6 M
 labris-web              i386       1.0.1-lbr5.11    labris            155 k
 labris-web-mrtg         i386       1.0.0-5          labris-extras     5.8 k
 labris-web-start        noarch     1.0-7            labris            3.5 M
 lrms-reportviewer       i386       2.6.1-lbr.9      labris             50 M
 lrms-web                noarch     1.3-18           labris             15 M
 sun-glassfish           i386       3.1-22.lbr       labris-extras      49 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       7 Package(s)
Remove       0 Package(s)

Total download size: 126 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): labris-web-mrtg-1. 100% |=========================| 5.8 kB    00:00
(2/7): labris-web-1.0.1-l 100% |=========================| 155 kB    00:05
(3/7): labris-web-start-1 100% |=========================| 3.5 MB    00:27
(4/7): sun-glassfish-3.1- 100% |=========================|  49 MB    05:58
(5/7): cas-war-3.3-9.noar 100% |=========================| 8.6 MB    00:33
(6/7): lrms-web-1.3-18.no 100% |=========================|  15 MB    00:44
(7/7): lrms-reportviewer- 100% |=========================|  50 MB    01:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

Command undeploy executed successfully.
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]

Command undeploy executed successfully.
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]

Command undeploy executed successfully.
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]
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 183, in main
    base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 408, in doTransaction
    self.runTransaction(cb=cb)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 599,
in runTransaction
    errors = self.ts.run(cb.callback, '')
  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 315, in callback
    self._instCloseFile(  bytes, total, h )
  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 378,
in _instCloseFile
    self.ts_done(txmbr.po, txmbr.output_state)
  File "/usr/lib/python2.4/site-packages/yum/rpmtrans.py", line 211, in ts_done
    te_fn = '%s/transaction-done.%s' % (self.base.conf.persistdir,
self._ts_time)
AttributeError: RPMTransaction instance has no attribute '_ts_time'
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux