[Spacewalk-list] errors when deleting some packages

Sean Allin allins at spawar.navy.mil
Thu Jun 11 15:52:43 UTC 2009


Getting the following error for some packages when trying to delete them from the orphaned packages list. It's not all 
packages, but an affected package will consistently error out and prevent mass deletions until identified.

.
.
Caused by: com.redhat.rhn.common.hibernate.HibernateRuntimeException: HibernateException executing CachedStatement
	at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:463)
	at com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:425)
	at com.redhat.rhn.common.db.datasource.CachedStatement.executeUpdate(CachedStatement.java:269)
	at com.redhat.rhn.common.db.datasource.WriteMode.executeUpdate(WriteMode.java:32)
	at com.redhat.rhn.manager.rhnpackage.PackageManager.clearNeededPackageCache(PackageManager.java:1004)
	at com.redhat.rhn.manager.rhnpackage.PackageManager.deletePackages(PackageManager.java:1020)
	at 
com.redhat.rhn.frontend.action.rhnpackage.CustomPackagesDeleteConfirmAction.deletePackages(CustomPackagesDeleteConfirmAction.java:103)
	at 
com.redhat.rhn.frontend.action.rhnpackage.CustomPackagesDeleteConfirmAction.execute(CustomPackagesDeleteConfirmAction.java:80)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	... 40 more
Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row 
count: 0; expected: 1
.
.



Any suggestions?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4322 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090611/9c26e61d/attachment.bin>


More information about the Spacewalk-list mailing list