RE: rpm syntax in %post section of RH8

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

 



The %post -nochroot is not running the rpm command.

I'm mounting a directory from the server and copying a few files. That
is working fine. The same directory has the rpm package I want to
install.

Example:
mount server1:/usr/src/postinstall /mnt/tmp
rpm -U /mnt/tmp/jdk-1.3.1_06.i586.rpm
umount /mnt/tmp

What is wrong?


-----Original Message-----
From:	Philip Rowlands
Sent:	Mon 1/20/2003 10:46 AM
To:	kickstart-list@xxxxxxxxxx
Cc:	
Subject:	RE: rpm syntax in %post section of RH8
On Mon, 20 Jan 2003, Martin Canovas wrote:

>This package needs to be on the server or client side?

Either.

> In what directory?

Any.

For example, you could put it in /export/rpms on the server, and NFS
export that directory. Then mount that as /mnt/ks-rpms on the client,
and do the install.

rpm -U /mnt/ks-rpms/jdk-1.3.1_06.i586.rpm


Cheers,

Phil



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list


<<winmail.dat>>


[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