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

RE: [cobalt-developers] pkg install in shell



> > -----Original Message-----
> > From: @lfa [mailto:lynet@xxxxxx]
> > Sent: Tuesday, February 06, 2001 15:59
> > I would like to do the installation of Cobalts upgrade pkg's in shell
> > is there a way of doing this on a RaQ3
> 
> Well a pkg is a .tar.gz just renamed
> So at very least, you could just "tar -zxf <package>" in a directory
> Then install all the RPMs and run all the pre/post install scripts.  But
> you'd kill your uninstall capabilities.

run this, as root

/usr/local/sbin/cobalt_upgrade PKG_NAME

i.e.

/usr/local/sbin/cobalt_upgrade RaQ3-All-Security-4.0.1-9353.pkg

and then run:

/usr/admserv/cgi-bin/.cobalt/install/install.cgi < /dev/null > /dev/null

to refresh the GUI software list.


alex