Re: yum -y update at %postinstall

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

 



In preparation for trying to do this as part of a postinstall, I manually
ran this command:

	yum -y install `cat file_full_of_package_names`

After installing a number of packages, it aborted with 

rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbenv->close: DB_RUNRECOVERY: Fatal
error, run database recovery

and it refused to install any more packages.  I had to run "rpm --rebuilddb"
to recover.  Perhaps something similar is happening in your case.

-- 
Peter Fales			  Lucent Technologies, Room 1C-436
N9IYJ            		  2000 N Naperville Rd PO Box 3033
internet: psfales@xxxxxxxxxx	  Naperville, IL 60566-7033
			 	  work:	(630) 979-8031

On Fri, Aug 20, 2004 at 09:39:55AM +0200, Luis Miguel Cruz wrote:
> Hi all,
> 
> I am trying to run 'yum -y update' at %postinstall section.
> At first it seems to runs correctly, downloading the headers. But, 
> suddenly it reboots, like the end of the installation.
> 
> Could be a timeout agaisnt the yum file server the reason for that reboot?
> 
> I know that yum -y update didn´t finish to upgrade the box because at 
> the first boot after the installation I execute 'yum -y update' again 
> and it stills downloading headers.
> 
> Thanks.
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux